DB/CreatureSpellData: Difference between revisions

From wowdev
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 2: Line 2:


{{Template:Sandbox/VersionRange|min_expansionlevel=1|max_expansionlevel=6}}
{{Template:Sandbox/VersionRange|min_expansionlevel=1|max_expansionlevel=6}}
==Structure==
{| style="background:#FCFCFC; color:black"
|-
! width="80" | Column
! width="180 " | Field
! width="80" | Type
! width="600" | Notes
|-
| 1  || ID  || Integer  ||
|-  style="background:#F0F8FF;"
| 2  || [[Spell.dbc|Spell]][4]  || iRefID  ||
|-
| 6  || CoolDown[4]  || Integer || Divide by 10 to get in seconds.
|}


==1.12.1.5875, 6.0.1.18179==
==1.12.1.5875, 6.0.1.18179==
  struct CreatureSpellDataRec {
  struct CreatureSpellDataRec {
   uint32_t m_ID;
   uint32_t m_ID;
   {{Template:Type/foreign_key|table=Spell}} m_spells[4];
   {{Type/foreign_key|table=Spell}} m_spells[4];
   uint32_t m_availability[4];
   uint32_t m_availability[4];                           // Divide by 10 to get in seconds.
  };
  };
[[Category:DBC]]
[[Category:DBC]]
[[Category:DBC_Vanilla]]
[[Category:DBC_Vanilla]]
[[Category:DBC_WotLK]]
[[Category:DBC_WotLK]]
[[Category:DBC_WoD]][[Category:6.0.1.18179]]
[[Category:DBC_WoD]][[Category:6.0.1.18179]]

Latest revision as of 17:35, 1 January 2020

It determines information on what spells pets will have after they are tamed by Hunters.

Vanilla … WoD

1.12.1.5875, 6.0.1.18179

struct CreatureSpellDataRec {
  uint32_t m_ID;
  foreign_key<uint32_t, &SpellRec::m_ID> m_spells[4];
  uint32_t m_availability[4];                           // Divide by 10 to get in seconds. 
};