benilla-re systems structs docs

SpellDurationRec

struct · dbc · 16 bytes

Meaning
Holds one SpellDuration.dbc row: id, duration, per-level duration and maximum in ms
Confidence
inferred
Finding
spell/records#duration

Finding: Duration in spell: records

0x6ea000(spell, pet, unmodified) returns 0 for a null record or no SpellDuration row at +0x78. Else d = (L − base)·perLevel + duration from the row's +0x08 and +0x04, replaced by the row's +0x0c unless below it; then, unless unmodified, the integer applier with op 1. The level term is not floored and nothing is clamped.

The derivation is in the doc.

Fields 3

offsetsizetypenamemeaningconfidencefinding
0x00044int32_tm_durationHolds the duration at the base level, in msverified, proof onespell/records#duration
0x00084int32_tm_durationPerLevelHolds the duration added per level above the base levelverified, proof onespell/records#duration
0x000c4int32_tm_maxDurationHolds the cap the level-scaled duration is lowered toverified, proof onespell/records#duration