mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-24 19:06:49 +01:00
Scripts/GB: make General Umbriss passive during his Ground Siege casting to prevent facing issues
This commit is contained in:
@@ -53,6 +53,7 @@ enum Events
|
||||
EVENT_BLITZ,
|
||||
EVENT_GROUND_SIEGE,
|
||||
EVENT_SUMMON_SKARDYN,
|
||||
EVENT_MAKE_AGGRESSIVE,
|
||||
|
||||
// Skardyn
|
||||
EVENT_ATTACK_PLAYER,
|
||||
@@ -155,10 +156,13 @@ struct boss_general_umbriss : public BossAI
|
||||
DoCast(summon, SPELL_BLITZ);
|
||||
break;
|
||||
case NPC_GROUND_SIEGE_STALKER:
|
||||
me->AttackStop();
|
||||
me->SetReactState(REACT_PASSIVE);
|
||||
me->StopMoving();
|
||||
me->SetFacingToObject(summon);
|
||||
DoCast(summon, SPELL_GROUND_SIEGE);
|
||||
Talk(SAY_ANNOUNCE_GROUND_SIEGE);
|
||||
events.ScheduleEvent(EVENT_MAKE_AGGRESSIVE, Seconds(4) + Milliseconds(500));
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
@@ -220,6 +224,9 @@ struct boss_general_umbriss : public BossAI
|
||||
}
|
||||
events.Repeat(Seconds(23));
|
||||
break;
|
||||
case EVENT_MAKE_AGGRESSIVE:
|
||||
me->SetReactState(REACT_AGGRESSIVE);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user