DB/SpellCategory: Difference between revisions
Jump to navigation
Jump to search
(New page: ==Header Info == Records...................193 Fields......................2 Record Size.................8 String Block Size...........1 ==Structure== '''Column Field Type Notes'...) |
No edit summary |
||
(16 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
== | ==7.3.5.26972== | ||
===Structure=== | |||
{| style="background:#FCFCFC; color:black" | |||
|- | |||
! width="80" | Column | |||
! width="180" | Field | |||
! width="80" | Type | |||
|- style="background:#E0E0E0;" | |||
| 1 || ID || Integer || | |||
|- | |||
| 2 || Name || String || | |||
|-style="background:#E0E0E0;" | |||
| 3 ||ChargeRecoveryTime|| Integer || | |||
|- | |||
| 4 ||Flags||Integer|| | |||
|-style="background:#E0E0E0;" | |||
| 5 ||UsesPerWeek||Integer|| | |||
|- | |||
| 6 ||MaxCharges||Integer|| | |||
|-style="background:#E0E0E0;" | |||
| 7 ||TypeMask||Integer|| | |||
|} | |||
===Flags=== | |||
'''Hex Decimal Flag''' | |||
0x1 1 SPELL_CATEGORY_FLAG_COOLDOWN_SCALES_WITH_WEAPON_SPEED | |||
0x2 2 <code>SpellHistory::GetCooldown</code> | |||
0x4 4 SPELL_CATEGORY_FLAG_COOLDOWN_STARTS_ON_EVENT | |||
0x8 8 SPELL_CATEGORY_FLAG_COOLDOWN_EXPIRES_AT_DAILY_RESET | |||
[[User:Смердокрыл|Смердокрыл]] 1st September 2018 | |||
===Flags (TBC Classic)=== | |||
'''Hex Decimal Flag''' | |||
0x01 1 Cooldown modifies item | |||
0x02 2 Cooldown is global | |||
0x04 4 Cooldown event on leave combat | |||
0x08 8 Cooldown in days | |||
0x10 16 Reset charges upon ending encounter | |||
0x20 32 Cooldown in days | |||
0x40 64 Reset cooldown upon ending encounter | |||
==1.12.1.5875== | |||
struct SpellCategoryRec { | |||
uint32_t m_ID; | |||
uint32_t m_flags; | |||
}; | |||
==Structure== | ==Structure== | ||
'''Column Field Type Notes''' | '''Column Field Type Notes''' | ||
1 ID Integer | 1 ID Integer | ||
2 | 2 flags Integer ID.170 = 1; ID.351 = 2; | ||
==6.0.1.18179== | |||
struct SpellCategoryRec { | |||
uint32_t m_ID; | |||
uint32_t m_flags; | |||
uint8_t m_usesPerWeek; | |||
uint8_t padding_0[3]; | |||
{{Template:Type|stringref}} m_name_lang; | |||
uint32_t m_maxCharges; | |||
uint32_t m_chargeRecoveryTime; | |||
}; | |||
[[Category:DBC]] | |||
[[Category:DBC_Vanilla]] | |||
[[Category:DBC_WotLK]] | |||
[[Category:DBC_WoD]][[Category:6.0.1.18179]] |
Latest revision as of 23:48, 25 August 2021
7.3.5.26972
Structure
Column | Field | Type | |
---|---|---|---|
1 | ID | Integer | |
2 | Name | String | |
3 | ChargeRecoveryTime | Integer | |
4 | Flags | Integer | |
5 | UsesPerWeek | Integer | |
6 | MaxCharges | Integer | |
7 | TypeMask | Integer |
Flags
Hex Decimal Flag
0x1 1 SPELL_CATEGORY_FLAG_COOLDOWN_SCALES_WITH_WEAPON_SPEED
0x2 2 SpellHistory::GetCooldown
0x4 4 SPELL_CATEGORY_FLAG_COOLDOWN_STARTS_ON_EVENT
0x8 8 SPELL_CATEGORY_FLAG_COOLDOWN_EXPIRES_AT_DAILY_RESET
Смердокрыл 1st September 2018
Flags (TBC Classic)
Hex Decimal Flag 0x01 1 Cooldown modifies item 0x02 2 Cooldown is global 0x04 4 Cooldown event on leave combat 0x08 8 Cooldown in days 0x10 16 Reset charges upon ending encounter 0x20 32 Cooldown in days 0x40 64 Reset cooldown upon ending encounter
1.12.1.5875
struct SpellCategoryRec { uint32_t m_ID; uint32_t m_flags; };
Structure
Column Field Type Notes 1 ID Integer 2 flags Integer ID.170 = 1; ID.351 = 2;
6.0.1.18179
struct SpellCategoryRec { uint32_t m_ID; uint32_t m_flags; uint8_t m_usesPerWeek; uint8_t padding_0[3]; stringrefⁱ m_name_lang; uint32_t m_maxCharges; uint32_t m_chargeRecoveryTime; };