From b5903fd3d824b4801252b13f614f9161410f08f2 Mon Sep 17 00:00:00 2001 From: Rat Date: Sun, 30 Aug 2009 13:25:21 +0200 Subject: *use random timers in coilfang ambusher script (lurker adds) so they don't oneshot the raid --HG-- branch : trunk --- .../outland/coilfang_resevoir/serpent_shrine/boss_lurker_below.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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; } -- cgit v1.2.3