benilla-re systems structs docs

SpellRec

struct · dbc · 692 bytes

Meaning
Holds one Spell.dbc row
Confidence
inferred
Finding
spell/records#record-lookups

Finding: Record lookups in spell: records

Every getter finds a record the same way: an id below 0 or above the store's +0x0c bound, or a null pointer in the store's +0x08 table at that id, is no record. The stores are Spell.dbc 0xc0d780, SpellRange.dbc 0xc0d794, SpellDuration.dbc 0xc0d820, SpellCastTimes.dbc 0xc0d870 and ChrClasses.dbc 0xc0deec.

The derivation is in the doc.

Fields 26

offsetsizetypenamemeaningconfidencefinding
0x00004uint32_tm_idHolds the record's id, which the level lookup and the histories takeverified, proof onespell/records#effect-amount-formula
0x00044uint32_tm_schoolIndexes the unit's per-school cost modifier and multiplierverified, proof onespell/records#power-cost
0x00184uint32_tm_attributesHolds flags: 0x404 fixes the range, 0x30 skips cast speed, bit 1 the ranged item, bit 25 the held flagverified, proof onespell/records#range
0x00244uint32_tm_attributesEx3Holds flags; bit 29 makes the record take no talent modifierverified, proof onespell/records#modifier-sums
0x00484uint32_tm_castingTimeIndexNames the SpellCastTimes rowverified, proof onespell/records#cast-time
0x006c4int32_tm_maxLevelCaps the slot 42 level value at itself times 5 when positiveverified, proof onespell/records#caster-level
0x00704int32_tm_baseLevelIs subtracted from the caster level in every level termverified, proof onespell/records#effect-amount-formula
0x00784uint32_tm_durationIndexNames the SpellDuration rowverified, proof onespell/records#duration
0x007c4int32_tm_powerTypeSelects the base a percentage cost scalesverified, proof onespell/records#power-cost
0x00804int32_tm_manaCostHolds the base power costverified, proof onespell/records#power-cost
0x00844int32_tm_manaCostPerLevelHolds the power cost added per levelverified, proof onespell/records#power-cost
0x00884int32_tm_manaPerSecondHolds the base power per secondverified, proof onespell/records#power-cost
0x008c4int32_tm_manaPerSecondPerLevelHolds the power per second added per levelverified, proof onespell/records#power-cost
0x00904uint32_tm_rangeIndexNames the SpellRange rowverified, proof onespell/records#range
0x00f412uint32_t[3]m_effectHolds each effect's code, which the effect classifier readsverified, proof onespell/records#effect-amount-formula
0x010012int32_t[3]m_effectDieSidesMultiplies the dice count in each effect's maximumverified, proof onespell/records#effect-amount-formula
0x010c12int32_t[3]m_effectBaseDiceHolds each effect's dice count at the base levelverified, proof onespell/records#effect-amount-formula
0x011812int32_t[3]m_effectDicePerLevelHolds each effect's dice added per levelverified, proof onespell/records#effect-amount-formula
0x012412float[3]m_effectRealPointsPerLevelHolds each effect's float amount added per levelverified, proof onespell/records#effect-amount-formula
0x013012int32_t[3]m_effectBasePointsHolds each effect's integer base amountverified, proof onespell/records#effect-amount-formula
0x016c12uint32_t[3]m_effectApplyAuraNameHolds each effect's aura code, which selects the effect amount's modifier opsverified, proof onespell/records#effect-amount-modifiers-and-rounding
0x02704int32_tm_manaCostPctHolds the percent of the power base added to the costverified, proof onespell/records#power-cost
0x02744uint32_tm_startRecoveryCategoryHolds the global cooldown categoryverified, proof onespell/records#global-cooldown-start
0x02784int32_tm_startRecoveryTimeHolds the global cooldown time in ms, before op 21verified, proof onespell/records#global-cooldown-start
0x02804uint32_tm_spellClassSetHolds the spell family the modifier sums compare with the class'sverified, proof onespell/records#modifier-sums
0x02848uint32_t[2]m_spellClassMaskHolds the 64-bit family mask, low dword first, whose bits select modifier cellsverified, proof onespell/records#modifier-sums