raethkcj / RatingBuster

An item comparison tool for WoW Classic.
GNU General Public License v2.0
57 stars 14 forks source link

Add profile swap keybinding (Closes #109) #185

Closed raethkcj closed 4 weeks ago

raethkcj commented 4 weeks ago

Adds menu options to set a keybinding and dropdowns to choose two profiles to toggle between.

Integrates with LibDualSpec to also preview item tooltips with your inactive spec's talents, glyphs, and passives, on top of all the other profile's chosen options like AlwaysBuffed and default gem settings.

Adds a layer to several caches so that each spec has breakdowns, sums, and StatMods cached separately, so that toggling between them is performant.

Adds an option to show the active profile name above the Stat Summary, so you can be sure which profile you're viewing stats for. image

Example of toggling between a Druid's Cat and Bear profiles in Season of Discovery. The druid is out of form for both tooltips, but AlwaysBuffed is set to show Cat Form on the left (enabling AP from Agi), and the right tooltip includes Thick Hide from the inactive talent spec, as well as AlwaysBuffed settings to enable the Armor multiplier from Bear Form and the AP from Defense from Defender's Resolve. image