mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-23 13:46:24 +00:00
fix(Scripts/ToC): solved issue twin valkyr's ball (#6352)
- Closes https://github.com/azerothcore/azerothcore-wotlk/issues/4903
This commit is contained in:
@@ -275,7 +275,9 @@ struct boss_twin_valkyrAI : public ScriptedAI
|
||||
if( me->HasUnitState(UNIT_STATE_CASTING) )
|
||||
return;
|
||||
|
||||
switch( events.ExecuteEvent() )
|
||||
uint8 eventId = events.ExecuteEvent();
|
||||
|
||||
switch(eventId)
|
||||
{
|
||||
case 0:
|
||||
break;
|
||||
@@ -293,7 +295,6 @@ struct boss_twin_valkyrAI : public ScriptedAI
|
||||
case EVENT_SUMMON_BALLS_2:
|
||||
case EVENT_SUMMON_BALLS_3:
|
||||
{
|
||||
uint8 eventId = events.ExecuteEvent();
|
||||
uint8 count = 0;
|
||||
if( IsHeroic() )
|
||||
count = eventId == EVENT_SUMMON_BALLS_3 ? 36 : 6;
|
||||
|
||||
Reference in New Issue
Block a user