Add spaces after commas
This commit is contained in:
@@ -106,7 +106,7 @@ public:
|
||||
|
||||
void KilledUnit(Unit* /*victim*/)
|
||||
{
|
||||
DoScriptText(RAND(SAY_SLAY1,SAY_SLAY2,SAY_SLAY3), me);
|
||||
DoScriptText(RAND(SAY_SLAY1, SAY_SLAY2, SAY_SLAY3), me);
|
||||
}
|
||||
|
||||
void JustDied(Unit* /*Killer*/)
|
||||
@@ -128,7 +128,7 @@ public:
|
||||
{
|
||||
if (pTarget->GetTypeId() == TYPEID_PLAYER)
|
||||
{
|
||||
switch (urand(0,1))
|
||||
switch (urand(0, 1))
|
||||
{
|
||||
case 0: pTarget->CastSpell(pTarget, SPELL_MAGNETIC_PULL, true, NULL, NULL, me->GetGUID()); break;
|
||||
case 1: pTarget->CastSpell(pTarget, SPELL_KNOCK_BACK, true, NULL, NULL, me->GetGUID()); break;
|
||||
@@ -197,7 +197,7 @@ public:
|
||||
// Hurtful Strike
|
||||
if (m_uiHurtfulStrike_Timer <= uiDiff)
|
||||
{
|
||||
Unit *pTarget = SelectTarget(SELECT_TARGET_TOPAGGRO,1);
|
||||
Unit *pTarget = SelectTarget(SELECT_TARGET_TOPAGGRO, 1);
|
||||
|
||||
if (pTarget && me->IsWithinMeleeRange(me->getVictim()))
|
||||
DoCast(pTarget, SPELL_HURTFUL_STRIKE);
|
||||
@@ -221,7 +221,7 @@ public:
|
||||
// Cave In
|
||||
if (m_uiCaveIn_Timer <= uiDiff)
|
||||
{
|
||||
if (Unit *pTarget = SelectTarget(SELECT_TARGET_RANDOM,0))
|
||||
if (Unit *pTarget = SelectTarget(SELECT_TARGET_RANDOM, 0))
|
||||
DoCast(pTarget, SPELL_CAVE_IN);
|
||||
|
||||
if (m_uiCaveIn_StaticTimer >= 4000)
|
||||
|
||||
@@ -170,7 +170,7 @@ public:
|
||||
|
||||
void KilledUnit(Unit* /*victim*/)
|
||||
{
|
||||
DoScriptText(RAND(SAY_SLAY1,SAY_SLAY2,SAY_SLAY3), me);
|
||||
DoScriptText(RAND(SAY_SLAY1, SAY_SLAY2, SAY_SLAY3), me);
|
||||
}
|
||||
|
||||
void JustDied(Unit* /*Killer*/)
|
||||
@@ -183,7 +183,7 @@ public:
|
||||
|
||||
void AddDeath()
|
||||
{
|
||||
DoScriptText(RAND(SAY_OGRE_DEATH1,SAY_OGRE_DEATH2,SAY_OGRE_DEATH3,SAY_OGRE_DEATH4), me);
|
||||
DoScriptText(RAND(SAY_OGRE_DEATH1, SAY_OGRE_DEATH2, SAY_OGRE_DEATH3, SAY_OGRE_DEATH4), me);
|
||||
}
|
||||
|
||||
void EnterCombat(Unit *who)
|
||||
@@ -772,7 +772,7 @@ public:
|
||||
{
|
||||
pTarget = Unit::GetUnit(*me, (*itr)->getUnitGuid());
|
||||
//15 yard radius minimum
|
||||
if (pTarget && pTarget->IsWithinDist(me, 15,false))
|
||||
if (pTarget && pTarget->IsWithinDist(me, 15, false))
|
||||
target_list.push_back(pTarget);
|
||||
pTarget = NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user