mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[11170] Add dummy effect of spell 66390
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
a6584c4401
commit
2ba3fe7114
2 changed files with 21 additions and 1 deletions
|
|
@ -2048,6 +2048,26 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
|
|||
m_caster->SetFacingTo(frand(0, M_PI_F*2), true);
|
||||
return;
|
||||
}
|
||||
case 66390: // Read Last Rites
|
||||
{
|
||||
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT || m_caster->GetTypeId() != TYPEID_PLAYER)
|
||||
return;
|
||||
|
||||
// Summon Tualiq Proxy
|
||||
// Not known what purpose this has
|
||||
unitTarget->CastSpell(unitTarget, 66411, true);
|
||||
|
||||
// Summon Tualiq Spirit
|
||||
// Offtopic note: the summoned has aura from spell 37119 and 66419. One of them should
|
||||
// most likely make summoned "rise", hover up/sideways in the air (MOVEFLAG_LEVITATING + MOVEFLAG_HOVER)
|
||||
unitTarget->CastSpell(unitTarget, 66412, true);
|
||||
|
||||
((Player*)m_caster)->KilledMonsterCredit(unitTarget->GetEntry(), unitTarget->GetObjectGuid());
|
||||
|
||||
// Must have a delay for proper spell animation
|
||||
((Creature*)unitTarget)->ForcedDespawn(1000);
|
||||
return;
|
||||
}
|
||||
case 67019: // Flask of the North
|
||||
{
|
||||
if (m_caster->GetTypeId() != TYPEID_PLAYER)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue