aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/EasternKingdoms/ShadowfangKeep
diff options
context:
space:
mode:
authorleak <leakzx@googlemail.com>2011-04-29 20:47:02 +0200
committerleak <leakzx@googlemail.com>2011-04-29 20:47:02 +0200
commit1003f30448f1f431ef091551ba5851cf7cd2b31a (patch)
tree9bebedb5b8bd6b4d6cf6d9daa83df90a86b1a786 /src/server/scripts/EasternKingdoms/ShadowfangKeep
parent01a79947d56eae6ed9f47dc2b41897d77cc91f41 (diff)
Add spaces after commas
Diffstat (limited to 'src/server/scripts/EasternKingdoms/ShadowfangKeep')
-rw-r--r--src/server/scripts/EasternKingdoms/ShadowfangKeep/instance_shadowfang_keep.cpp28
-rw-r--r--src/server/scripts/EasternKingdoms/ShadowfangKeep/shadowfang_keep.cpp10
2 files changed, 19 insertions, 19 deletions
diff --git a/src/server/scripts/EasternKingdoms/ShadowfangKeep/instance_shadowfang_keep.cpp b/src/server/scripts/EasternKingdoms/ShadowfangKeep/instance_shadowfang_keep.cpp
index 5dc95e3eba7..deef5178d02 100644
--- a/src/server/scripts/EasternKingdoms/ShadowfangKeep/instance_shadowfang_keep.cpp
+++ b/src/server/scripts/EasternKingdoms/ShadowfangKeep/instance_shadowfang_keep.cpp
@@ -48,11 +48,11 @@ enum eEnums
const Position SpawnLocation[] =
{
- {-148.199f,2165.647f,128.448f,1.026f},
- {-153.110f,2168.620f,128.448f,1.026f},
- {-145.905f,2180.520f,128.448f,4.183f},
- {-140.794f,2178.037f,128.448f,4.090f},
- {-138.640f,2170.159f,136.577f,2.737f}
+ {-148.199f, 2165.647f, 128.448f, 1.026f},
+ {-153.110f, 2168.620f, 128.448f, 1.026f},
+ {-145.905f, 2180.520f, 128.448f, 4.183f},
+ {-140.794f, 2178.037f, 128.448f, 4.090f},
+ {-138.640f, 2170.159f, 136.577f, 2.737f}
};
class instance_shadowfang_keep : public InstanceMapScript
{
@@ -137,8 +137,8 @@ public:
if (pAda && pAda->isAlive() && pAsh && pAsh->isAlive())
{
- DoScriptText(SAY_BOSS_DIE_AD,pAda);
- DoScriptText(SAY_BOSS_DIE_AS,pAsh);
+ DoScriptText(SAY_BOSS_DIE_AD, pAda);
+ DoScriptText(SAY_BOSS_DIE_AS, pAsh);
}
}
@@ -251,19 +251,19 @@ public:
switch(uiPhase)
{
case 1:
- pSummon = pArchmage->SummonCreature(pArchmage->GetEntry(),SpawnLocation[4],TEMPSUMMON_TIMED_DESPAWN,10000);
+ pSummon = pArchmage->SummonCreature(pArchmage->GetEntry(), SpawnLocation[4], TEMPSUMMON_TIMED_DESPAWN, 10000);
pSummon->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_OOC_NOT_ATTACKABLE);
pSummon->SetReactState(REACT_DEFENSIVE);
- pSummon->CastSpell(pSummon,SPELL_ASHCROMBE_TELEPORT,true);
- DoScriptText(SAY_ARCHMAGE,pSummon);
+ pSummon->CastSpell(pSummon, SPELL_ASHCROMBE_TELEPORT, true);
+ DoScriptText(SAY_ARCHMAGE, pSummon);
uiTimer = 2000;
uiPhase = 2;
break;
case 2:
- pArchmage->SummonCreature(NPC_ARUGAL_VOIDWALKER,SpawnLocation[0],TEMPSUMMON_CORPSE_TIMED_DESPAWN,60000);
- pArchmage->SummonCreature(NPC_ARUGAL_VOIDWALKER,SpawnLocation[1],TEMPSUMMON_CORPSE_TIMED_DESPAWN,60000);
- pArchmage->SummonCreature(NPC_ARUGAL_VOIDWALKER,SpawnLocation[2],TEMPSUMMON_CORPSE_TIMED_DESPAWN,60000);
- pArchmage->SummonCreature(NPC_ARUGAL_VOIDWALKER,SpawnLocation[3],TEMPSUMMON_CORPSE_TIMED_DESPAWN,60000);
+ pArchmage->SummonCreature(NPC_ARUGAL_VOIDWALKER, SpawnLocation[0], TEMPSUMMON_CORPSE_TIMED_DESPAWN, 60000);
+ pArchmage->SummonCreature(NPC_ARUGAL_VOIDWALKER, SpawnLocation[1], TEMPSUMMON_CORPSE_TIMED_DESPAWN, 60000);
+ pArchmage->SummonCreature(NPC_ARUGAL_VOIDWALKER, SpawnLocation[2], TEMPSUMMON_CORPSE_TIMED_DESPAWN, 60000);
+ pArchmage->SummonCreature(NPC_ARUGAL_VOIDWALKER, SpawnLocation[3], TEMPSUMMON_CORPSE_TIMED_DESPAWN, 60000);
uiPhase = 0;
break;
diff --git a/src/server/scripts/EasternKingdoms/ShadowfangKeep/shadowfang_keep.cpp b/src/server/scripts/EasternKingdoms/ShadowfangKeep/shadowfang_keep.cpp
index 169e8d63a8f..e1f8ee39ae1 100644
--- a/src/server/scripts/EasternKingdoms/ShadowfangKeep/shadowfang_keep.cpp
+++ b/src/server/scripts/EasternKingdoms/ShadowfangKeep/shadowfang_keep.cpp
@@ -164,7 +164,7 @@ public:
void Reset()
{
- uiDarkOffering = urand(290,10);
+ uiDarkOffering = urand(290, 10);
}
void UpdateAI(uint32 const uiDiff)
@@ -174,14 +174,14 @@ public:
if (uiDarkOffering <= uiDiff)
{
- if (Creature* pFriend = me->FindNearestCreature(me->GetEntry(),25.0f,true))
+ if (Creature* pFriend = me->FindNearestCreature(me->GetEntry(), 25.0f, true))
{
if (pFriend)
- DoCast(pFriend,SPELL_DARK_OFFERING);
+ DoCast(pFriend, SPELL_DARK_OFFERING);
}
else
- DoCast(me,SPELL_DARK_OFFERING);
- uiDarkOffering = urand(4400,12500);
+ DoCast(me, SPELL_DARK_OFFERING);
+ uiDarkOffering = urand(4400, 12500);
} else uiDarkOffering -= uiDiff;
DoMeleeAttackIfReady();