promotional bannermobile promotional banner

TheoryCraftClassic2

Enhance your tooltip with tons of stats about each ability

File Details

TheoryCraftClassic-2022.01.12.zip

  • R
  • Jan 12, 2022
  • 136.00 KB
  • 6.0K
  • 2.5.2+1
  • Classic + 1

File Name

TheoryCraftClassic-2022.01.12.zip

Supported Versions

  • 2.5.2
  • 1.14.1
  • TheoryCraftUpdater Frame - commented out
  • Reworked how stances/forms are queried and checked
  • Split TheoryCraft_UpdateBuffs into TheoryCraft_UpdatePlayerBuffs and TheoryCraft_UpdateTargetBuffs
  • Added TheoryCraftClassicUtils.lua to collect all code snippets that can be used many different places. (WIP)
  • Race and player are now only read once upon initialization (these don't change at runtime)
  • Reworked how button_text is rendered and updated (should be much more targeted and specific)
    • Added ACTIONBAR_SLOT_CHANGED to update button_text instead of ActionButton_Update (spammy)
  • Rewrote some guts of tooltip formatting (WIP)
  • Reworked addon initialization to use modern event order
  • Reworked tooltip show event to use hooks
  • Fixed some race conditions during initialization
  • Updated some events to use more useful modern events instead (PLAYER_EQUIPMENT_CHANGED instead of UNIT_INVENTORY_CHANGED)
  • references to CastSpellByName removed. This is a protected function.
  • removed all references to allow gearsets to be virtually equipped (may be re-added in some form in the future)
  • Synced up the localization files. Made sure all lines that need to be defined are defined in each. (No translations modified)

 

BUGFIXES:

  • All melee/ranged abiltiy tooltips are now functioning again.
  • GetComboPoints() api call updated. Combo point abilities work better now.
  • Resolved some divide by zero errors when manacost of a spell is 0 (WIP)
  • Resolved multiplication by nil errors when manacost is nil (WIP)
  • Updated invocation of API call SetInventoryItem()
  • Properly update button_text when main actionbar changes (pages or stances)