aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Outland
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/scripts/Outland')
-rw-r--r--src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_vazruden_the_herald.cpp14
-rw-r--r--src/server/scripts/Outland/TempestKeep/Eye/boss_kaelthas.cpp8
-rw-r--r--src/server/scripts/Outland/nagrand.cpp14
-rw-r--r--src/server/scripts/Outland/shadowmoon_valley.cpp6
4 files changed, 21 insertions, 21 deletions
diff --git a/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_vazruden_the_herald.cpp b/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_vazruden_the_herald.cpp
index 0d21ff2c70c..6034e35936c 100644
--- a/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_vazruden_the_herald.cpp
+++ b/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_vazruden_the_herald.cpp
@@ -366,22 +366,22 @@ class boss_vazruden_the_herald : public CreatureScript
}
}
- void JustSummoned(Creature* pSummoned)
+ void JustSummoned(Creature* summoned)
{
- if (!pSummoned)
+ if (!summoned)
return;
Unit* victim = me->getVictim();
- if (pSummoned->GetEntry() == ENTRY_NAZAN)
+ if (summoned->GetEntry() == ENTRY_NAZAN)
{
- CAST_AI(boss_nazan::boss_nazanAI, pSummoned->AI())->VazrudenGUID = VazrudenGUID;
- pSummoned->AddUnitMovementFlag(MOVEMENTFLAG_LEVITATING);
- pSummoned->SetSpeed(MOVE_FLIGHT, 2.5f);
+ CAST_AI(boss_nazan::boss_nazanAI, summoned->AI())->VazrudenGUID = VazrudenGUID;
+ summoned->AddUnitMovementFlag(MOVEMENTFLAG_LEVITATING);
+ summoned->SetSpeed(MOVE_FLIGHT, 2.5f);
if (victim)
AttackStartNoMove(victim);
}
else
if (victim)
- pSummoned->AI()->AttackStart(victim);
+ summoned->AI()->AttackStart(victim);
}
void SentryDownBy(Unit* killer)
diff --git a/src/server/scripts/Outland/TempestKeep/Eye/boss_kaelthas.cpp b/src/server/scripts/Outland/TempestKeep/Eye/boss_kaelthas.cpp
index 47bb157bbbd..7fd0641a945 100644
--- a/src/server/scripts/Outland/TempestKeep/Eye/boss_kaelthas.cpp
+++ b/src/server/scripts/Outland/TempestKeep/Eye/boss_kaelthas.cpp
@@ -434,15 +434,15 @@ class boss_kaelthas : public CreatureScript
DoScriptText(RAND(SAY_SLAY1, SAY_SLAY2, SAY_SLAY3), me);
}
- void JustSummoned(Creature* pSummoned)
+ void JustSummoned(Creature* summoned)
{
// if not phoenix, then it's one of the 7 weapons
- if (pSummoned->GetEntry() != NPC_PHOENIX)
+ if (summoned->GetEntry() != NPC_PHOENIX)
{
if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0))
- pSummoned->AI()->AttackStart(target);
+ summoned->AI()->AttackStart(target);
- summons.Summon(pSummoned);
+ summons.Summon(summoned);
}
}
diff --git a/src/server/scripts/Outland/nagrand.cpp b/src/server/scripts/Outland/nagrand.cpp
index 4d2091d71b1..40d40b15a58 100644
--- a/src/server/scripts/Outland/nagrand.cpp
+++ b/src/server/scripts/Outland/nagrand.cpp
@@ -676,17 +676,17 @@ public:
}
}
- void JustSummoned(Creature* pSummoned)
+ void JustSummoned(Creature* summoned)
{
- if (pSummoned->GetEntry() == NPC_MURK_BRUTE)
- DoScriptText(SAY_MAG_NO_ESCAPE, pSummoned);
+ if (summoned->GetEntry() == NPC_MURK_BRUTE)
+ DoScriptText(SAY_MAG_NO_ESCAPE, summoned);
- if (pSummoned->isTotem())
+ if (summoned->isTotem())
return;
- pSummoned->RemoveUnitMovementFlag(MOVEMENTFLAG_WALKING);
- pSummoned->GetMotionMaster()->MovePoint(0, me->GetPositionX(), me->GetPositionY(), me->GetPositionZ());
- pSummoned->AI()->AttackStart(me);
+ summoned->RemoveUnitMovementFlag(MOVEMENTFLAG_WALKING);
+ summoned->GetMotionMaster()->MovePoint(0, me->GetPositionX(), me->GetPositionY(), me->GetPositionZ());
+ summoned->AI()->AttackStart(me);
}
diff --git a/src/server/scripts/Outland/shadowmoon_valley.cpp b/src/server/scripts/Outland/shadowmoon_valley.cpp
index 8eb0aee951f..6edeb3563db 100644
--- a/src/server/scripts/Outland/shadowmoon_valley.cpp
+++ b/src/server/scripts/Outland/shadowmoon_valley.cpp
@@ -1004,10 +1004,10 @@ public:
}
}
- void JustSummoned(Creature* pSummoned)
+ void JustSummoned(Creature* summoned)
{
- if (pSummoned->GetEntry() == NPC_COILSKAR_ASSASSIN)
- pSummoned->AI()->AttackStart(me);
+ if (summoned->GetEntry() == NPC_COILSKAR_ASSASSIN)
+ summoned->AI()->AttackStart(me);
}
//this is very unclear, random say without no real relevance to script/event