DB/SpellRange

From wowdev
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

0.5.3.3368 - 2.4.3.8606

struct SpellRangeRec {
  uint32_t m_ID;
  float m_rangeMin;
  float m_rangeMax;
  uint32_t m_flags;        // &:1 - Use combat reach range Spell_C_GetMinMaxRange
  langstringref m_displayName_lang;
  langstringref m_displayNameShort_lang;
};

3.3.5.12340 - 6.0.1.18179

Column Field Type Notes
1 ID Integer
2 MinRangeHostile Float
3 MinRangeFriend Float
4 MaxRangeHostile Float
5 MaxRangeFriend Float
6 Flags Integer 1 = Combat range, 2 = Long range spell
7 - 23 DisplayName Loc Long name / description
24 - 40 DisplayNameShort Loc Sort of an identification ?

Struct

struct SpellRangeRec {
  uint32_t m_ID;
  float m_rangeMin[2];
  float m_rangeMax[2];
  uint32_t m_flags;         // &1: Combat range, &2: Long range player spells i.e. aimed shot, fireball
  langstringref m_displayName_lang;
  langstringref m_displayNameShort_lang;
};