Author: Raff Version v0.1 (first release - self tested)
A high-precision utility script for Diablo IV designed to intelligently manage the Profane Mindcage consumable. Built for the QQT Framework, this script ensures you maintain a maximum stack of 3 without wasting resources or spamming your inventory.
- Smart Stacking (3x Limit): Implements a strict internal counter and buff-check logic to ensure you never exceed 3 active stacks.
- Persistent Logic: Features a "Sync-on-Load" mechanism that detects existing buffs after a script reload, preventing redundant usage.
- Refresh Cycle Management: Automatically manages the 55-minute lifespan of the Mindcage effect, triggering a refresh only when the timer expires.
- Anti-Spam Injection: Enforces a mandatory 5-second delay between item uses to account for server-side latency and UI synchronization.
- Integrated Debugging: Real-time console feedback reporting active stacks, session count, and time until the next refresh cycle.
- Navigate to your Diablo IV QQT scripts folder.
- Create a new directory named MindcageManager
- Save the script as main.lua inside that folder.
- Reload your scripts in-game.
- Enable Master: Global On/Off toggle.
- Manual Reset: Resets the internal counter and cycle timer to force an immediate 3-stack refresh (useful for manual session resets).