mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-15 12:42:43 -04:00
Creature/Scripting: Move CreatureAI::CanRespawn to CreatureScript::CanSpawn. Now also applies to initial spawn. Dynamic spawning prep.
This commit is contained in:
@@ -507,14 +507,6 @@ void BossAI::_EnterCombat()
|
||||
ScheduleTasks();
|
||||
}
|
||||
|
||||
bool BossAI::CanRespawn()
|
||||
{
|
||||
if (instance && instance->GetBossState(_bossId) == DONE)
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
void BossAI::TeleportCheaters()
|
||||
{
|
||||
float x, y, z;
|
||||
|
||||
Reference in New Issue
Block a user