mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 08:55:32 +01:00
Scripts/Spells: Remove unnecessary SetAnimationTier
This commit is contained in:
@@ -1920,15 +1920,9 @@ class spell_gen_gryphon_wyvern_mount_check : public AuraScript
|
||||
return;
|
||||
|
||||
if (owner->IsMounted())
|
||||
{
|
||||
target->SetAnimationTier(AnimationTier::Fly);
|
||||
target->SetDisableGravity(true);
|
||||
}
|
||||
else
|
||||
{
|
||||
target->SetAnimationTier(AnimationTier::Ground);
|
||||
target->SetDisableGravity(false);
|
||||
}
|
||||
}
|
||||
|
||||
void Register() override
|
||||
|
||||
Reference in New Issue
Block a user