Expand description
Stat and rating recomputation. Secondary/tertiary stats on CombatStats are stored as percent points (25.0 = 25%), never as a fraction.
Macrosยง
- stat_
accessors ๐
Structsยง
- Combat
Stats - Primary and secondary combat stats; secondary/tertiary stats are percent points (25.0 == 25%), not fractions.
- Primary
Stats - Player primary attributes.
- Ratings
- Raw secondary and tertiary stat ratings before DR conversion.
- Stats
Error - Error raised while converting raw ratings into effective stats.
Enumsยง
- Stats
Error ๐Kind
Constantsยง
- BASE_
CRIT_ ๐MULTIPLIER - BASE_
MASTERY_ POINTS - Baseline mastery points every spec starts with.
- PLACEHOLDER_
CRIT_ ๐PCT - PLACEHOLDER_
HASTE_ ๐PCT - PLACEHOLDER_
MASTERY_ ๐PCT - PLACEHOLDER_
POWER ๐ - PLACEHOLDER_
VERSATILITY_ ๐PCT - SECONDARY_
DR_ CURVE_ ID - DR curve for Crit/Haste/Mastery/Versatility.
- TERTIARY_
DR_ CURVE_ ID - DR curve for Leech/Speed/Avoidance.
Functionsยง
- attack_
and_ ๐spell_ power - combat_
rating_ divisor - Selects the combat-rating divisor for
rating_typefrom the resolved level row. - crit_
multiplier - Converts critical-damage bonus percent points into the full critical multiplier.
- default_
stats - Placeholder gearless
CombatStats; see the module note on units (percent points). - divisor_
for ๐ - dr_
curve_ ๐id - haste_
multiplier - Converts haste percent points into a cadence multiplier.
- primary_
stat_ for_ spec - Returns the primary attribute used by a spec.
- rating_
multiplier_ at_ ilvl - Selects the item-level rating multiplier for a gear budget slot.
- rating_
percent_ points - Convert raw rating from resolved game data into effective percent points.
- rating_
to_ percent - Convert a raw rating to effective percent points via the DBC DR curve.
- recompute
- Produces
CombatStatsfrom primaries, ratings, passives, and spec data. - versatility_
multiplier - Converts versatility percent points into a damage/healing multiplier.