Commit Graph

150 Commits

Author SHA1 Message Date
Jrc13245 c3721036bd fix spellbook and actionslot errors 2025-12-20 08:20:17 -05:00
Jrc13245 f3791c4562 further fixes for debuffs above 16 slots and fixes for item usage 2025-12-19 20:32:52 -05:00
Jrc13245 049684e99e fix multi comparison with multiple values 2025-12-18 22:10:22 -05:00
Jrc13245 eede643540 optimize buff and debuff checks and update functions to nampower v2_18_0 2025-12-17 16:29:32 -05:00
Jrc13245 ed67c38b0f fix multi use for some conditionals 2025-12-16 15:03:29 -05:00
Jrc13245 17c9495350 allow empty messages for non spellcast macro lines 2025-12-15 14:11:39 -05:00
Jrc13245 8a97fa849c fix stopmacro usability broken due to removal of nampower handling 2025-12-15 08:34:57 -05:00
Jrc13245 1c76c12ff1 remove addon-level nampower spell queuing 2025-12-15 07:31:36 -05:00
Jrc13245 4c69457dff fix @unitid fallback as it shouldnt 2025-12-14 17:39:10 -05:00
Jrc13245 3b47e7b164 fix itemid usage for /use and /equip 2025-12-14 14:11:00 -05:00
Jrc13245 64faf00cda fix stopmacro calls during other macro calls 2025-12-14 13:11:46 -05:00
Jrc13245 9f5a379a3b fix stopmacro affecting non cast lines 2025-12-13 19:38:54 -05:00
Jrc13245 36ff274649 fix empty argument lines causing stopmacro 2025-12-13 13:48:49 -05:00
Jrc13245 b789448553 fix stale item cache during combat 2025-12-13 09:01:59 -05:00
Jrc13245 aa2a054df9 fix stopmacro for spell queuing and range fix for channeled spells 2025-12-12 21:36:25 -05:00
Jrc13245 2fd4ac3298 reduce bag event usage for lag and fix macro calling within macros 2025-12-12 15:43:21 -05:00
Jrc13245 b5f7399d30 fix nampower queuing issues and debuff duration issues 2025-12-11 16:57:31 -05:00
Jrc13245 9c1f8649eb update channeling to respect arcane missiles haste 2025-12-10 17:56:57 -05:00
Jrc13245 8d7b9086d9 fix debuff and buff not using new operator usage properly 2025-12-10 08:49:50 -05:00
Jrc13245 38158d8b8f warrior slam specific condditionals and update readme 2025-12-06 14:19:14 -05:00
Jrc13245 86fa4476f6 fix equip with conditionals and dont pollute runmacro global namespace 2025-12-05 18:26:33 -05:00
Jrc13245 04f4eacac8 nested macro showtooltip support, nampower queue casting integration, relic slot optimizations, performance updates 2025-12-04 18:10:30 -05:00
Jrc13245 87183b6e09 fix fallback for channeled spell icons and final fixes for swapping items in combat lag. 2025-12-03 14:41:13 -05:00
Jrc13245 30ed4e2bf9 improve targeting function and further improve equipment mid combat lag. 2025-12-03 08:22:46 -05:00
Jrc13245 33ffd85782 lesse in combat item swapping lag and fix errors. 2025-12-02 17:20:40 -05:00
Jrc13245 442eeb9cbc fix lag of casting and channeling conditionals. 2025-12-02 15:24:48 -05:00
Jrc13245 1fa891f380 fix some spell icons not respecting usability in forms 2025-11-30 20:39:04 -05:00
Jrc13245 964df2133b fix toggle spells icon swaps like prowl and shadowmeld and fix debuff conditionals correctly filtering by caster for shared and individual debuffs 2025-11-29 21:54:59 -05:00
Jrc13245 bf6b839858 fix non showtooltip macros getting darkened and fix druid stance icons to show based on druids actual mana and togglable icon swap. 2025-11-29 16:23:12 -05:00
Jrc13245 ee71e6dbda fix non pfui user actionbar updates 2025-11-28 22:54:35 -05:00
Jrc13245 0d3f026277 prevent parser from splitting out the & character 2025-11-28 18:32:03 -05:00
Jrc13245 6486c87798 fix multi and negated multi conditionals using / and & 2025-11-28 15:06:42 -05:00
Jrc13245 04297598e9 nampower spell damage type tracking savedvariables to correctly assume damage type for immunities. table of non damage spells and their spell schools so that faerie fire isnt mistaken as a fire spell. 2025-11-28 12:31:50 -05:00
Jrc13245 1f4781165f fix channeltime 2025-11-27 21:01:25 -05:00
Jrc13245 ba5830ba26 fix adding npcs to immunities list 2025-11-27 10:26:46 -05:00
Jrc13245 ff6ec25c06 bleed immunity, fix icons and their tooltips with no available actions, reformat readme 2025-11-27 09:21:41 -05:00
Jrc13245 43cbcbc462 fix enemy blocked attacks triggering revenge 2025-11-26 17:40:58 -05:00
Jrc13245 21119c8bd5 fix reactive for overpower and revenge to see as active in any stance. 2025-11-25 16:58:44 -05:00
Jrc13245 a33f3f21db clarify actual multi and noable multi usage, add AND operator for multi, and fix swintimer to be more intuitive. 2025-11-25 14:23:54 -05:00
Jrc13245 6261785507 memory and cpu usage overhaul 2025-11-25 07:41:04 -05:00
Jrc13245 f6df0b2b5a fix icon issue and fix carnage talent duration refreshers updating visually for pfui 2025-11-19 17:50:30 -05:00
Jrc13245 274475a312 add carnage talent refreshing rip and rake if using ferocious bite at 5 combo points when debuffs are up 2025-11-18 19:39:07 -05:00
Jrc13245 7fd94e3ed2 Add talent and equipment modifier systems for debuff durations
- Talent modifiers: Taste for Blood, Improved Gouge, Improved Shadow Word: Pain
- Equipment modifiers: Black Morass Idol (Rip -10% duration)
- Layered calculation: (base + combo + talent) × equipment
- Console commands: /cleveroid talents, testtalent, testequip
- Auto-detection via GetTalentInfo() and GetInventoryItemLink()
2025-11-18 15:42:38 -05:00
Jrc13245 c5a57af024 Fix combo point tracking and queue glow for instant finishers
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-17 20:28:22 -05:00
Claude e7f75ea38d Fix action button glow and state checks to use tooltip fallback
Previously, action button state functions (IsCurrentAction, IsActionInRange,
IsUsableAction, ActionHasRange, GetActionCount, IsConsumableAction) only
checked the active action, not the tooltip action. This caused issues when
using #showtooltip without conditionals, or when no conditionals matched:

