DB/SpellDuration: Difference between revisions

From wowdev
Jump to navigation Jump to search
mNo edit summary
Line 6: Line 6:
   uint32_t m_ID;
   uint32_t m_ID;
   uint32_t m_duration;
   uint32_t m_duration;
   uint32_t m_durationPerLevel;
   uint32_t m_durationPerLevel; // Amount of milliseconds added per spell level
   uint32_t m_maxDuration;
   uint32_t m_maxDuration;       // Absolute maximum spell duration
  };
  };
==4.0.3.13329==
==4.0.3.13329==



Revision as of 22:24, 7 September 2017

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

0.5.3.3368

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
};

4.0.3.13329

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

6.0.1.18179

struct SpellDurationRec {
  uint32_t m_ID;
  uint32_t m_duration;
  uint32_t m_durationPerLevel;
  uint32_t m_maxDuration;
};