DB/SpellRange

From wowdev
Jump to: navigation, search

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;
};