mirror of
https://github.com/brues-code/SuperCleveRoidMacros.git
synced 2026-09-16 03:38:00 +00:00
CRITICAL FIX: pfUI's libdebuff uses completely different data structures: - Uses unit NAME (not GUID) - Uses unit LEVEL as a key - Uses spell NAME (effect, not ID) - Storage: pflib.objects[unitName][unitLevel][effectName] Fixed SyncComboDurationToPfUI: - Convert GUID to unit name (check target, fallback to guidToName map) - Get unit level from target or default to 0 - Convert spell ID to spell name using SpellInfo() - Remove rank from spell name to match pfUI's format - Search both specific level and level 0 (pfUI's fallback) Fixed AddEffect hook: - Updated parameters to match pfUI signature: (unit, unitlevel, effect, duration, caster) - Check spell by name instead of ID - Map spell name back to ID to find tracking data This ensures pfUI's cooldown displays show correct combo durations.