DB/SpellDuration: Difference between revisions

From wowdev
Jump to navigation Jump to search
mNo edit summary
m (Reverted edits by Schlumpf (talk) to last revision by Barncastle)
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:
*Called from column 13 in [[Spell.dbc]]
*Called from column 13 in [[Spell.dbc]]


==0.5.3.3368, 1.12.1.5875==
==0.5.3.3368, 1.12.1.5875, 6.0.1.18179==
  struct SpellDurationRec {
  struct SpellDurationRec {
   uint32_t m_ID;
   uint32_t m_ID;
Line 10: Line 10:
  };
  };


==4.0.3.13329==
==Structure==


{| style="background:#FCFCFC; color:black"
{| style="background:#FCFCFC; color:black"
Line 28: Line 28:
|}
|}


==6.0.1.18179==
struct SpellDurationRec {
  uint32_t m_ID;
  uint32_t m_duration;
  uint32_t m_durationPerLevel;
  uint32_t m_maxDuration;
};
[[Category:DBC]]
[[Category:DBC]]
[[Category:DBC_Alpha]]
[[Category:DBC_Alpha]]

Latest revision as of 12:11, 25 October 2017

  • Duration is in milliseconds. ($x*1000, making 4 seconds 4000ms)
  • Called from column 13 in Spell.dbc

0.5.3.3368, 1.12.1.5875, 6.0.1.18179

struct SpellDurationRec {
  uint32_t m_ID;
  uint32_t m_duration;
  uint32_t m_durationPerLevel;  // Amount of milliseconds added per spell level
  uint32_t m_maxDuration;       // Absolute maximum spell duration
};

Structure

Column Field Type Notes
1 ID Integer
2 BaseDuration Integer
3 PerLevel Integer
4 MaxDuration Integer Longest duration possible.