Added Heavy Hit and Cutter animations

This commit is contained in:
Vidal committed 2026-02-02 00:52:43 -03:00
1 parent 0369b6de83
commit b74149d98d
6 files changed
+1600 -4

No files matched your search

@@ -61,6 +61,8 @@ public class AbilityCutter extends Ability implements IAbilityCutter {
this.telegraphType = TelegraphType.CONE;
this.windUpSound = "random.bow";
this.activeSound = "random.break";
this.windUpAnimationName = "Ability_Cutter_Windup";
this.activeAnimationName = "Ability_Cutter_Active";
}
@Override
@@ -37,6 +37,8 @@ public class AbilityHeavyHit extends Ability implements IAbilityHeavyHit {
this.showTelegraph = false;
this.windUpSound = "random.anvil_use";
this.activeSound = "random.anvil_land";
this.windUpAnimationName = "Ability_HeavyHit_Windup";
this.activeAnimationName = "Ability_HeavyHit_Active";
}
@Override
@@ -75,14 +77,13 @@ public class AbilityHeavyHit extends Ability implements IAbilityHeavyHit {
if (wasHit) {
applyEffects(target);
}
// Heavy Hit is instant
signalCompletion();
}
@Override
public void onActiveTick(EntityLivingBase caster, EntityLivingBase target, World world, int tick) {
// Heavy Hit is instant, no active tick needed
// Just enough delay to see the active animation
if (tick == 10)
signalCompletion();
}
@Override
@@ -0,0 +1,86 @@
{
"Loop": 0,
"Speed": 1.0f,
"Frames": [
{
"ColorMarker": 16777215,
"Comment": "",
"Speed": 2.0f,
"FrameParts": [
{
"Pivot2": 2.0f,
"Part": "LEFT_ARM",
"Rotation1": 18.0f,
"Rotation0": 88.0f,
"Pivot0": -10.0f,
"Pivot1": 0.0f,
"Rotation2": 90.0f
},
{
"Pivot2": 0.0f,
"Part": "HEAD",
"Rotation1": 107.0f,
"Rotation0": -25.0f,
"Pivot0": 0.0f,
"Pivot1": 1.0f,
"Rotation2": 0.0f
},
{
"Pivot2": 0.0f,
"Part": "BODY",
"Rotation1": 107.0f,
"Rotation0": -25.0f,
"Pivot0": 0.0f,
"Pivot1": 1.0f,
"Rotation2": 0.0f
},
{
"Pivot2": 0.0f,
"Part": "FULL_MODEL",
"Rotation1": 0.0f,
"Rotation0": 0.0f,
"Pivot0": 0.0f,
"Pivot1": 0.0f,
"Rotation2": 0.0f
},
{
"Pivot2": 4.0f,
"Part": "RIGHT_ARM",
"Rotation1": 6.0f,
"Rotation0": 82.0f,
"Pivot0": 3.0f,
"Pivot1": 3.0f,
"Rotation2": 88.0f
},
{
"Pivot2": 5.0f,
"Part": "RIGHT_LEG",
"Rotation1": 107.0f,
"Rotation0": 6.0f,
"Pivot0": -2.0f,
"Pivot1": 0.0f,
"Rotation2": 0.0f
},
{
"Pivot2": -2.0f,
"Part": "LEFT_LEG",
"Rotation1": 56.0f,
"Rotation0": 0.0f,
"Pivot0": -6.0f,
"Pivot1": 0.0f,
"Rotation2": 0.0f
}
],
"Smooth": 0b,
"Duration": 20
}
],
"CurrentFrameTime": 0,
"CurrentFrame": 0,
"Smooth": 0b,
"ID": 14,
"WhileAttacking": 1b,
"WhileWalking": 1b,
"Name": "Ability_Cutter_Active",
"WhileStanding": 1b
}
@@ -0,0 +1,156 @@
{
"Loop": -1,
"Speed": 1.0f,
"Frames": [
{
"ColorMarker": 16777215,
"Comment": "",
"FrameParts": [
{
"Pivot2": 1.0f,
"Part": "LEFT_ARM",
"Rotation1": -31.0f,
"Rotation0": -94.0f,
"Pivot0": -1.0f,
"Pivot1": 1.0f,
"Rotation2": 90.0f
},
{
"Pivot2": -3.0f,
"Part": "HEAD",
"Rotation1": -31.0f,
"Rotation0": 25.0f,
"Pivot0": 0.0f,
"Pivot1": 1.0f,
"Rotation2": 0.0f
},
{
"Pivot2": -3.0f,
"Part": "BODY",
"Rotation1": -31.0f,
"Rotation0": 25.0f,
"Pivot0": 0.0f,
"Pivot1": 1.0f,
"Rotation2": 0.0f
},
{
"Pivot2": 0.0f,
"Part": "FULL_MODEL",
"Rotation1": -75.0f,
"Rotation0": 0.0f,
"Pivot0": 0.0f,
"Pivot1": 0.0f,
"Rotation2": 0.0f
},
{
"Pivot2": -5.0f,
"Part": "RIGHT_ARM",
"Rotation1": -50.0f,
"Rotation0": -145.0f,
"Pivot0": 2.0f,
"Pivot1": 3.0f,
"Rotation2": 88.0f
},
{
"Pivot2": 0.0f,
"Part": "RIGHT_LEG",
"Rotation1": 18.0f,
"Rotation0": 12.0f,
"Pivot0": -3.0f,
"Pivot1": 0.0f,
"Rotation2": 0.0f
},
{
"Pivot2": 0.0f,
"Part": "LEFT_LEG",
"Rotation1": -25.0f,
"Rotation0": 6.0f,
"Pivot0": 0.0f,
"Pivot1": 0.0f,
"Rotation2": 0.0f
}
],
"Duration": 20
},
{
"ColorMarker": 16777215,
"Comment": "",
"Speed": 2.0f,
"FrameParts": [
{
"Pivot2": 2.0f,
"Part": "LEFT_ARM",
"Rotation1": 18.0f,
"Rotation0": 88.0f,
"Pivot0": -10.0f,
"Pivot1": 0.0f,
"Rotation2": 90.0f
},
{
"Pivot2": 0.0f,
"Part": "HEAD",
"Rotation1": 107.0f,
"Rotation0": -25.0f,
"Pivot0": 0.0f,
"Pivot1": 1.0f,
"Rotation2": 0.0f
},
{
"Pivot2": 0.0f,
"Part": "BODY",
"Rotation1": 107.0f,
"Rotation0": -25.0f,
"Pivot0": 0.0f,
"Pivot1": 1.0f,
"Rotation2": 0.0f
},
{
"Pivot2": 0.0f,
"Part": "FULL_MODEL",
"Rotation1": 0.0f,
"Rotation0": 0.0f,
"Pivot0": 0.0f,
"Pivot1": 0.0f,
"Rotation2": 0.0f
},
{
"Pivot2": 4.0f,
"Part": "RIGHT_ARM",
"Rotation1": 6.0f,
"Rotation0": 82.0f,
"Pivot0": 3.0f,
"Pivot1": 3.0f,
"Rotation2": 88.0f
},
{
"Pivot2": 5.0f,
"Part": "RIGHT_LEG",
"Rotation1": 107.0f,
"Rotation0": 6.0f,
"Pivot0": -2.0f,
"Pivot1": 0.0f,
"Rotation2": 0.0f
},
{
"Pivot2": -2.0f,
"Part": "LEFT_LEG",
"Rotation1": 56.0f,
"Rotation0": 0.0f,
"Pivot0": -6.0f,
"Pivot1": 0.0f,
"Rotation2": 0.0f
}
],
"Smooth": 0b,
"Duration": 2
}
],
"CurrentFrameTime": 0,
"CurrentFrame": 0,
"Smooth": 0b,
"ID": 13,
"WhileAttacking": 1b,
"WhileWalking": 1b,
"Name": "Ability_Cutter_Windup",
"WhileStanding": 1b
}
@@ -0,0 +1,77 @@
{
"Loop": 0,
"Speed": 1.0f,
"Frames": [
{
"ColorMarker": 16777215,
"Comment": "",
"Speed": 2.0f,
"FrameParts": [
{
"Pivot2": -5.0f,
"Part": "RIGHT_ARM",
"Rotation1": 0.0f,
"Rotation0": -90.0f,
"Pivot0": 0.0f,
"Pivot1": 2.0f,
"Rotation2": 90.0f
},
{
"Pivot2": 2.0f,
"Part": "LEFT_LEG",
"Rotation1": -31.0f,
"Rotation0": 31.0f,
"Pivot0": 1.0f,
"Pivot1": 0.0f,
"Rotation2": -18.0f
},
{
"Pivot2": 0.0f,
"Part": "HEAD",
"Rotation1": -25.0f,
"Rotation0": 0.0f,
"Pivot0": 0.0f,
"Pivot1": 1.0f,
"Rotation2": 0.0f
},
{
"Pivot2": -2.0f,
"Part": "RIGHT_LEG",
"Rotation1": 6.0f,
"Rotation0": 12.0f,
"Pivot0": -1.0f,
"Pivot1": 0.0f,
"Rotation2": 0.0f
},
{
"Pivot2": 0.0f,
"Part": "BODY",
"Rotation1": -25.0f,
"Rotation0": 0.0f,
"Pivot0": 0.0f,
"Pivot1": 1.0f,
"Rotation2": 0.0f
},
{
"Pivot2": 4.0f,
"Part": "LEFT_ARM",
"Rotation1": -63.0f,
"Rotation0": -31.0f,
"Pivot0": -2.0f,
"Pivot1": 1.0f,
"Rotation2": -6.0f
}
],
"Smooth": 0b,
"Duration": 20
}
],
"CurrentFrameTime": 0,
"CurrentFrame": 19,
"Smooth": 0b,
"ID": 16,
"WhileAttacking": 1b,
"WhileWalking": 1b,
"Name": "Ability_HeavyHit_Active",
"WhileStanding": 1b
}
File diff suppressed because it is too large. Load diff