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