Creature/Scripting: Move CreatureAI::CanRespawn to CreatureScript::CanSpawn. Now also applies to initial spawn. Dynamic spawning prep.

This commit is contained in:
treeston
2016-09-09 16:21:27 +02:00
parent 9180bcd404
commit b3d44d6c36
6 changed files with 22 additions and 15 deletions

View File

@@ -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;