aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/World
diff options
context:
space:
mode:
authorclick <click@gonnamakeyou.com>2011-02-27 18:34:24 +0100
committerclick <click@gonnamakeyou.com>2011-02-27 18:34:24 +0100
commitd92fb9ad65b06ba9afac231964575219d4df1df1 (patch)
tree16dbfebcd5839576fd5edde8c59702e2ed9ec5f0 /src/server/scripts/World
parentda773981f8b7e8d1debb5b54a94dd6c173fb2f96 (diff)
Core: Clean up some rogue whitespace and tabs
Diffstat (limited to 'src/server/scripts/World')
-rw-r--r--src/server/scripts/World/guards.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/server/scripts/World/guards.cpp b/src/server/scripts/World/guards.cpp
index 107ada81863..f3f7bd27720 100644
--- a/src/server/scripts/World/guards.cpp
+++ b/src/server/scripts/World/guards.cpp
@@ -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())