diff options
| author | Rat <none@none> | 2009-08-30 13:25:21 +0200 |
|---|---|---|
| committer | Rat <none@none> | 2009-08-30 13:25:21 +0200 |
| commit | b5903fd3d824b4801252b13f614f9161410f08f2 (patch) | |
| tree | f8ab55c6adb4235a62628fbd0f07563ff866e9cc /src | |
| parent | d6017f3ef82e08b5620f6aaee2db90a5fdff3c53 (diff) | |
*use random timers in coilfang ambusher script (lurker adds) so they don't oneshot the raid
--HG--
branch : trunk
Diffstat (limited to 'src')
| -rw-r--r-- | src/bindings/scripts/scripts/outland/coilfang_resevoir/serpent_shrine/boss_lurker_below.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bindings/scripts/scripts/outland/coilfang_resevoir/serpent_shrine/boss_lurker_below.cpp b/src/bindings/scripts/scripts/outland/coilfang_resevoir/serpent_shrine/boss_lurker_below.cpp index 81df36cf986..d82bcc66ff0 100644 --- a/src/bindings/scripts/scripts/outland/coilfang_resevoir/serpent_shrine/boss_lurker_below.cpp +++ b/src/bindings/scripts/scripts/outland/coilfang_resevoir/serpent_shrine/boss_lurker_below.cpp @@ -411,7 +411,7 @@ struct TRINITY_DLL_DECL mob_coilfang_ambusherAI : public Scripted_NoMovementAI if (m_creature->getVictim()) DoCast(m_creature->getVictim(), SPELL_SPREAD_SHOT, true); - MultiShotTimer = 10000; + MultiShotTimer = 10000+rand()%10000; ShootBowTimer += 1500;//add global cooldown }else MultiShotTimer -= diff; @@ -422,7 +422,7 @@ struct TRINITY_DLL_DECL mob_coilfang_ambusherAI : public Scripted_NoMovementAI int bp0 = 1100; if (target) m_creature->CastCustomSpell(target,SPELL_SHOOT,&bp0,NULL,NULL,true); - ShootBowTimer = 4000; + ShootBowTimer = 4000+rand()%5000; MultiShotTimer += 1500;//add global cooldown }else ShootBowTimer -= diff; } |
