mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 09:17:18 +00:00
Gruul: Add a minimum cooldown for Cave In (#893)
This commit is contained in:
committed by
Nefertumm
parent
fd696c6475
commit
74e8e79e54
@@ -103,7 +103,8 @@ class boss_gruul : public CreatureScript
|
||||
case EVENT_CAVE_IN:
|
||||
if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0))
|
||||
me->CastSpell(target, SPELL_CAVE_IN, false);
|
||||
_caveInTimer -= 1500;
|
||||
if (_caveInTimer >= 4000)
|
||||
_caveInTimer -= 1500;
|
||||
events.ScheduleEvent(EVENT_CAVE_IN, _caveInTimer);
|
||||
break;
|
||||
case EVENT_REVERBERATION:
|
||||
|
||||
Reference in New Issue
Block a user