DB/SpellRange
Jump to navigation
Jump to 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; };