38 Commits

Author SHA1 Message Date
40fc8187fd Add ability to adjust strata globally
Submitted by slowkerd from Curseforge (thanks!)
2023-08-02 08:16:12 -05:00
077f381adb Increased valid ranges by request (wowace ticket #280) 2020-10-14 12:57:34 -05:00
b7883036fd Fixed existing counters showing 0 on the screen
For any user that had existing counters (such as anyone who had savedata from before the time that Maelstrom, Lacerate, and Sunder were converted to custom counters automatically) in numeric mode, a 0 or faded graphical icon was showing up all the time after the recent change to enable showing empty counters. Now there's a checkbox for whether you want the empty/0 count to show or not.
2016-12-22 13:27:14 -06:00
ce1558a18e Inverted alpha settings for custom counters watching spell charges
For charges, being full is the default state, so we need to treat full the same as health or mana being full. (ticket #231)
Also fixed the "target" variable never getting set on custom counters or custom counter bars because they were overriding the PLAYER_TARGET_CHANGED event that the base class was registering.
Also also fixed numeric display mode for custom counters not using the correct gradient scaling when the number hit 0. It was using the same scaling as graphical mode where 0 displays nothing and needs to be accounted for separately.
2016-12-07 23:28:44 -06:00
49f8a6c6b2 Fixed numeric custom count not hiding appropriately
The numeric frame needed to be parented to the module's frame so it hides and shows itself along with the module.
2016-12-07 23:20:05 -06:00
d7505b73b1 Fixed possible infinite loop in custom counters
Only try to redraw if the maximum count exceeds the numbers of frames we have to display the count. If the maximum drops below the number of frames we have to display it, that's fine because the excess frames will just be hidden.
2016-11-05 21:12:13 -05:00
e6f87b52bb Speculative fix for reported problem
There's a case where custom counters seemingly get stuck with an outdated maximum number of charges (perhaps only when augmented by a talent such as with Throw Glaive). This may catch and fix it (I couldn't reproduce the problem with a starter DH since you need level 108 or something to get the second charge for Throw Glaive).
2016-10-27 23:24:14 -05:00
ad72976b24 Cleaner way of getting defaults and options from stack counters
Now we pass in the options or defaults table directly to the helper class's getter methods since they're passed by reference and can be modified in place. This saves us creation of yet more tables and obviates the need to merge tables together.
2015-09-04 22:34:07 -05:00
7249f4ebcd Moved some code that tied IceStackCounter more tightly to CustomCount than I had wanted into CustomCount itself. 2015-08-22 16:53:58 -05:00
8e13a8075d Pulled some common functionality out of CustomCount and into a helper file. I intend on using this same helper for a bar version of a buff counter. 2015-08-21 00:42:24 -05:00
84577ae5e9 Fixed potential divide-by-zero in the custom counter module. 2015-03-22 21:44:39 -05:00
e5eb235aef Added support for tracking spell stacks and charges in the Custom Count module. 2015-02-26 00:51:39 -06:00
9a3b8fb0bd - Added guards against nil auraName in CustomCount causing an error. 2014-10-16 17:34:55 -05:00
7363f27d8d - ticket #161: integrated Zahariel's fix for gradients. 2012-10-12 04:28:03 +00:00
c67036a5e0 - fixed an error that could crop up when tweaking colors 2010-10-26 01:13:05 +00:00
af5574e4a6 - added local copy of _G.IceHUD to modules that reference it frequently for a minor lookup speed boost 2010-10-20 05:22:27 +00:00
0fc23444e2 - added description text to each custom module explaining what type of module it is. it was pretty difficult to figure out what kind of custom module you were looking at in the config after you created it 2010-10-20 05:08:49 +00:00
c529fa5510 - fixed ability to set 'max count' to 0 and screw up a custom counter 2010-10-16 03:55:46 +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
4bf79adda5 - added the ability to duplicate an existing custom bar 2010-09-26 00:31:12 +00:00
cd50276d35 - minor fixes to enabling a module and how updates are handled that should allow custom modules to react appropriately when they are enabled while a player has the buff they're monitoring 2010-09-22 00:15:35 +00:00
feabf4002d - set custom counters to display out of combat if they are not 0 2010-09-21 03:02:08 +00:00
05afcebc3d - changed all step = 10 to step = 1 by request
- widened range of possible vertical offset values for the custom counter module by request
2010-09-18 07:04:38 +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
22fd66d756 - fixed a bug where custom counters were not getting reset on target change or player death. this could cause an issue where the counter would not update when it should 2010-09-10 01:41:50 +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
014fc5fa18 - added protection against giving a custom bar/cooldown/counter an empty name causing it to disappear from the options list 2010-03-30 23:34:09 +00:00
415e4428a4 Fix textures on count modules. 2010-03-25 01:04:47 +00:00
8e6230aa7a - fixed a custom bar bug for users with rock + fubar that tried to use the right-click cascading menu to configure things 2009-09-03 00:48:54 +00:00
f850a20a24 - fixed an error when entering configuration mode with a custom counter set to graphical mode 2009-07-26 04:44:35 +00:00
bbecc1524c - added user-submitted custom cooldown tracker module. thanks regmellon! 2009-05-08 04:12:26 +00:00
b356f404c7 - added support for mh/oh weapon enchants to the custom counter module 2009-04-20 14:46:27 +00:00
8163579b78 - added a couple of reminders to press [enter] after typing into text boxes in the custom bar/counter configuration screens
- fixed a bug causing rune cooldowns to not reset when the player died/res'd if the module was in alpha mode
2009-04-19 21:30:33 +00:00
7a049340c2 - added support for binding a custom bar/counter to a larger variety of units (pets, focus targets, etc.) 2009-04-18 06:37:01 +00:00
ab27807fa8 - made custom bars/counters work with alpha settings properly
- made multiple custom bars work together nicely...bad programmer for making local properties instead of class properties
2009-04-10 05:00:27 +00:00
c9fc0bcf89 - added CustomCount module that behaves like the custom bar, but lets the user create a custom counter (the same as the sunder/lacerate/maelstrom counters...could replace those, but they're already in and being used by people, so...bleh)
- fixed up the buff/debuff retrieval convenience functions to work off either texture name or buff name. also changed up how it picks whether or not to get only buffs from the player
2009-04-08 02:30:17 +00:00