This client-side script enforces "Attack Commitment" by bridging Better Combat and Combat Roll. It prevents players from escaping an active weapon swing.
Features:
- Blocked Input: Disables the roll input while a weapon swing is in progress.
- Input Buffering: If you press roll near the end of an attack (last 0.25s), the action is queued and executes the moment the swing finishes. Time window is configurable.
- Feedback: Plays a sound and status message if you try to roll too early, helping players learn the rhythm of their weapons.
Dependencies: Better Combat, Combat Roll.
Installation: Place in kubejs/startup_scripts.