Added animation to shockwave

This commit is contained in:
Vidal committed 2026-02-03 11:57:19 -03:00
1 parent c5822023a0
commit 4889c8b881
3 files changed
+285 -5

No files matched your search

@@ -40,8 +40,10 @@ public class AbilityShockwave extends Ability implements IAbilityShockwave {
this.cooldownTicks = 0;
this.windUpTicks = 25;
this.telegraphType = TelegraphType.CIRCLE;
this.windUpSound = "random.explode";
this.windUpSound = "game.tnt.primed";
this.activeSound = "random.explode";
this.windUpAnimationName = "Ability_Shockwave_Windup";
this.activeAnimationName = "Ability_Shockwave_Active";
}
@Override
@@ -105,14 +107,12 @@ public class AbilityShockwave extends Ability implements IAbilityShockwave {
applyEffects(entity);
}
}
// Shockwave completes instantly
signalCompletion();
}
@Override
public void onActiveTick(EntityLivingBase caster, EntityLivingBase target, World world, int tick) {
// Shockwave is instant - nothing to do per-tick
if (tick == 10)
signalCompletion();
}
@Override