fix(Scripts/Oculus): preserve warrior stances when boarding drakes (#25149)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
a4136cc8b9
commit
70278b5d99
1 changed files with 2 additions and 1 deletions
|
|
@ -817,7 +817,8 @@ class spell_oculus_rider_aura : public AuraScript
|
|||
_drakeGUID = drake->GetGUID();
|
||||
caster->AddAura(SPELL_DRAKE_FLAG_VISUAL, caster);
|
||||
caster->SetUnitFlag(UNIT_FLAG_NON_ATTACKABLE);
|
||||
caster->RemoveAurasByType(SPELL_AURA_MOD_SHAPESHIFT);
|
||||
if (caster->IsInDisallowedMountForm())
|
||||
caster->RemoveAurasByType(SPELL_AURA_MOD_SHAPESHIFT);
|
||||
drake->CastSpell(drake, SPELL_SOAR_TRIGGER);
|
||||
if (drake->GetEntry() == NPC_RUBY_DRAKE)
|
||||
drake->CastSpell(drake, SPELL_RUBY_EVASIVE_AURA);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue