aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMachiavelli <none@none>2010-05-10 19:50:05 +0200
committerMachiavelli <none@none>2010-05-10 19:50:05 +0200
commitb468669ef71aedbec266c924d11fe87812e4ee99 (patch)
tree50c9f21f9b32e44ef3a483ed724216c1dbefdd57
parentd2f35a20451107ed4afdd6d279bc77b1f73f788f (diff)
parent5626c294e4ac72e8f3b067e72c5b25f15aa8123d (diff)
Merge
Thanks to Aokromes for helping me test my previous commit --HG-- branch : trunk
-rw-r--r--src/scripts/kalimdor/ashenvale.cpp21
1 files changed, 9 insertions, 12 deletions
diff --git a/src/scripts/kalimdor/ashenvale.cpp b/src/scripts/kalimdor/ashenvale.cpp
index 46f97fd4954..654e7ed3146 100644
--- a/src/scripts/kalimdor/ashenvale.cpp
+++ b/src/scripts/kalimdor/ashenvale.cpp
@@ -229,9 +229,6 @@ CreatureAI* GetAI_npc_ruul_snowhoofAI(Creature* pCreature)
return new npc_ruul_snowhoofAI(pCreature);
}
-#include "ScriptedPch.h"
-#include "ScriptedEscortAI.h"
-
enum eEnums
{
SAY_MUG_START1 = -1800054,
@@ -247,7 +244,7 @@ enum eEnums
QUEST_VORSHA = 6641,
- GO_NAGA_BRAZIER = 178247,
+ GO_NAGA_BRAZIER = 178247,
NPC_WRATH_RIDER = 3713,
NPC_WRATH_SORCERESS = 3717,
@@ -288,7 +285,7 @@ struct npc_muglashAI : public npc_escortAI
void JustSummoned(Creature* pSummoned)
{
- pSummoned->AI()->AttackStart(me);
+ pSummoned->AI()->AttackStart(me);
}
void WaypointReached(uint32 i)
@@ -330,7 +327,7 @@ struct npc_muglashAI : public npc_escortAI
{
if (HasEscortState(STATE_ESCORT_PAUSED))
{
- if (urand(0, 1))
+ if (urand(0, 1))
DoScriptText(SAY_MUG_ON_GUARD, me);
return;
}
@@ -340,7 +337,7 @@ struct npc_muglashAI : public npc_escortAI
{
m_uiEventTimer = 10000;
m_uiWaveId = 0;
- m_bIsBrazierExtinguished = false;
+ m_bIsBrazierExtinguished = false;
}
void JustDied(Unit* pKiller)
@@ -352,7 +349,7 @@ struct npc_muglashAI : public npc_escortAI
{
pPlayer->FailQuest(QUEST_VORSHA);
}
- }
+ }
}
void DoWaveSummon()
@@ -377,7 +374,7 @@ struct npc_muglashAI : public npc_escortAI
DoScriptText(SAY_MUG_DONE, me);
break;
}
- }
+ }
void UpdateAI(const uint32 uiDiff)
{
@@ -395,10 +392,10 @@ struct npc_muglashAI : public npc_escortAI
}
else
m_uiEventTimer -= uiDiff;
- }
- return;
+ }
+ return;
}
- DoMeleeAttackIfReady();
+ DoMeleeAttackIfReady();
}
};