Allow BossAI::_DespawnAtEvade to work on creatures other than the boss itself (optional argument).
(cherry picked from commit 6040e30fa381efdfc466d635bc6fe150d878e5ed)
This commit is contained in:
@@ -364,7 +364,7 @@ class TC_GAME_API BossAI : public ScriptedAI
|
||||
void _EnterCombat();
|
||||
void _JustDied();
|
||||
void _JustReachedHome() { me->setActive(false); }
|
||||
void _DespawnAtEvade(uint32 delayToRespawn = 30);
|
||||
void _DespawnAtEvade(uint32 delayToRespawn = 30, Creature* who = nullptr);
|
||||
|
||||
void TeleportCheaters();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user