Skip to main content

Module scaling

Module scaling 

Source
Expand description

Level, item-level, and enchantment scaling policy over resolved tables.

Constants§

CR_MULTIPLIER_BASE_ILVL
Item level at which the armor combat-rating multiplier is sampled for -7 scaling.
EXPANSION_LEVEL_SCALING
Continuous level-scaling rows use ExpectedStat.ExpansionID == -2.
SCALING_CLASS_ARMOR_MULTIPLIED
scaling_class -7: budget reads the item column scaled by the ilvl-1 armor CR multiplier.
SCALING_CLASS_DAMAGE_REPLACE_STAT
scaling_class -8 (DAMAGE_REPLACE_STAT): budget reads the damage_replace_stat column.
SCALING_CLASS_DAMAGE_SECONDARY
scaling_class -9 (DAMAGE_SECONDARY): budget reads the damage_secondary column.
SCALING_CLASS_PRIMARY_STAT
scaling_class -1: budget reads the primary-stat item column without an armor multiplier.

Functions§

enchant_scaling_column 🔒
enchantment_stat_value
Returns a flat stat amount for an enchantment effect.
item_effect_scaling_budget
Item-level budget used by a DBC spell effect with no backing item instance.
item_scaled_effect_value
Resolves one effect’s coefficient against the item-level budget selected by its scaling class.
spell_scaling_budget
Spell-scaling budget for scaling_class at level; None when the level row is absent.