mirror of
https://gitcode.com/GitHub_Trending/az/azerothcore-wotlk.git
synced 2026-10-10 07:06:38 +08:00
fix(Scripts/Oculus): preserve warrior stances when boarding drakes (#25149)
Co-authored-by: Claude Opus 4.6 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
a4136cc8b9
commit
70278b5d99
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user