diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 59b99b02c..17d785224 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -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) diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index e628cadfd..07ce4622c 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "11169" + #define REVISION_NR "11170" #endif // __REVISION_NR_H__