Core/AI: Some more refactoring prep for #19930. CreatureAI::EnterCombat is now called CreatureAI::JustEngagedWith. There's also two new methods on UnitAI, though they're never invoked right now.
This commit is contained in:
1 parent
ca3c5dc02f
commit
46366373ab
441 files changed
+1004
-997
No files matched your search
@@ -158,7 +158,7 @@ class npc_pet_mage_mirror_image : public CreatureScript
|
||||
owner->CastSpell(me, SPELL_MAGE_CLONE_ME, false);
|
||||
}
|
||||
|
||||
void EnterCombat(Unit* who) override
|
||||
void JustEngagedWith(Unit* who) override
|
||||
{
|
||||
if (me->GetVictim() && !me->GetVictim()->HasBreakableByDamageCrowdControlAura(me))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user