Core/Players: Fixed mounts using MOUNT_FLAG_SELF_MOUNT flag (#21558)
This commit is contained in:
@@ -2892,10 +2892,8 @@ class spell_gen_replenishment : public SpellScriptLoader
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
enum RunningWildMountIds
|
||||
{
|
||||
RUNNING_WILD_MODEL = 73200,
|
||||
SPELL_ALTERED_FORM = 97709
|
||||
};
|
||||
|
||||
@@ -2910,7 +2908,7 @@ class spell_gen_running_wild : public SpellScriptLoader
|
||||
|
||||
bool Validate(SpellInfo const* /*spell*/) override
|
||||
{
|
||||
if (!sCreatureDisplayInfoStore.LookupEntry(RUNNING_WILD_MODEL))
|
||||
if (!sCreatureDisplayInfoStore.LookupEntry(DISPLAYID_HIDDEN_MOUNT))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
@@ -2920,7 +2918,7 @@ class spell_gen_running_wild : public SpellScriptLoader
|
||||
Unit* target = GetTarget();
|
||||
PreventDefaultAction();
|
||||
|
||||
target->Mount(RUNNING_WILD_MODEL, 0, 0);
|
||||
target->Mount(DISPLAYID_HIDDEN_MOUNT, 0, 0);
|
||||
|
||||
// cast speed aura
|
||||
if (MountCapabilityEntry const* mountCapability = sMountCapabilityStore.LookupEntry(aurEff->GetAmount()))
|
||||
|
||||
Reference in New Issue
Block a user