Cleanup PetAI, remove unnecessary and broken JustDied(). Closes #7242
Thanks to Oiler2112 for suggestions and testing.
This commit is contained in:
1 parent
b06e9cfd41
commit
d28a62e579
3 files changed
+14
-6
No files matched your search
@@ -2121,8 +2121,6 @@ class npc_shadowfiend : public CreatureScript
|
||||
if (Unit* owner = me->ToTempSummon()->GetSummoner())
|
||||
if (owner->HasAura(GLYPH_OF_SHADOWFIEND))
|
||||
owner->CastSpell(owner, GLYPH_OF_SHADOWFIEND_MANA, true);
|
||||
|
||||
PetAI::JustDied(killer);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user