Whitespace clean-up

(cherry picked from commit 6ee35734e4)
This commit is contained in:
Gustavo
2016-08-28 20:11:04 -03:00
committed by joschiwald
parent c4f2012ef5
commit cc39c11d7f
4 changed files with 9 additions and 9 deletions

View File

@@ -94,7 +94,7 @@ public:
{
if (Creature* midnight = ObjectAccessor::GetCreature(*me, _midnightGUID))
BossAI::_DespawnAtEvade(Seconds(10), midnight);
me->DespawnOrUnsummon();
}
@@ -130,7 +130,7 @@ public:
if (_phase == PHASE_ATTUMEN_ENGAGES && me->HealthBelowPctDamaged(25, damage))
{
_phase = PHASE_NONE;
if (Creature* midnight = ObjectAccessor::GetCreature(*me, _midnightGUID))
midnight->AI()->DoCastAOE(SPELL_MOUNT, true);
}

View File

@@ -1114,7 +1114,7 @@ enum WS
WATER = 0x2,
EARTH = 0x4,
AIR = 0x8
};
};
enum WSTexts
{

View File

@@ -268,7 +268,7 @@ class npc_pit_of_saron_icicle : public CreatureScript
{
DoCastSelf(SPELL_ICICLE_FALL_TRIGGER, true);
DoCastSelf(SPELL_ICICLE_FALL_VISUAL);
if (Unit* caster = ObjectAccessor::GetUnit(*me, _summonerGUID))
caster->RemoveDynObject(SPELL_ICICLE_SUMMON);
});

View File

@@ -264,7 +264,7 @@ public:
_JustDied();
Talk(SAY_DEATH);
}
void DamageTaken(Unit* /*attacker*/, uint32& damage) override
{
if (events.IsInPhase(PHASE_ONE))
@@ -432,7 +432,7 @@ public:
if (Is25ManRaid())
events.ScheduleEvent(EVENT_CHAINS, randtime(Seconds(60), Seconds(80)), 0, PHASE_TWO);
break;
case EVENT_FROSTBOLT_VOLLEY:
DoCastAOE(SPELL_FROSTBOLT_VOLLEY);
events.Repeat(randtime(Seconds(16), Seconds(18)));
@@ -624,7 +624,7 @@ struct npc_kelthuzad_minionAI : public ScriptedAI
ScriptedAI::MoveInLineOfSight(who);
return;
}
if (me->CanStartAttack(who, false) && me->GetDistance2d(who) <= MINION_AGGRO_DISTANCE)
EnterCombat(who);
}
@@ -641,7 +641,7 @@ struct npc_kelthuzad_minionAI : public ScriptedAI
return pocketId;
return 0;
}
void MovementInform(uint32 /*type*/, uint32 id) override
{
if (id == MOVEMENT_MINION_RANDOM)
@@ -665,7 +665,7 @@ struct npc_kelthuzad_minionAI : public ScriptedAI
protected:
InstanceScript* const instance;
uint32 pocketId;
private:
uint32 _movementTimer;
Position const _home;