mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-26 11:52:32 +01:00
Scripts/Spells: Remove unnecessary SetAnimationTier
(cherry picked from commit 8214278cd8)
This commit is contained in:
@@ -1822,15 +1822,9 @@ class spell_gen_gryphon_wyvern_mount_check : public AuraScript
|
||||
return;
|
||||
|
||||
if (owner->IsMounted())
|
||||
{
|
||||
target->SetAnimTier(AnimTier::Fly);
|
||||
target->SetDisableGravity(true);
|
||||
}
|
||||
else
|
||||
{
|
||||
target->SetAnimTier(AnimTier::Ground);
|
||||
target->SetDisableGravity(false);
|
||||
}
|
||||
}
|
||||
|
||||
void Register() override
|
||||
|
||||
Reference in New Issue
Block a user