Commit Graph

47 Commits

Author SHA1 Message Date
c5c44edf64 Fix several issues with low thresholds
This addresses a user-reported issue where Low Threshold was not usable with Color By Health/Mana % disabled, due to some internal technical reasons. This was exacerbated by the recent fix that allowed Low Threshold and Color By Health % to work together.

This also fixes the low threshold flash to apply immediately when changing the option, and fixes the Low Threshold % slider to be usable without the Low Flash option set.

Finally, it hides the Low Flash option for bars that don't support it (right now that's just PlayerMana, I think because it only sets the low threshold to the Min Mana Color even if the class uses a different power type...something for future me...).

Fixes wowace ticket #334
2022-12-13 20:48:02 -06:00
955fa6efdc Continue replacement of WowVer checks 2022-09-18 17:54:35 -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
55fbfbdf1c Fixed TargetMana value not showing in the proper color w/ DogTags off 2020-01-11 22:18:38 -06: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
d9bd5e3f36 Changed default DogTags to shorten values
This change is potentially contentious because it's a very old default, but with health and power values being so incredibly high in Legion, the shortened form of values is immensely more readable. This change will not affect those who have modified their text settings and the Short form only kicks in when values hit 10,000 or higher.
2016-11-06 14:17:37 -06:00
880e2e3278 Added support for the Pain mana type 2016-08-18 23:00:06 -05:00
a5de40f087 Added colors for Maelstrom mana
Fixed TargetMana to use Insanity, Fury, and Maelstrom colors correctly
2016-08-15 23:16:57 -05:00
6133a59ef3 Added Maelstrom to the list of powers to treat 0 as full for opacity purposes 2016-08-07 16:44:13 -05:00
6824721947 Fixed TargetMana to match PlayerMana colors/alpha
Forgot to update this module to match the new 7.0/Legion stuff like PlayerMana was already doing. I really should be sharing all this code, but alas.
2016-07-19 23:49:54 -05:00
41e8d3fe1b - fixed a bug where targets with rage or runic power were considered 'empty' (for alpha purposes) at 0. this was causing them to show up when they shouldn't based on alpha settings 2011-04-26 03:06:30 +00:00
35da685822 - fixed typo where TargetMana was initializing a variable in TargetHealth 2011-03-13 22:11:13 +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
1961b66f57 - big giant options screen usability cleanup:
- colorized the FAQ and Module Settings description text to be more readable
- removed custom coloring from certain options that didn't match the rest
- hid a few debug-only settings
- consolidated all the 'create custom module' buttons into a drop-down + create button
- clarified description of some options so that their intent/purpose is more clear
- moved around/cleaned up headers for consistency
- doubled the width of long options so that they don't get cut off and ...'d
2010-09-12 22:36:02 +00:00
e95db24dd0 - replaced AceEvent-2.0 with AceEvent-3.0/AceTimer-3.0 2010-09-10 06:30:56 +00:00
59344a134a - converted most of the mod to ace3. the only ace2 remaining is AceEvent-2 (probably easy to get away from) and AceOO-2 (not so easy)
- the ace3 conversion also broke the dependence on Waterfall and gave a much better configuration screen through AceConfigDialog; plus Waterfall is very broken in Cataclysm and it's unclear whether anyone will bother to fix it or not
- fixed a bug with the custom CD bar when changing profiles where it would generate endless errors until a reloadui
- removed DewDrop library as it was no longer in use
- temporarily removed FuBar plugin as it doesn't work as a mixin with AceAddon-3. i will eventually be bringing this back in some form (before the next full release version)
- removed an unused 'about' button on the config page and some empty headers...not sure why they were ever there
2010-09-05 20:11:33 +00:00
97d4a6898e - fixes for cataclysm: added UNIT_POWER/UNIT_MAXPOWER event registrations in place of all the old power types, fixed mirror bar, targetinfo, and targetoftarget SetScripts to pass 'this' and 'arg#' around where necessary
- still broken for cata: GlobalCoolDown module, LibDogTag (needs to be fixed by one of its maintainers or I need to port to LuaTexts...fixing dogtag would be vastly easier), and Waterfall (not sure what to do about this one just yet)
2010-09-04 22:49:39 +00:00
863e150a34 - added generic custom health and mana bars so that users can monitor any unit they want complete with click-targeting/-casting 2010-07-26 03:13:03 +00:00
429fa4858e - added a configurable RunicPower color to the player, target, and tot mana bars
- made runic power behave like energy and rage for the "low threshold" flashing behavior
2009-02-26 03:57:33 +00:00
c094e2930c - fixed TargetTargetMana bar to be able to use its own colors instead of inheriting what TargetMana was set to 2008-11-26 16:38:46 +00:00
2814ba0d20 performance optimizations:
- only run the OnUpdate code for the player mana bar when the player's power is not full
- never run the every-frame OnUpdate for TargetMana or DruidMana bars since we don't need quite that level of granularity
2008-10-29 04:01:11 +00:00
49a590e879 - added a global toggle for DogTags so they can be enabled or disabled for the mod
- added an optional rare/elite/rare-elite indicator to the target health bar (off by default)
- made configuration mode show target raid icons (and the new elite indicator as well)
2008-10-26 23:02:13 +00:00
a46787591f - added an option to only show the target mana/power bar if the target uses mana (by request) 2008-10-16 14:38:44 +00:00
a20f01cbde - made TargetHealth and TargetMana extensible so that new unit bars can be made from them easily
- added TargetTargetHealth and TargetTargetMana (idea and some code borrowed from Dark Imakuni at http://www.wowinterface.com/downloads/info10699-IceHUD-TargetofTarget.html )
2008-09-28 04:05:03 +00:00
4cc00dde52 - now fully compatible with blizzard's "predicted power" system to constantly show energy/mana gains instead of ticking them 2008-08-14 05:17:07 +00:00
5667cb0cc6 - removed UNIT_RUNIC_POWER hack in player & target mana modules since blizzard seems to have fixed the bug in the latest beta build
- fixed bug with runes module where the last rune would never show as being used (because i was thinking in 0-based array world)
- added hax to the runes module to swap placement of frost and unholy runes since blizzard has had their hack in for 2 builds now
2008-08-14 04:30:36 +00:00
0b25b48304 - added a workaround for DK runic power (and probably all power types) not updating after the new "predicted power" stuff that was added in the beta. specifically, UNIT_RUNIC_POWER doesn't fire any more with the predicted power system since it's supposed to build up slowly. this caused the runic power bar to never get updated as it degenerated. copied the "working" version from blizzard's UnitFrame.lua code (see UnitFrameManaBar_Initialize)
- fixed a lua error that was popping up every time the player mounted as a DK (why the crap do rune events fire for the non-existent rune 7 and 8 when you mount?!)
2008-08-03 05:30:32 +00:00
b9a4b9c8d0 - fixed a typo in combo points module
- added missing 'then' in gcd module
- removed registration of unnecessary events in player and target mana for DK rune stuff
2008-07-27 00:09:32 +00:00
76f4e1b020 - added rune stuff for DK's in wotlk
- fixed args returned from UnitBuff in wotlk
- added default DK spell for gcd module
2008-07-26 19:14:47 +00:00
3dc2f7f80f - added a configuration mode to show all bars temporarily so they can be placed
- changed how frames are shown and hidden so we don't call show/hide unnecessarily
- widened the min/max offset numbers to allow greater placement flexibility
2008-04-17 02:38:54 +00:00
55028c88fb - updated to support LibDogTag-3.0
- on first run, forced reset all custom DogTags to the module default since some of the old default tags no longer work
2008-04-03 07:10:30 +00:00
af915b54b2 - re-enabled DogTag after the stack overflow fix
- changed to registering FontStrings on the parent class instead of Evaluate'ing each child every Update
2008-02-10 04:23:23 +00:00
3e81b0b11b - temporarily removing DogTag code so that Pitbull and IceHUD can play together in harmony until DogTag is fixed 2008-02-09 03:24:25 +00:00
37c253c98d - removed dependency on LibDogTag-2.0 by request. DogTag formatting is available if DogTag is present but IceHUD will use the old formatting otherwise 2008-01-22 02:04:26 +00:00
0ed70570e8 - blind commit to change the default colors for health/power for the player and target to be based on health/power amounts since the bars scale color by default 2008-01-21 06:02:10 +00:00
9b27f345ec - converted upper/lower text on most bars to use LibDogTag formatting for greater user control
- added Deformat library references in embeds.xml
2008-01-21 03:02:51 +00:00
ced858b06a - bump toc
- added the ability to scale most health/power bars by the amount they're filled up with a customizable max/min color (health can go green to red, for example)
- updated from SharedMedia-1.0 to LibSharedMedia-2.0
2008-01-19 01:26:18 +00:00
f63072e40c Version 0.9
- New round bar texture
- Standalone druid mana bar
- Lots of stuff I can't remember
2007-04-16 16:58:00 +00:00
17c3ddbfd8 Fixed pet focus bug at TargetMana 2006-10-17 18:20:43 +00:00
fdbb8843ee Version 0.7
- Added an option to change the bar colors
- Using scheduled events now instead of Metrognome
- Some small bug fixes
2006-09-24 14:41:55 +00:00
b8956a45fe Version 0.6
- Improved TargetInfo and ToT module
- RoundBar texture looks better than ever
- PlayerHealth and TargetHealth modules have an option to turn off Blizzard default frames
- Fixed MH3 rounding bug
2006-09-02 20:20:01 +00:00
439b3fecec Bugfixes & improved RoundBar texture 2006-08-26 13:50:55 +00:00
212aa3c9f8 - Even more configuration options
- SpellStatus lib for spell casting (shows rank now too)
2006-08-13 15:39:30 +00:00
0106530c98 Version 0.2
- Added basic pet support
- Added configuration (via both console and Dewdrop)
- Fixed indexing problem with non-English clients
2006-07-21 09:11:03 +00:00
772fe5a179 Moved version 0.11 to SVN 2006-07-17 13:47:18 +00:00