mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-28 06:45:39 +00:00
Add Custom Particle Handling and Preset Handling to Trap and Hazards
This commit is contained in:
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.
|
||||
|
||||
Reference in new issue
Block a user