Core/Players: 310% mounted speed is identified by riding skill 375, no need for a custom flag anymore.

This commit is contained in:
Shauren committed 2012-05-30 13:15:51 +02:00
1 parent 774f3cdc9b
commit 853f96217d
7 files changed
+23 -75

No files matched your search

+1 -1
View File
@@ -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;
}