DB/SpellDuration: Difference between revisions

From wowdev
Jump to navigation Jump to search
(New page: *Duration is in milliseconds. ($x/1000) *Called from column 29 in Spell.dbc ==Header Info == Records....................94 Fields......................4 Record Size..................)
 
m (Reverted edits by Schlumpf (talk) to last revision by Barncastle)
 
(14 intermediate revisions by 5 users not shown)
Line 1: Line 1:
*Duration is in milliseconds. ($x/1000)  
*Duration is in milliseconds. ($x*1000, making 4 seconds 4000ms)  
*Called from column 29 in [[Spell.dbc]]
*Called from column 13 in [[Spell.dbc]]


==Header Info ==
==0.5.3.3368, 1.12.1.5875, 6.0.1.18179==
Records....................94
  struct SpellDurationRec {
  Fields......................4
  uint32_t m_ID;
  Record Size................16
  uint32_t m_duration;
  String Block Size...........1
  uint32_t m_durationPerLevel; // Amount of milliseconds added per spell level
  uint32_t m_maxDuration;      // Absolute maximum spell duration
  };


==Structure==  
==Structure==
'''Column Field Type Notes'''
1 ID Integer
2 base duration Integer
3 per level Integer
4 max duration Integer Longest duration possible.


Retrieved from "http://www.sourcepeek.com/wiki/SpellDuration.dbc"
{| style="background:#FCFCFC; color:black"
|-
! width="80" | Column
! width="180" | Field
! width="80" | Type
! width="500" | Notes
|- style="background:#E0E0E0;"
| 1  || ID || Integer ||
|-
| 2  || BaseDuration || Integer ||
|- style="background:#E0E0E0;"
| 3  || PerLevel || Integer ||
|-
| 4  || MaxDuration || Integer || Longest duration possible.
|}


[[Category:DBC]]
[[Category:DBC]]
[[Category:DBC_Alpha]]
[[Category:DBC_Vanilla]]
[[Category:DBC_BC]]
[[Category:DBC_WotLK]]
[[Category:DBC_Cataclysm]]
[[Category:DBC_MoP]]
[[Category:4.0.3.13329]]
[[Category:DBC_WoD]][[Category:6.0.1.18179]]

Latest revision as of 13: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.