25 Commits

Author SHA1 Message Date
faa3d326aa Replace WowVer checks in class power counters 2022-09-18 22:43:04 -05:00
41ae17ba9a Continue replacement of WowVer checks 2022-09-18 17:50:37 -05:00
e313e679ae Basic Classic-BC support
This has been tested on Classic PTR and Retail, but only with a Rogue
character. Don't have a ton of time to do more exhaustive tests right now.

Fixes #11
2021-05-09 12:04:23 -05:00
e7f95cbcb6 Holy power is usable by all specs in 9.0 2020-10-13 21:28:37 -05:00
ba8748ecca First batch of WoW Classic compatibility updates
This has been tested on Classic with a Rogue up to level 5 using various modules and casually checked against a few level 1 classes. I'm sure there's a lot more to do here. I also made sure to test on Live.

Where possible I tried to check for API availability rather than specific client versions or program IDs. There are many cases where that's impractical, however, so version/program ID checks were used.

This was tested with:
* Ace3 @r1225
* AceGUI-3.0-SharedMediaWidgets @r61
* LibDBIcon-1.0 @v8.2.0
* LibDogTag-3.0 @v80200.1
* LibDogTag-Unit-3.0 @v80200.1-2-g93a898d-alpha
* LibRangeCheck-2.0 @v4.2.3 (with a couple of local changes)
* LibSharedMedia-3.0 @r113-alpha
2019-08-11 23:21:06 -05:00
89ef91b9b3 Initial dump of BfA compatibility
Updated for:
- SPELL_POWER_* constants becoming Enum.PowerType.*
- Rank no longer existing in return values for UnitAura, UnitBuff, UnitDebuff, UnitCastingInfo, UnitChannelInfo
- UNIT_POWER event becoming UNIT_POWER_UPDATE
- UnitPopupFrames no longer existing
- Removed events: PLAYER_PET_CHANGED, UNIT_MAXPOWER, PET_BAR_CHANGED, UNIT_DYNAMIC_FLAGS
- Texture return value from UnitAura type changing (name -> id)
- All Warlock specializations using soul shards
- Death Knight rune changes

Haven't tested all classes/specializations yet, so I'm sure I missed some stuff.
Probably need to add support for the new circular cooldown wipe flourish added in the base client.
Saw a problem with cooldown flashes being delayed on DK runes becoming available that probably need to be fixed.
2018-06-06 22:57:35 -05:00
715f9584fb Fixed "Hide Blizzard" option in Holy Power module in 7.0 2016-07-20 12:42:03 -05:00
e219dac245 Tiny cleanup 2016-05-26 21:46:59 -05:00
e1e216d9dd Updated Holy Power for Legion
Hide the holy power module when not in Retribution spec in 7.0
2016-05-25 23:00:57 -05:00
74148a6b98 - Fixed an error popping up when you had a target and zoned into an instance as a Monk. 2012-09-30 02:13:53 +00:00
2be22609b6 - Fixed Holy Power only showing 3 max on login instead of 5. 2012-09-10 01:52:25 +00:00
5f94695ab4 - Updated non-'graphical' display modes for holy power to not squish the icons. 2012-08-30 04:53:56 +00:00
9af143aacc - Drycoded a holy power module fix for pre-5.0. I don't have a level 9+ paladin on live, so maybe this works? 2012-07-16 00:48:28 +00:00
d6506e79c2 - Expanded holy power to account for the now-5 rune maximum. Not sure what I'm going to do about this layout just yet. The default frame has two below the primary 3, but my class power base class doesn't have support for this type of layout. Will see what the users say.
- Fixed the old 3 runes to have appropriate texture coordinates.
2012-07-09 04:35:47 +00:00
0734ddd94c - Created Monk Harmony Power module.
- Added localization to HolyPower module description.
- Fixed a comment in the Shard module.
2012-06-30 22:30:54 +00:00
841e903d8d - made class power counters continue to display as long as they're not full/empty (depending on the class) 2010-10-30 18:35:19 +00:00
08d6c6ead4 - added level restrictions to shard and holy power class counters since players under 9/10 (different per bar, using constants provided by Blizzard) don't have those resources available yet 2010-10-24 03:19:58 +00:00
08861ecfe7 - first shot at localization of all configuration settings in IceHUD using AceLocale. note that all of these conversions were generated programmatically so it's possible that something went awry...very casual testing seemed okay, however. 2010-09-26 05:14:42 +00:00
250adfc2db - removed the last remnants of Ace2 (AceOO-2.0 and AceLibrary) thanks to a huge amount of help from ckknight for metatables 2010-09-17 05:41:04 +00:00
fd6d570e0b - fixed up several "hide blizzard frame" options to re-display when the module is disabled and to call blizzard's OnLoad for the frame instead of manually entering every event to re-register
- fixed "show incoming heals" option to be properly toggleable on 4.0 (bad conditional on the 'disabled' option)
- hid "cooldown mode" option on the totems module since there was never more than one choice
2010-09-16 02:42:16 +00:00
fb884f41f4 - abstracted the HolyPower module's functionality to a ClassPowerCounter module since the warlock shard bar is functionally identical to holy power
- added shard bar inheriting from ClassPowerCounter. same basic functionality as the holy power module: graphical mode that shows the default shards and numeric mode that just displays a count of active shards
2010-09-10 06:49:45 +00:00
8d4686f10c - updated all UnitPower* code to use the SPELL_POWER_* constants instead of hardcoding numbers...mostly just a readability change 2010-09-10 01:50:43 +00:00
a4a8dcd68f - don't hide the Blizzard version of Holy Power by default since we're not hiding the Blizzard player frame by default 2010-09-08 14:13:46 +00:00
2f226545f3 - tweaked rune width/height to match blizzard's default 2010-09-08 02:30:38 +00:00
e80d971480 - added basic implementation of Holy Power for Cataclysm Paladins. has a graphical mode (basically matches Blizzard's built-in frame without the background) and numeric mode (which just displays the number of runes active as 0/1/2/3) 2010-09-07 03:24:05 +00:00