2882 {
2885 {
2888
2890
2891
2892 if (flyspeed >= 4.1f)
2893
2895 else if (flyspeed >= 3.8f)
2896
2898 else if (flyspeed >= 1.6f)
2899
2901 else if (speed >= 2.0f)
2902
2904 else
2905
2907 }
2908 }
@ SPELL_REINDEER_60
Definition: spell_item.cpp:2862
@ SPELL_REINDEER_100
Definition: spell_item.cpp:2861
@ SPELL_FLYING_REINDEER_280
Definition: spell_item.cpp:2859
@ SPELL_FLYING_REINDEER_310
Definition: spell_item.cpp:2858
@ SPELL_FLYING_REINDEER_60
Definition: spell_item.cpp:2860
@ SPELL_AURA_MOUNTED
Definition: SpellAuraDefines.h:141
@ MOVE_FLIGHT
Definition: UnitDefines.h:334
@ MOVE_RUN
Definition: UnitDefines.h:329
bool HasMountedAura() const
Definition: Unit.h:1660
SpellCastResult CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition: Unit.cpp:1167
float GetSpeedRate(UnitMoveType mtype) const
Definition: Unit.h:1601
void RemoveAurasByType(AuraType auraType, ObjectGuid casterGUID=ObjectGuid::Empty, Aura *except=nullptr, bool negative=true, bool positive=true)
Definition: Unit.cpp:5110
Unit * GetCaster()
Definition: SpellScript.cpp:401