mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-27 15:46:24 +00:00
fix(Scripts/SSC): make sure Vashj doesn't move during P2 (#18187)
* initial commit * final
This commit is contained in:
@@ -174,11 +174,10 @@ struct boss_lady_vashj : public BossAI
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
me->AddUnitState(UNIT_STATE_ROOT);
|
||||
me->SetFacingTo(me->GetHomePosition().GetOrientation());
|
||||
instance->SetData(DATA_ACTIVATE_SHIELD, 0);
|
||||
scheduler.CancelAll();
|
||||
|
||||
scheduler.Schedule(2400ms, [this](TaskContext context)
|
||||
{
|
||||
DoCastRandomTarget(SPELL_FORKED_LIGHTNING);
|
||||
@@ -204,6 +203,7 @@ struct boss_lady_vashj : public BossAI
|
||||
if (!me->HasAura(SPELL_MAGIC_BARRIER))
|
||||
{
|
||||
Talk(SAY_PHASE3);
|
||||
me->ClearUnitState(UNIT_STATE_ROOT);
|
||||
me->SetReactState(REACT_AGGRESSIVE);
|
||||
me->GetMotionMaster()->MoveChase(me->GetVictim());
|
||||
scheduler.CancelAll();
|
||||
|
||||
Reference in New Issue
Block a user