- No glow on buttons even when the ability was queued/active
- Incorrect range/usability indicators
- Missing item counts for consumables

Now all these functions use the same priority as GetActionTexture and
GetActionCooldown: check the active action first, then fall back to the
tooltip action. This ensures button states match the displayed icon.

Fixes issues with abilities like Cleave and Heroic Strike not showing glow
when queued, and ensures all action button visuals are consistent.
2025-11-17 21:57:54 +00:00
Claude f74de5ef03 Fix showtooltip icon display by parsing conditionals from spell names
When #showtooltip had an argument with conditionals (e.g., #showtooltip [stance:1] Fireball),
the code was trying to find a spell named "[stance:1] Fireball" which doesn't exist.
This resulted in no texture being found for the tooltip action, causing incorrect icons.

Now the code parses the argument first using GetParsedMsg() to extract just the spell name
before creating the tooltip action info. This allows it to properly find the spell in the
spellbook and retrieve its correct texture/icon.
2025-11-17 21:52:00 +00:00
Claude e1e8548453 Fix all icon fallback paths to use macro icon instead of question mark
Updated GetActionTexture to fall back to the macro's icon in all code paths:
- When no action is active and no explicit tooltip (line 2444)
- When inventory slot is empty (line 2469)
- Final fallback for all other cases (line 2494)

This ensures the macro icon is always shown instead of the question mark
when no action/spell texture is available. The question mark should only
appear as an absolute last resort if GetMacroInfo fails.
2025-11-17 18:32:40 +00:00
Claude f99b985395 Ensure icon always falls back to macro icon, never question mark
Updated fallback logic to always use the macro's chosen icon (from the
macro frame) when no action is active. The priority is now:
1. Tooltip texture (from first action if #showtooltip is present)
2. Macro's icon (from macro frame)
3. Never question mark (unless GetMacroInfo fails, which shouldn't happen)

This ensures the icon properly shows the macro's icon when all
conditionals fail, instead of showing a question mark.
2025-11-17 18:10:09 +00:00
Claude 852d3691c2 Fix showtooltip icon fallback to use tooltip texture before question mark
When #showtooltip is used without an explicit spell/item argument and all
conditionals fail, the icon now falls back to the tooltip texture (first
action) instead of immediately showing a question mark. This prevents the
question mark icon from appearing when the macro has valid actions but none
of their conditions are currently met.

Fixes issue where macro icon becomes question mark when no target and
Battle Shout buff is already active.
2025-11-17 00:27:48 +00:00
Claude bb7cd24761 Fix nil comparison error in spell_tracking cleanup loop
BUGFIX: Core.lua:2253 attempt to compare nil with number

The cleanup loop was checking 'if time > cast.expires' but some entries
in spell_tracking (like combo tracking data) don't have an expires field.

Added nil check: 'if cast.expires and time > cast.expires'

This prevents errors when combo tracking data is in spell_tracking without
an expiration time.
2025-11-16 17:39:16 +00:00