Tailor stat comparison and scoring to each spec
Replace the flat per-spec key list with SPEC_STAT_PROFILES: an ordered
{ stat, weight } table for every class/spec. The panel now shows what
matters to the selected spec instead of falling back to spell stats for
physical specs: casters get spell damage/hit/crit/haste, melee get
strength/AP/hit/expertise/armor pen, tanks get stamina/armor/defense/
dodge/parry/block, healers get healing/spirit/MP5.
The same weights drive upgrade ranking, the completion ratio, and which
two gains are shown in the top-upgrades line, so e.g. spell damage
outweighs spirit for Shadow while stamina outweighs expertise for a
Protection tank.
Add GetItemStats mappings for physical stats (attack power, ranged/feral
AP, strength, agility, hit, expertise, armor pen, defense, dodge, parry,
block, block value, armor). TBC per-school hit/crit/haste keys fold into
one stat. Drop the unused spellPower row from TBC profiles.
Tests: weighted scoring expectations, physical/tank mappings, profile
coverage and 8-row panel limit, weighted ratios. 104 passing.
This commit is contained in:
1 parent
e08e288f73
commit
b66491c5be
7 files changed
+300
-60
No files matched your search
@@ -8,7 +8,7 @@ A World of Warcraft: The Burning Crusade Classic addon that compares your equipp
|
||||
|
||||
- **Gear Comparison** — See at a glance which slots are BIS and which can be upgraded
|
||||
- **Auto-Detection** — Automatically detects your class and active talent spec
|
||||
- **Stats Comparison** — Side-by-side stat breakdown (Healing, Spell Power, Intellect, Spirit, MP5, Haste, Crit)
|
||||
- **Stats Comparison** — Side-by-side stat breakdown tailored to your spec (spell damage/hit/crit/haste for casters, strength/AP/expertise for melee, stamina/mitigation for tanks, healing/spirit/MP5 for healers)
|
||||
- **Upgrade Highlight** — Identifies your biggest available upgrade
|
||||
- **Persistent Settings** — Window position and spec overrides saved per character
|
||||
|
||||
|
||||
Reference in new issue
Block a user