Add Custom Particle Handling and Preset Handling to Trap and Hazards

This commit is contained in:
Kam committed 2026-02-12 18:15:41 -05:00
1 parent bf3391a1a8
commit 6f9cafa141
13 files changed
+318 -79

No files matched your search

@@ -404,6 +404,16 @@ public abstract class Ability implements IAbility {
return caster instanceof EntityPlayer;
}
/**
* Whether the telegraph should remain visible during the ACTIVE phase.
* Default: false (telegraph removed at WINDUP→ACTIVE transition).
* Override for abilities where the active phase IS the attack (e.g., sweeping/spinning attacks)
* so the telegraph stays visible while damage is being dealt.
*/
public boolean keepTelegraphDuringActive() {
return false;
}
/**
* Returns true if this ability controls NPC movement during ACTIVE phase.
* When true, AI pathfinding will be blocked during ability execution.