37 Commits

Author SHA1 Message Date
Brues 5c31232b52 LoadSavedVariablesFirst 2026-08-23 14:40:01 -05:00
Brues af7e575d4a Set version to dynamic 2026-06-21 03:21:59 -05:00
Brues c05fc754e6 Add ClassicAPI dispel-type conditionals via C_UnitAuras
Introduce ClassicAPI.lua, a feature-detection layer for the ClassicAPI
client mod that mirrors NampowerAPI's HasMinimumVersion pattern
(IsAvailable / HasMinimumVersion / HasUnitAuras). UnitHasDispelType
scans a unit's auras via C_UnitAuras and reports the dispel type,
scanning debuffs or buffs based on a helpful flag.

Add conditionals backed by it:
- Debuff side (defensive cleanse): [magic] [curse] [disease] [poison]
  [dispellable] + negations
- Buff side (offensive dispel/strip): [magicbuff] [dispellablebuff]
  + negations

All are no-arg booleans, default to @target (honor @unit), and degrade
gracefully without ClassicAPI: positive checks return false, negated
return true, since vanilla cannot read aura dispel types. The existing
ValidateAura path is untouched. MacroErrorChecker auto-accepts them via
the Keywords table; they're registered in BOOLEAN_CONDITIONALS so they
parse as flags. Loaded after NampowerAPI in the TOC.
2026-06-20 23:03:23 -05:00
Jrc13245 d380fe314c feature live passing conditional checker 2026-03-15 12:17:45 -04:00
Jrc13245 03e124bcc0 bump version 2026-03-13 08:31:05 -04:00
Jrc13245 599f37eb62 bump version 2026-03-02 19:56:19 -05:00
Jrc13245 59b48bf660 readme update 2026-02-18 18:04:09 -05:00
Jrc13245 3a3719a37a initial overflowtest 2026-02-12 21:19:20 -05:00
Torio 3e923ae61d Bump version from 1.9.2 to 2.0
merge enhanced and macro-error-checker
2026-02-09 14:46:15 -05:00
Jrc13245 b0cd1c0657 ingame error checker gui 2026-02-08 21:24:46 -05:00
Jrc13245 534b526138 Merge branch 'main' into macro-error-checker
# Conflicts:
#	SuperCleveRoidMacros.toc
2026-02-07 12:58:34 -05:00
Jrc13245 ee2de33001 update nampower support to 2_27_2 and pfUI 7_6+ 2026-02-04 16:23:34 -05:00
Jrc13245 d29b180bd4 bump version 2026-02-02 23:09:45 -05:00
Jrc13245 469aaa00b1 ultimamacros compatibility supporrt 2026-02-01 00:32:20 -05:00
Jrc13245 174c636673 fix macro icons, enhance libdebuff further with nampower, code cleanup, improve compatibility with supermacro 2026-01-31 15:02:03 -05:00
Jrc13245 7d0dec2a2b cursive mouseover support, applymain and applyoff slashcommands, nampower feature update with incominghit, lastswing, buffcap, debuffcap conditionals 2026-01-12 17:13:40 -05:00
Jrc13245 d89853396b fix mousueover for many ui addons and add many more to support them 2026-01-10 09:40:11 -05:00
Jrc13245 f457ac7ec4 check nampower version to get exact functionality for that version as well as update cursive compatibility and custom spell add cursive functions 2026-01-03 16:11:13 -05:00
Jrc13245 003d230e52 revert multi target tracker 2026-01-02 23:16:57 -05:00
Jrc13245 6af06f1ee3 feature addition multi target debuff tracker 2026-01-02 15:52:55 -05:00
Jrc13245 62371a4bc5 fully update immunities system and force clear for version usage 2025-12-29 16:20:47 -05:00
Jrc13245 83cdecdb29 update 2025-12-28 09:37:41 -05:00
Jrc13245 145ed92f77 multiscan targeting based on pepopos cursive 2025-12-26 14:57:54 -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 b7343b8e59 bump version 2025-12-05 22:39:20 -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 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 5b5d8860c5 new conditional channeltime and bump version 2025-11-27 18:18:54 -05:00
Claude 1172e3377b Add learned combo duration system - saves actual durations per CP
Major enhancement: System now learns actual combo finisher durations and
saves them per combo point level (1-5 CP).

**New SavedVariable:**
- CleveRoids_ComboDurations[spellID][comboPoints] = duration
- Persists between sessions
- Uses learned durations before calculated formulas

**ComboPointTracker.lua:**
- Added GetLearnedComboDuration(spellID, cp) - fetch learned duration
- Updated CalculateComboScaledDurationByID to check learned first
- Falls back to formula if not learned yet

**Utility.lua (libdebuff):**
- UNIT_CASTEVENT handler stores combo points in learnCastTimers
- RAW_COMBATLOG fade handler learns combo durations when spells expire
- Stores learned duration keyed by [spellID][comboPoints]
- Debug message shows "Learned combo spell X at Y CP = Zs"

**Core.lua:**
- New command: /cleveroid combolearn - Show all learned combo durations
- Lists each spell with all learned CP levels (1-5)
- Shows which durations have been learned vs not yet

**Benefits:**
- Debuff conditionals like [debuff:Rip<4] now use ACTUAL max duration
- Accounts for talents that modify finisher durations
- Learns different durations per rank
- More accurate than formulas for edge cases

**Example:**
After casting Rip with 5 CP and letting it expire, system learns:
CleveRoids_ComboDurations[1079][5] = 28
Future casts use 28s instead of calculated 12+4*4
2025-11-16 16:49:30 +00:00
Claude 318292854c Fix loading order: ComboPointTracker must load after ExtensionsManager
ComboPointTracker.lua calls CleveRoids.RegisterExtension() but was loading
before ExtensionsManager.lua where that function is defined.

Moved ComboPointTracker.lua to load after ExtensionsManager.lua.

This fixes the 'attempt to call field ShowComboTracking (a nil value)' error.
2025-11-16 15:48:42 +00:00
Torio 4d288cd482 Merge pull request #23 from jrc13245/main
merge
2025-11-16 10:23:13 -05:00
Jrc13245 1610920dda immunity tracking system 2025-11-16 09:46:51 -05:00
Jrc13245 665b6c52e7 initial combo point duration checker 2025-11-10 17:35:33 -05:00
Jrc13245 506b496592 initial macro error checker 2025-10-28 20:36:10 -04:00
Jrc13245 8542a05170 implement standalone debuff timer system 2025-10-21 22:18:10 -04:00
Jrc13245 f9110bfe55 fix no conditional cancelaura 2025-08-29 18:59:44 -04:00
Jrc13245 048a80f759 fix toc name 2025-08-18 16:19:06 -04:00