Add spaces after commas
This commit is contained in:
@@ -162,7 +162,7 @@ class boss_arlokk : public CreatureScript
|
||||
|
||||
if (m_uiMark_Timer <= uiDiff)
|
||||
{
|
||||
Unit *pMarkedTarget = SelectTarget(SELECT_TARGET_RANDOM,0);
|
||||
Unit *pMarkedTarget = SelectTarget(SELECT_TARGET_RANDOM, 0);
|
||||
|
||||
if (pMarkedTarget)
|
||||
{
|
||||
@@ -193,7 +193,7 @@ class boss_arlokk : public CreatureScript
|
||||
{
|
||||
DoCast(me->getVictim(), SPELL_GOUGE);
|
||||
|
||||
DoModifyThreatPercent(me->getVictim(),-80);
|
||||
DoModifyThreatPercent(me->getVictim(), -80);
|
||||
|
||||
m_uiGouge_Timer = 17000+rand()%10000;
|
||||
}
|
||||
@@ -242,7 +242,7 @@ class boss_arlokk : public CreatureScript
|
||||
me->SetBaseWeaponDamage(BASE_ATTACK, MAXDAMAGE, (cinfo->maxdmg +((cinfo->maxdmg/100) * 35)));
|
||||
me->UpdateDamagePhysical(BASE_ATTACK);
|
||||
|
||||
if (Unit* pTarget = SelectTarget(SELECT_TARGET_RANDOM,0))
|
||||
if (Unit* pTarget = SelectTarget(SELECT_TARGET_RANDOM, 0))
|
||||
AttackStart(pTarget);
|
||||
|
||||
m_bIsPhaseTwo = true;
|
||||
|
||||
@@ -68,10 +68,10 @@ class boss_grilek : public CreatureScript
|
||||
DoCast(me, SPELL_AVARTAR);
|
||||
Unit *pTarget = NULL;
|
||||
|
||||
pTarget = SelectTarget(SELECT_TARGET_RANDOM,1);
|
||||
pTarget = SelectTarget(SELECT_TARGET_RANDOM, 1);
|
||||
|
||||
if (DoGetThreat(me->getVictim()))
|
||||
DoModifyThreatPercent(me->getVictim(),-50);
|
||||
DoModifyThreatPercent(me->getVictim(), -50);
|
||||
if (pTarget)
|
||||
AttackStart(pTarget);
|
||||
|
||||
|
||||
@@ -132,7 +132,7 @@ class boss_hakkar : public CreatureScript
|
||||
//CauseInsanity_Timer
|
||||
/*if (CauseInsanity_Timer <= diff)
|
||||
{
|
||||
if (Unit *pTarget = SelectUnit(SELECT_TARGET_RANDOM,0))
|
||||
if (Unit *pTarget = SelectUnit(SELECT_TARGET_RANDOM, 0))
|
||||
DoCast(pTarget, SPELL_CAUSEINSANITY);
|
||||
|
||||
CauseInsanity_Timer = 35000 + rand()%8000;
|
||||
@@ -141,7 +141,7 @@ class boss_hakkar : public CreatureScript
|
||||
//WillOfHakkar_Timer
|
||||
if (WillOfHakkar_Timer <= diff)
|
||||
{
|
||||
if (Unit *pTarget = SelectTarget(SELECT_TARGET_RANDOM,0))
|
||||
if (Unit *pTarget = SelectTarget(SELECT_TARGET_RANDOM, 0))
|
||||
DoCast(pTarget, SPELL_WILLOFHAKKAR);
|
||||
|
||||
WillOfHakkar_Timer = 25000 + rand()%10000;
|
||||
|
||||
@@ -84,11 +84,11 @@ class boss_hazzarah : public CreatureScript
|
||||
Unit *pTarget = NULL;
|
||||
for (uint8 i = 0; i < 3; ++i)
|
||||
{
|
||||
pTarget = SelectTarget(SELECT_TARGET_RANDOM,0);
|
||||
pTarget = SelectTarget(SELECT_TARGET_RANDOM, 0);
|
||||
if (!pTarget)
|
||||
return;
|
||||
|
||||
Creature *Illusion = me->SummonCreature(15163,pTarget->GetPositionX(), pTarget->GetPositionY(), pTarget->GetPositionZ(),0,TEMPSUMMON_TIMED_OR_CORPSE_DESPAWN,30000);
|
||||
Creature *Illusion = me->SummonCreature(15163, pTarget->GetPositionX(), pTarget->GetPositionY(), pTarget->GetPositionZ(), 0, TEMPSUMMON_TIMED_OR_CORPSE_DESPAWN, 30000);
|
||||
if (Illusion)
|
||||
Illusion->AI()->AttackStart(pTarget);
|
||||
}
|
||||
|
||||
@@ -113,7 +113,7 @@ class boss_jeklik : public CreatureScript
|
||||
{
|
||||
if (Charge_Timer <= diff)
|
||||
{
|
||||
if (Unit *pTarget = SelectTarget(SELECT_TARGET_RANDOM,0))
|
||||
if (Unit *pTarget = SelectTarget(SELECT_TARGET_RANDOM, 0))
|
||||
{
|
||||
DoCast(pTarget, SPELL_CHARGE);
|
||||
AttackStart(pTarget);
|
||||
@@ -136,24 +136,24 @@ class boss_jeklik : public CreatureScript
|
||||
|
||||
if (SpawnBats_Timer <= diff)
|
||||
{
|
||||
Unit *pTarget = SelectTarget(SELECT_TARGET_RANDOM,0);
|
||||
Unit *pTarget = SelectTarget(SELECT_TARGET_RANDOM, 0);
|
||||
|
||||
Creature* Bat = NULL;
|
||||
Bat = me->SummonCreature(11368,-12291.6220f,-1380.2640f,144.8304f,5.483f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 15000);
|
||||
Bat = me->SummonCreature(11368, -12291.6220f, -1380.2640f, 144.8304f, 5.483f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 15000);
|
||||
if (pTarget && Bat) Bat ->AI()->AttackStart(pTarget);
|
||||
|
||||
Bat = me->SummonCreature(11368,-12289.6220f,-1380.2640f,144.8304f,5.483f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 15000);
|
||||
Bat = me->SummonCreature(11368, -12289.6220f, -1380.2640f, 144.8304f, 5.483f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 15000);
|
||||
if (pTarget && Bat) Bat ->AI()->AttackStart(pTarget);
|
||||
|
||||
Bat = me->SummonCreature(11368,-12293.6220f,-1380.2640f,144.8304f,5.483f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 15000);
|
||||
Bat = me->SummonCreature(11368, -12293.6220f, -1380.2640f, 144.8304f, 5.483f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 15000);
|
||||
if (pTarget && Bat) Bat ->AI()->AttackStart(pTarget);
|
||||
|
||||
Bat = me->SummonCreature(11368,-12291.6220f,-1380.2640f,144.8304f,5.483f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 15000);
|
||||
Bat = me->SummonCreature(11368, -12291.6220f, -1380.2640f, 144.8304f, 5.483f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 15000);
|
||||
if (pTarget && Bat) Bat ->AI()->AttackStart(pTarget);
|
||||
|
||||
Bat = me->SummonCreature(11368,-12289.6220f,-1380.2640f,144.8304f,5.483f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 15000);
|
||||
Bat = me->SummonCreature(11368, -12289.6220f, -1380.2640f, 144.8304f, 5.483f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 15000);
|
||||
if (pTarget && Bat) Bat ->AI()->AttackStart(pTarget);
|
||||
Bat = me->SummonCreature(11368,-12293.6220f,-1380.2640f,144.8304f,5.483f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 15000);
|
||||
Bat = me->SummonCreature(11368, -12293.6220f, -1380.2640f, 144.8304f, 5.483f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 15000);
|
||||
if (pTarget && Bat) Bat ->AI()->AttackStart(pTarget);
|
||||
|
||||
SpawnBats_Timer = 60000;
|
||||
@@ -165,7 +165,7 @@ class boss_jeklik : public CreatureScript
|
||||
{
|
||||
if (PhaseTwo && ShadowWordPain_Timer <= diff)
|
||||
{
|
||||
if (Unit *pTarget = SelectTarget(SELECT_TARGET_RANDOM,0))
|
||||
if (Unit *pTarget = SelectTarget(SELECT_TARGET_RANDOM, 0))
|
||||
{
|
||||
DoCast(pTarget, SPELL_SHADOW_WORD_PAIN);
|
||||
ShadowWordPain_Timer = 12000 + rand()%6000;
|
||||
|
||||
@@ -90,7 +90,7 @@ class boss_jindo : public CreatureScript
|
||||
if (HealingWard_Timer <= diff)
|
||||
{
|
||||
//DoCast(me, SPELL_POWERFULLHEALINGWARD);
|
||||
me->SummonCreature(14987, me->GetPositionX()+3, me->GetPositionY()-2, me->GetPositionZ(), 0, TEMPSUMMON_TIMED_OR_DEAD_DESPAWN,30000);
|
||||
me->SummonCreature(14987, me->GetPositionX()+3, me->GetPositionY()-2, me->GetPositionZ(), 0, TEMPSUMMON_TIMED_OR_DEAD_DESPAWN, 30000);
|
||||
HealingWard_Timer = 14000 + rand()%6000;
|
||||
} else HealingWard_Timer -= diff;
|
||||
|
||||
@@ -100,7 +100,7 @@ class boss_jindo : public CreatureScript
|
||||
DoCast(me->getVictim(), SPELL_HEX);
|
||||
|
||||
if (DoGetThreat(me->getVictim()))
|
||||
DoModifyThreatPercent(me->getVictim(),-80);
|
||||
DoModifyThreatPercent(me->getVictim(), -80);
|
||||
|
||||
Hex_Timer = 12000 + rand()%8000;
|
||||
} else Hex_Timer -= diff;
|
||||
@@ -108,7 +108,7 @@ class boss_jindo : public CreatureScript
|
||||
//Casting the delusion curse with a shade. So shade will attack the same target with the curse.
|
||||
if (Delusions_Timer <= diff)
|
||||
{
|
||||
if (Unit *pTarget = SelectTarget(SELECT_TARGET_RANDOM,0))
|
||||
if (Unit *pTarget = SelectTarget(SELECT_TARGET_RANDOM, 0))
|
||||
{
|
||||
DoCast(pTarget, SPELL_DELUSIONSOFJINDO);
|
||||
|
||||
@@ -124,13 +124,13 @@ class boss_jindo : public CreatureScript
|
||||
if (Teleport_Timer <= diff)
|
||||
{
|
||||
Unit *pTarget = NULL;
|
||||
pTarget = SelectTarget(SELECT_TARGET_RANDOM,0);
|
||||
pTarget = SelectTarget(SELECT_TARGET_RANDOM, 0);
|
||||
if (pTarget && pTarget->GetTypeId() == TYPEID_PLAYER)
|
||||
{
|
||||
DoTeleportPlayer(pTarget, -11583.7783f,-1249.4278f,77.5471f,4.745f);
|
||||
DoTeleportPlayer(pTarget, -11583.7783f, -1249.4278f, 77.5471f, 4.745f);
|
||||
|
||||
if (DoGetThreat(me->getVictim()))
|
||||
DoModifyThreatPercent(pTarget,-100);
|
||||
DoModifyThreatPercent(pTarget, -100);
|
||||
|
||||
Creature *Skeletons;
|
||||
Skeletons = me->SummonCreature(14826, pTarget->GetPositionX()+2, pTarget->GetPositionY(), pTarget->GetPositionZ(), 0, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 15000);
|
||||
|
||||
@@ -121,7 +121,7 @@ class boss_mandokir : public CreatureScript
|
||||
uint64 JindoGUID = m_pInstance->GetData64(DATA_JINDO);
|
||||
if (JindoGUID)
|
||||
{
|
||||
if (Unit* jTemp = Unit::GetUnit(*me,JindoGUID))
|
||||
if (Unit* jTemp = Unit::GetUnit(*me, JindoGUID))
|
||||
{
|
||||
if (jTemp->isAlive())
|
||||
DoScriptText(SAY_GRATS_JINDO, jTemp);
|
||||
@@ -175,7 +175,7 @@ class boss_mandokir : public CreatureScript
|
||||
else
|
||||
{
|
||||
DoCast(pUnit, SPELL_CHARGE);
|
||||
//me->SendMonsterMove(pUnit->GetPositionX(), pUnit->GetPositionY(), pUnit->GetPositionZ(), 0, true,1);
|
||||
//me->SendMonsterMove(pUnit->GetPositionX(), pUnit->GetPositionY(), pUnit->GetPositionZ(), 0, true, 1);
|
||||
AttackStart(pUnit);
|
||||
}
|
||||
}
|
||||
@@ -186,7 +186,7 @@ class boss_mandokir : public CreatureScript
|
||||
|
||||
if ((Watch_Timer < 8000) && !someWatched) //8 sec(cast time + expire time) before the check for the watch effect mandokir will cast watch debuff on a random target
|
||||
{
|
||||
if (Unit* p = SelectTarget(SELECT_TARGET_RANDOM,0))
|
||||
if (Unit* p = SelectTarget(SELECT_TARGET_RANDOM, 0))
|
||||
{
|
||||
DoScriptText(SAY_WATCH, me, p);
|
||||
DoCast(p, SPELL_WATCH);
|
||||
|
||||
@@ -118,22 +118,22 @@ class boss_marli : public CreatureScript
|
||||
{
|
||||
DoScriptText(SAY_SPIDER_SPAWN, me);
|
||||
|
||||
Unit *pTarget = SelectTarget(SELECT_TARGET_RANDOM,0);
|
||||
Unit *pTarget = SelectTarget(SELECT_TARGET_RANDOM, 0);
|
||||
if (!pTarget)
|
||||
return;
|
||||
|
||||
Creature *Spider = NULL;
|
||||
|
||||
Spider = me->SummonCreature(15041,pTarget->GetPositionX(), pTarget->GetPositionY(), pTarget->GetPositionZ(),0, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 15000);
|
||||
Spider = me->SummonCreature(15041, pTarget->GetPositionX(), pTarget->GetPositionY(), pTarget->GetPositionZ(), 0, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 15000);
|
||||
if (Spider)
|
||||
Spider->AI()->AttackStart(pTarget);
|
||||
Spider = me->SummonCreature(15041,pTarget->GetPositionX(), pTarget->GetPositionY(), pTarget->GetPositionZ(),0, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 15000);
|
||||
Spider = me->SummonCreature(15041, pTarget->GetPositionX(), pTarget->GetPositionY(), pTarget->GetPositionZ(), 0, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 15000);
|
||||
if (Spider)
|
||||
Spider->AI()->AttackStart(pTarget);
|
||||
Spider = me->SummonCreature(15041,pTarget->GetPositionX(), pTarget->GetPositionY(), pTarget->GetPositionZ(),0, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 15000);
|
||||
Spider = me->SummonCreature(15041, pTarget->GetPositionX(), pTarget->GetPositionY(), pTarget->GetPositionZ(), 0, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 15000);
|
||||
if (Spider)
|
||||
Spider->AI()->AttackStart(pTarget);
|
||||
Spider = me->SummonCreature(15041,pTarget->GetPositionX(), pTarget->GetPositionY(), pTarget->GetPositionZ(),0, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 15000);
|
||||
Spider = me->SummonCreature(15041, pTarget->GetPositionX(), pTarget->GetPositionY(), pTarget->GetPositionZ(), 0, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 15000);
|
||||
if (Spider)
|
||||
Spider->AI()->AttackStart(pTarget);
|
||||
|
||||
@@ -142,11 +142,11 @@ class boss_marli : public CreatureScript
|
||||
|
||||
if (SpawnSpider_Timer <= diff)
|
||||
{
|
||||
Unit *pTarget = SelectTarget(SELECT_TARGET_RANDOM,0);
|
||||
Unit *pTarget = SelectTarget(SELECT_TARGET_RANDOM, 0);
|
||||
if (!pTarget)
|
||||
return;
|
||||
|
||||
Creature *Spider = me->SummonCreature(15041,pTarget->GetPositionX(), pTarget->GetPositionY(), pTarget->GetPositionZ(),0, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 15000);
|
||||
Creature *Spider = me->SummonCreature(15041, pTarget->GetPositionX(), pTarget->GetPositionY(), pTarget->GetPositionZ(), 0, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 15000);
|
||||
if (Spider)
|
||||
Spider->AI()->AttackStart(pTarget);
|
||||
SpawnSpider_Timer = 12000 + rand()%5000;
|
||||
@@ -163,10 +163,10 @@ class boss_marli : public CreatureScript
|
||||
DoCast(me->getVictim(), SPELL_ENVOLWINGWEB);
|
||||
|
||||
if (DoGetThreat(me->getVictim()))
|
||||
DoModifyThreatPercent(me->getVictim(),-100);
|
||||
DoModifyThreatPercent(me->getVictim(), -100);
|
||||
|
||||
PhaseTwo = true;
|
||||
Transform_Timer = urand(35000,60000);
|
||||
Transform_Timer = urand(35000, 60000);
|
||||
} else Transform_Timer -= diff;
|
||||
|
||||
if (PhaseTwo)
|
||||
@@ -178,7 +178,7 @@ class boss_marli : public CreatureScript
|
||||
while (i < 3) // max 3 tries to get a random target with power_mana
|
||||
{
|
||||
++i;
|
||||
pTarget = SelectTarget(SELECT_TARGET_RANDOM,1, 100, true); // not aggro leader
|
||||
pTarget = SelectTarget(SELECT_TARGET_RANDOM, 1, 100, true); // not aggro leader
|
||||
if (pTarget && pTarget->getPowerType() == POWER_MANA)
|
||||
i = 3;
|
||||
}
|
||||
@@ -186,7 +186,7 @@ class boss_marli : public CreatureScript
|
||||
{
|
||||
DoCast(pTarget, SPELL_CHARGE);
|
||||
//me->GetMap()->CreatureRelocation(me, pTarget->GetPositionX(), pTarget->GetPositionY(), pTarget->GetPositionZ(), 0);
|
||||
//me->SendMonsterMove(pTarget->GetPositionX(), pTarget->GetPositionY(), pTarget->GetPositionZ(), 0, true,1);
|
||||
//me->SendMonsterMove(pTarget->GetPositionX(), pTarget->GetPositionY(), pTarget->GetPositionZ(), 0, true, 1);
|
||||
AttackStart(pTarget);
|
||||
}
|
||||
|
||||
@@ -202,7 +202,7 @@ class boss_marli : public CreatureScript
|
||||
me->UpdateDamagePhysical(BASE_ATTACK);
|
||||
|
||||
PhaseTwo = false;
|
||||
TransformBack_Timer = urand(25000,40000);
|
||||
TransformBack_Timer = urand(25000, 40000);
|
||||
} else TransformBack_Timer -= diff;
|
||||
|
||||
}
|
||||
|
||||
@@ -93,7 +93,7 @@ class boss_renataki : public CreatureScript
|
||||
if (Ambush_Timer <= diff)
|
||||
{
|
||||
Unit *pTarget = NULL;
|
||||
pTarget = SelectTarget(SELECT_TARGET_RANDOM,0);
|
||||
pTarget = SelectTarget(SELECT_TARGET_RANDOM, 0);
|
||||
if (pTarget)
|
||||
{
|
||||
DoTeleportTo(pTarget->GetPositionX(), pTarget->GetPositionY(), pTarget->GetPositionZ());
|
||||
@@ -127,10 +127,10 @@ class boss_renataki : public CreatureScript
|
||||
if (Aggro_Timer <= diff)
|
||||
{
|
||||
Unit *pTarget = NULL;
|
||||
pTarget = SelectTarget(SELECT_TARGET_RANDOM,1);
|
||||
pTarget = SelectTarget(SELECT_TARGET_RANDOM, 1);
|
||||
|
||||
if (DoGetThreat(me->getVictim()))
|
||||
DoModifyThreatPercent(me->getVictim(),-50);
|
||||
DoModifyThreatPercent(me->getVictim(), -50);
|
||||
|
||||
if (pTarget)
|
||||
AttackStart(pTarget);
|
||||
|
||||
@@ -219,7 +219,7 @@ class boss_thekal : public CreatureScript
|
||||
{
|
||||
if (Charge_Timer <= diff)
|
||||
{
|
||||
if (Unit *pTarget = SelectTarget(SELECT_TARGET_RANDOM,0))
|
||||
if (Unit *pTarget = SelectTarget(SELECT_TARGET_RANDOM, 0))
|
||||
{
|
||||
DoCast(pTarget, SPELL_CHARGE);
|
||||
DoResetThreat();
|
||||
@@ -343,7 +343,7 @@ class mob_zealot_lorkhan : public CreatureScript
|
||||
if (!pThekal || !pZath)
|
||||
return;
|
||||
|
||||
switch (urand(0,1))
|
||||
switch (urand(0, 1))
|
||||
{
|
||||
case 0:
|
||||
if (me->IsWithinMeleeRange(pThekal))
|
||||
@@ -500,7 +500,7 @@ class mob_zealot_zath : public CreatureScript
|
||||
DoCast(me->getVictim(), SPELL_GOUGE);
|
||||
|
||||
if (DoGetThreat(me->getVictim()))
|
||||
DoModifyThreatPercent(me->getVictim(),-100);
|
||||
DoModifyThreatPercent(me->getVictim(), -100);
|
||||
|
||||
Gouge_Timer = 17000+rand()%10000;
|
||||
} else Gouge_Timer -= diff;
|
||||
|
||||
@@ -125,7 +125,7 @@ class boss_venoxis : public CreatureScript
|
||||
TargetInRange = 0;
|
||||
for (uint8 i = 0; i < 10; ++i)
|
||||
{
|
||||
if (Unit *pTarget = SelectTarget(SELECT_TARGET_TOPAGGRO,i))
|
||||
if (Unit *pTarget = SelectTarget(SELECT_TARGET_TOPAGGRO, i))
|
||||
if (me->IsWithinMeleeRange(pTarget))
|
||||
++TargetInRange;
|
||||
}
|
||||
@@ -144,7 +144,7 @@ class boss_venoxis : public CreatureScript
|
||||
|
||||
if (HolyFire_Timer < diff && TargetInRange < 3)
|
||||
{
|
||||
if (Unit *pTarget = SelectTarget(SELECT_TARGET_RANDOM,0))
|
||||
if (Unit *pTarget = SelectTarget(SELECT_TARGET_RANDOM, 0))
|
||||
DoCast(pTarget, SPELL_HOLY_FIRE);
|
||||
|
||||
HolyFire_Timer = 8000;
|
||||
@@ -174,7 +174,7 @@ class boss_venoxis : public CreatureScript
|
||||
|
||||
if (PhaseTwo && VenomSpit_Timer <= diff)
|
||||
{
|
||||
if (Unit *pTarget = SelectTarget(SELECT_TARGET_RANDOM,0))
|
||||
if (Unit *pTarget = SelectTarget(SELECT_TARGET_RANDOM, 0))
|
||||
DoCast(pTarget, SPELL_VENOMSPIT);
|
||||
|
||||
VenomSpit_Timer = 15000 + rand()%5000;
|
||||
|
||||
@@ -71,7 +71,7 @@ class boss_wushoolay : public CreatureScript
|
||||
if (LightningWave_Timer <= diff)
|
||||
{
|
||||
Unit *pTarget = NULL;
|
||||
pTarget = SelectTarget(SELECT_TARGET_RANDOM,0);
|
||||
pTarget = SelectTarget(SELECT_TARGET_RANDOM, 0);
|
||||
if (pTarget) DoCast(pTarget, SPELL_LIGHTNINGWAVE);
|
||||
|
||||
LightningWave_Timer = 12000 + rand()%4000;
|
||||
|
||||
Reference in New Issue
Block a user