DB/SpellCategory: Difference between revisions

From wowdev
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 6: Line 6:
! width="180" | Field  
! width="180" | Field  
! width="80" | Type  
! width="80" | Type  
! width="500" | Notes
|- style="background:#E0E0E0;"
|- style="background:#E0E0E0;"
| 1  || ID || Integer ||
| 1  || ID || Integer ||

Revision as of 10:55, 1 September 2018

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
0x4 	4 	 	SPELL_CATEGORY_FLAG_COOLDOWN_STARTS_ON_EVENT
0x8 	8 	 	SPELL_CATEGORY_FLAG_COOLDOWN_EXPIRES_AT_DAILY_RESET

Смердокрыл 1st September 2018

1.12.1.5875

struct SpellCategoryRec {
  uint32_t m_ID;
  uint32_t m_flags;
};

Media:==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;
};