Simplify ability interrupt logic and reorganize GUI

- Remove interruptThreshold field entirely - interrupts now based on damage source type
- Update canInterrupt() to only allow interrupts from direct physical hits (not magic/fire/explosions)
- Interruption only occurs during WINDUP phase, not ACTIVE
- Reorganize SubGuiAbilityConfig into 4 tabs: General, Type, Target, Effects
- Increase GUI size to 420x216 for better layout
This commit is contained in:
Claude committed 2026-01-10 10:32:24 +00:00
1 parent b40fec2270
commit c7d04cb9d3
3 files changed
+314 -286

No files matched your search

+1 -1
View File
@@ -442,7 +442,7 @@ public class DataAbilities {
return false;
}
if (currentAbility.canInterrupt(amount)) {
if (currentAbility.canInterrupt(source)) {
interruptCurrentAbility(source, amount);
return true;
}