Core/Players: 310% mounted speed is identified by riding skill 375, no need for a custom flag anymore.
This commit is contained in:
1 parent
774f3cdc9b
commit
853f96217d
7 files changed
+23
-75
No files matched your search
@@ -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