*Implemented range flag from SpellRange.dbc
--HG-- branch : trunk
This commit is contained in:
+1
-1
@@ -272,7 +272,7 @@ SpellSpecific GetSpellSpecific(uint32 spellId);
|
||||
// Different spell properties
|
||||
inline float GetSpellRadius(SpellRadiusEntry const *radius) { return (radius ? radius->Radius : 0); }
|
||||
uint32 GetSpellCastTime(SpellEntry const* spellInfo, Spell const* spell = NULL);
|
||||
inline float GetSpellMinRange(SpellRangeEntry const *range) { return (range ? range->minRange : 0); }
|
||||
float GetSpellMinRange(SpellRangeEntry const *range);
|
||||
inline float GetSpellMaxRange(SpellRangeEntry const *range) { return (range ? range->maxRange : 0); }
|
||||
inline uint32 GetSpellRecoveryTime(SpellEntry const *spellInfo) { return spellInfo->RecoveryTime > spellInfo->CategoryRecoveryTime ? spellInfo->RecoveryTime : spellInfo->CategoryRecoveryTime; }
|
||||
int32 GetSpellDuration(SpellEntry const *spellInfo);
|
||||
|
||||
Reference in New Issue
Block a user