DB/SpellShapeshiftForm: Difference between revisions

From wowdev
Jump to navigation Jump to search
Line 22: Line 22:
  2 ActionBar Integer
  2 ActionBar Integer
  3-19 Name [[Loc]]
  3-19 Name [[Loc]]
  20 Flags BitMask &1: CGUnit_C::CanCurrentFormMount; can interact?, &2: Breaks on casting (stealth), &4: force IsShapeShifted to true, &8: can-interact-special? (if not &1), &0x20: modify AttackPowerForAGI, &0x100: related to only_in_shapeshift, &0x400:  &0x1000: Something with EmoteSounds
  20 Flags BitMask
  21 [[CreatureType.dbc|CreatureType]] Integer -1 or 0 for getting overwritten by race or server.
  21 [[CreatureType.dbc|CreatureType]] Integer -1 or 0 for getting overwritten by race or server.
  22 [[SpellIcon.dbc|SpellIcon]] Integer Instead of "Interface\\Buttons\\Spell-Reset"
  22 [[SpellIcon.dbc|SpellIcon]] Integer Instead of "Interface\\Buttons\\Spell-Reset"
Line 28: Line 28:
  24-25 DisplayID[4] Integer {Alliance, Horde}
  24-25 DisplayID[4] Integer {Alliance, Horde}
  28-35 [[Spell.dbc|presetSpellID]][8] Integer Used for "Zombie", "Ghul", "Test", "Tharon'ja", available spells
  28-35 [[Spell.dbc|presetSpellID]][8] Integer Used for "Zombie", "Ghul", "Test", "Tharon'ja", available spells
==Flags==
0x0001 = CGUnit_C::CanCurrentFormMount; can interact?
0x0002 = breaks on casting (stealth)
0x0004 = force IsShapeShifted to true
0x0008 = can-interact-special? (if not &1)
0x0020 = modify AttackPowerForAGI
0x0100 = related to only_in_shapeshift
0x0400 =
0x1000 = something with EmoteSounds


==6.0.1.18179==
==6.0.1.18179==

Revision as of 14:02, 9 October 2017

0.5.3.3368

struct SpellShapeshiftFormRec {
  uint32_t m_ID;
  uint32_t m_bonusActionBar;
  langstringref m_name_lang;
  uint32_t m_flags;      // &:1 Forces true on IsShapeShifted checks. Only used by warrior stances CheckAndReportSpellInhibitFlags, CGUnit_C::IsShapeShifted
};

1.12.1.5875

struct SpellShapeshiftFormRec {
  uint32_t m_ID;
  uint32_t m_bonusActionBar;
  langstringref m_name_lang;
  uint32_t m_flags; 
  uint32_t m_creatureType;
  uint32_t spell_icon;
};

Structure

Column 	Field 			Type 		Notes 
1 	ID 			Integer 	
2 	ActionBar 		Integer 	
3-19 	Name 			Loc	
20 	Flags 			BitMask		
21 	CreatureType 		Integer 	-1 or 0 for getting overwritten by race or server.
22 	SpellIcon 		Integer 	Instead of "Interface\\Buttons\\Spell-Reset"	
23 	combatRoundTime 	Integer 	Only druid stances have a value. {2500, 1000} Default: 2000, has something to do with spellmanacost; attack speed in ms? - Maybe GlobalCooldown?
24-25 	DisplayID[4] 		Integer 	{Alliance, Horde}
28-35 	presetSpellID[8]	Integer 	Used for "Zombie", "Ghul", "Test", "Tharon'ja", available spells

Flags

0x0001 = CGUnit_C::CanCurrentFormMount; can interact?
0x0002 = breaks on casting (stealth)
0x0004 = force IsShapeShifted to true
0x0008 = can-interact-special? (if not &1)
0x0020 = modify AttackPowerForAGI
0x0100 = related to only_in_shapeshift
0x0400 = 
0x1000 = something with EmoteSounds

6.0.1.18179

struct SpellShapeshiftFormRec {
  uint32_t m_ID;
  uint32_t m_bonusActionBar;
  langstringref m_name_lang;
  uint32_t m_flags;
  uint32_t m_creatureType;
  uint32_t m_attackIconID;
  uint32_t m_combatRoundTime;
  uint32_t m_creatureDisplayID[4];
  uint32_t m_presetSpellID[8];
  uint32_t m_mountTypeID;
  uint32_t m_exitSoundEntriesID;
};