Core: Clean up some rogue whitespace and tabs

This commit is contained in:
click
2011-02-27 18:34:24 +01:00
parent da773981f8
commit d92fb9ad65
12 changed files with 37 additions and 37 deletions
+10 -10
View File
@@ -19,7 +19,7 @@
/* ScriptData
SDName: Guards
SD%Complete: 100
SDComment:
SDComment:
SDCategory: Guards
EndScriptData */
@@ -35,7 +35,7 @@ EndContentData */
enum GuardGeneric
{
GENERIC_CREATURE_COOLDOWN = 5000,
SAY_GUARD_SIL_AGGRO1 = -1070001,
SAY_GUARD_SIL_AGGRO2 = -1070002,
SAY_GUARD_SIL_AGGRO3 = -1070003,
@@ -118,9 +118,9 @@ public:
info = SelectSpell(me, 0, 0, SELECT_TARGET_ANY_FRIEND, 0, 0, 0, 0, SELECT_EFFECT_HEALING);
//No healing spell available, select a hostile spell
if (info)
if (info)
healing = true;
else
else
info = SelectSpell(me->getVictim(), 0, 0, SELECT_TARGET_ANY_ENEMY, 0, 0, 0, 0, SELECT_EFFECT_DONTCARE);
//20% chance to replace our white hit with a spell
@@ -129,13 +129,13 @@ public:
//Cast the spell
if (healing)
DoCast(me, info->Id);
else
else
DoCast(me->getVictim(), info->Id);
//Set our global cooldown
globalCooldown = GENERIC_CREATURE_COOLDOWN;
}
else
else
me->AttackerStateUpdate(me->getVictim());
me->resetAttackTimer();
@@ -154,7 +154,7 @@ public:
info = SelectSpell(me, 0, 0, SELECT_TARGET_ANY_FRIEND, 0, 0, 0, 0, SELECT_EFFECT_HEALING);
//No healing spell available, See if we can cast a ranged spell (Range must be greater than ATTACK_DISTANCE)
if (info)
if (info)
healing = true;
else
info = SelectSpell(me->getVictim(), 0, 0, SELECT_TARGET_ANY_ENEMY, 0, 0, NOMINAL_MELEE_RANGE, 0, SELECT_EFFECT_DONTCARE);
@@ -170,9 +170,9 @@ public:
}
//Cast spell
if (healing)
if (healing)
DoCast(me,info->Id);
else
else
DoCast(me->getVictim(),info->Id);
//Set our global cooldown
@@ -204,7 +204,7 @@ public:
case TEXTEMOTE_CHICKEN: me->HandleEmoteCommand(EMOTE_ONESHOT_POINT); break;
}
}
void ReceiveEmote(Player* player, uint32 textEmote)
{
switch(me->GetEntry())