DB/SpellShapeshiftForm: Difference between revisions
Jump to navigation
Jump to search
Barncastle (talk | contribs) m (→0.5.3.3368) |
|||
(27 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
== | ==0.5.3.3368== | ||
struct SpellShapeshiftFormRec { | |||
uint32_t m_ID; | |||
uint32_t m_bonusActionBar; | |||
{{Template:Type|langstringref}} m_name_lang; | |||
uint32_t m_flags; // &:1 only, see flags | |||
}; | |||
==1.12.1.5875== | |||
struct SpellShapeshiftFormRec { | |||
uint32_t m_ID; | |||
uint32_t m_bonusActionBar; | |||
{{Template:Type|langstringref}} m_name_lang; | |||
uint32_t m_flags; | |||
uint32_t m_creatureType; | |||
uint32_t spell_icon; | |||
}; | |||
==Structure== | ==Structure== | ||
'''Column Field | '''Column Field Type Notes''' | ||
1 ID | 1 ID Integer | ||
2 ActionBar | 2 ActionBar Integer | ||
3-19 Name | 3-19 Name [[Loc]] | ||
20 Flags | 20 Flags BitMask | ||
21 [[CreatureType.dbc|CreatureType]] | 21 [[CreatureType.dbc|CreatureType]] Integer -1 or 0 for getting overwritten by race or server. | ||
22 [[SpellIcon.dbc|SpellIcon]] | 22 [[SpellIcon.dbc|SpellIcon]] Integer Instead of "Interface\\Buttons\\Spell-Reset" | ||
23 | 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[ | 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| | |||
===Flags=== | |||
0x0001 = simulates not being shapeshifted to allow mounts/items/interactions i.e. warrior stances <code>CGUnit_C::IsShapeShifted</code> | |||
0x0002 = prevents cancellation <code>Spell_C_CancelActiveSpell</code> | |||
0x0004 = | |||
0x0008 = allows interaction <code>CGPlayer_C::HandleInteraction, CGGameObject_C_TypeBase::Use</code> | |||
0x0010 = | |||
0x0020 = enables agility AP bonuses e.g. cat form <code>CGPlayer_C::GetAttackPowerContributionFromStat</code>; {{Template:Unverified|{{Template:Sandbox/VersionRange|min_expansionlevel=6|exclusive=0}} obsolete}} | |||
0x0040 = can equip items <code>CGItem_C::Use</code> | |||
0x0080 = can use items <code>CGItem_C::Use</code> | |||
0x0100 = allows client to auto-unshift <code>CGUnit_C::CanAutoUnshift</code> | |||
0x0200 = prevents LFG teleportation <code>Script_LFGTeleport</code> | |||
0x0400 = prevents the use of non-shapeshift form spells <code>CGUnit_C::CheckShapeshiftRules</code> | |||
0x0800 = if <code>m_flags & 1 != 0</code>, cancels shapeshift when interacting with flight masters <code>CGUnit_C::IsCancelShapeshiftAtFlightMaster</code> | |||
0x1000 = prevents emote sounds <code>CGUnit_C::PlayTextEmoteSound</code> | |||
==6.0.1.18179== | |||
struct SpellShapeshiftFormRec { | |||
uint32_t m_ID; | |||
uint32_t m_bonusActionBar; | |||
{{Template:Type|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; | |||
}; | |||
[[Category:DBC]] | [[Category:DBC]] | ||
[[Category:DBC_Alpha]] | |||
[[Category:DBC_Vanilla]] | |||
[[Category:DBC_WotLK]] | |||
[[Category:DBC_WoD]][[Category:6.0.1.18179]] |
Revision as of 20:43, 21 June 2018
0.5.3.3368
struct SpellShapeshiftFormRec { uint32_t m_ID; uint32_t m_bonusActionBar; langstringrefⁱ m_name_lang; uint32_t m_flags; // &:1 only, see flags };
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 = simulates not being shapeshifted to allow mounts/items/interactions i.e. warrior stancesCGUnit_C::IsShapeShifted
0x0002 = prevents cancellationSpell_C_CancelActiveSpell
0x0004 = 0x0008 = allows interactionCGPlayer_C::HandleInteraction, CGGameObject_C_TypeBase::Use
0x0010 = 0x0020 = enables agility AP bonuses e.g. cat formCGPlayer_C::GetAttackPowerContributionFromStat
; ≥ obsoleteᵘ 0x0040 = can equip itemsCGItem_C::Use
0x0080 = can use itemsCGItem_C::Use
0x0100 = allows client to auto-unshiftCGUnit_C::CanAutoUnshift
0x0200 = prevents LFG teleportationScript_LFGTeleport
0x0400 = prevents the use of non-shapeshift form spellsCGUnit_C::CheckShapeshiftRules
0x0800 = ifm_flags & 1 != 0
, cancels shapeshift when interacting with flight mastersCGUnit_C::IsCancelShapeshiftAtFlightMaster
0x1000 = prevents emote soundsCGUnit_C::PlayTextEmoteSound
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; };