aboutsummaryrefslogtreecommitdiff
path: root/src/scripts/kalimdor/azshara.cpp
diff options
context:
space:
mode:
authorSpp <none@none>2010-04-07 23:56:35 +0200
committerSpp <none@none>2010-04-07 23:56:35 +0200
commit46f0674e237dd8fe97ba4f0769e18b4adfce841b (patch)
tree4556d27751077c2ed37a445493ed93a4d08e981b /src/scripts/kalimdor/azshara.cpp
parent2454c290b84e04bd0321ca94e0be8c8dc7eedbe8 (diff)
Code Style (game + scripts only):
">=" --> " >= " (when needed) " >=" --> " >=" ">= " --> ">= " "<=" --> " <= " (when needed) " <=" --> " <=" "<= " --> "<= " " ==" --> " ==" "== " --> "== " --HG-- branch : trunk
Diffstat (limited to 'src/scripts/kalimdor/azshara.cpp')
-rw-r--r--src/scripts/kalimdor/azshara.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/scripts/kalimdor/azshara.cpp b/src/scripts/kalimdor/azshara.cpp
index f4aba0d5b56..d9d63d90061 100644
--- a/src/scripts/kalimdor/azshara.cpp
+++ b/src/scripts/kalimdor/azshara.cpp
@@ -56,7 +56,7 @@ struct mobs_spitelashesAI : public ScriptedAI
if (!spellhit &&
Hitter->GetTypeId() == TYPEID_PLAYER &&
CAST_PLR(Hitter)->GetQuestStatus(9364) == QUEST_STATUS_INCOMPLETE &&
- (Spellkind->Id == 118 || Spellkind->Id == 12824 || Spellkind->Id == 12825 || Spellkind->Id == 12826))
+ (Spellkind->Id == 118 || Spellkind->Id == 12824 || Spellkind->Id == 12825 || Spellkind->Id == 12826))
{
spellhit=true;
DoCast(m_creature, 29124); //become a sheep
@@ -66,7 +66,7 @@ struct mobs_spitelashesAI : public ScriptedAI
void UpdateAI(const uint32 diff)
{
// we mustn't remove the Creature in the same round in which we cast the summon spell, otherwise there will be no summons
- if (spellhit && morphtimer>=5000)
+ if (spellhit && morphtimer >= 5000)
{
m_creature->ForcedDespawn();
return;
@@ -75,7 +75,7 @@ struct mobs_spitelashesAI : public ScriptedAI
if (spellhit && morphtimer<5000)
{
morphtimer+=diff;
- if (morphtimer>=5000)
+ if (morphtimer >= 5000)
{
DoCast(m_creature, 28406); //summon copies
DoCast(m_creature, 6924); //visual explosion