2881 {
2884 {
2887
2889
2890
2891 if (flyspeed >= 4.1f)
2892
2894 else if (flyspeed >= 3.8f)
2895
2897 else if (flyspeed >= 1.6f)
2898
2900 else if (speed >= 2.0f)
2901
2903 else
2904
2906 }
2907 }
@ MOVE_FLIGHT
Definition: UnitDefines.h:334
@ MOVE_RUN
Definition: UnitDefines.h:329
@ SPELL_AURA_MOUNTED
Definition: SpellAuraDefines.h:141
@ SPELL_REINDEER_60
Definition: spell_item.cpp:2861
@ SPELL_REINDEER_100
Definition: spell_item.cpp:2860
@ SPELL_FLYING_REINDEER_280
Definition: spell_item.cpp:2858
@ SPELL_FLYING_REINDEER_310
Definition: spell_item.cpp:2857
@ SPELL_FLYING_REINDEER_60
Definition: spell_item.cpp:2859
bool HasAuraType(AuraType auraType) const
Definition: Unit.cpp:5676
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:1168
float GetSpeedRate(UnitMoveType mtype) const
Definition: Unit.h:1587
void RemoveAurasByType(AuraType auraType, ObjectGuid casterGUID=ObjectGuid::Empty, Aura *except=nullptr, bool negative=true, bool positive=true)
Definition: Unit.cpp:5081
Unit * GetCaster()
Definition: SpellScript.cpp:401