refactor(Scripts/TempestKeep): Clean up script files (#17727)

This commit is contained in:
Andrew
2023-11-16 14:01:45 -03:00
committed by GitHub
parent 1f30a755dc
commit 79ef4fa671
10 changed files with 12 additions and 64 deletions

View File

@@ -50,13 +50,7 @@ enum Misc
struct boss_harbinger_skyriss : public BossAI
{
boss_harbinger_skyriss(Creature* creature) : BossAI(creature, DATA_WARDEN_MELLICHAR)
{
scheduler.SetValidator([this]
{
return !me->HasUnitState(UNIT_STATE_CASTING);
});
}
boss_harbinger_skyriss(Creature* creature) : BossAI(creature, DATA_WARDEN_MELLICHAR) { }
void Reset() override
{

View File

@@ -67,11 +67,6 @@ struct boss_wrath_scryer_soccothrates : public BossAI
boss_wrath_scryer_soccothrates(Creature* creature) : BossAI(creature, DATA_SOCCOTHRATES)
{
preFight = instance->GetBossState(DATA_DALLIAH) == DONE;
scheduler.SetValidator([this]
{
return !me->HasUnitState(UNIT_STATE_CASTING);
});
}
void Reset() override

View File

@@ -37,13 +37,7 @@ enum Spells
struct boss_zereketh_the_unbound : public BossAI
{
boss_zereketh_the_unbound(Creature* creature) : BossAI(creature, DATA_ZEREKETH)
{
scheduler.SetValidator([this]
{
return !me->HasUnitState(UNIT_STATE_CASTING);
});
}
boss_zereketh_the_unbound(Creature* creature) : BossAI(creature, DATA_ZEREKETH) { }
void JustDied(Unit* /*killer*/) override
{