mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-18 10:19:08 +00:00
Custom Ability Telegraph Controls, Inner Radius Fix
This commit is contained in:
1 parent
dbca3da639
commit
e309794fd7
8 files changed
+440
-43
No files matched your search
@@ -1021,6 +1021,11 @@ public abstract class AbstractDataAbilities {
|
||||
* Execute an ability immediately (no windup). Called when windUpTicks is 0.
|
||||
*/
|
||||
protected void executeImmediate(Ability ability, EntityLivingBase target) {
|
||||
// Spawn telegraph for abilities that persist during active phase (e.g., Custom Ability)
|
||||
if (ability.keepTelegraphDuringActive()) {
|
||||
spawnTelegraph(ability, target);
|
||||
}
|
||||
|
||||
// Play active sound and animation
|
||||
playAbilitySound(ability.getActiveSound());
|
||||
playAbilityAnimation(ability.getActiveAnimation());
|
||||
|
||||
Reference in new issue
Block a user