fix(Scripts/TempleOfAhnQiraj): Don't submerge Ouro if it's already en… (#13363)

...raged
This commit is contained in:
Angelo Venturini 2022-10-11 14:48:46 -03:00 committed by GitHub
parent 4e69f8e199
commit 9983c5a685
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -129,6 +129,9 @@ struct boss_ouro : public BossAI
void Submerge()
{
if (_enraged)
return;
me->AttackStop();
me->SetReactState(REACT_PASSIVE);
me->SetUnitFlag(UNIT_FLAG_NOT_SELECTABLE | UNIT_FLAG_NON_ATTACKABLE);