mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-29 05:11:55 +01:00
Core/Players: 310% mounted speed is identified by riding skill 375, no need for a custom flag anymore.
This commit is contained in:
@@ -312,7 +312,7 @@ class spell_dru_swift_flight_passive : public SpellScriptLoader
|
||||
void CalculateAmount(AuraEffect const* /*aurEff*/, int32 & amount, bool & /*canBeRecalculated*/)
|
||||
{
|
||||
if (Player* caster = GetCaster()->ToPlayer())
|
||||
if (caster->Has310Flyer(false))
|
||||
if (caster->GetSkillValue(SKILL_RIDING) >= 375)
|
||||
amount = 310;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user