mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 15:27:29 +00:00
Added builtin animations to disc, laser and slam
This commit is contained in:
1 parent
5350a9882b
commit
babe58dc34
9 files changed
+1621
-2
No files matched your search
@@ -43,7 +43,7 @@ public class AbilityDisc extends Ability implements IAbilityDisc {
|
||||
private int boomerangDelay = 40;
|
||||
|
||||
// Anchor point for charging position
|
||||
private AnchorPoint anchorPoint = AnchorPoint.FRONT;
|
||||
private AnchorPoint anchorPoint = AnchorPoint.RIGHT_HAND;
|
||||
|
||||
// Energy data classes
|
||||
private EnergyColorData colorData = new EnergyColorData(0xFFFFFF, 0xFF8800, true, 0.4f, 0.5f, 5.0f);
|
||||
@@ -62,10 +62,13 @@ public class AbilityDisc extends Ability implements IAbilityDisc {
|
||||
this.maxRange = 30.0f;
|
||||
this.minRange = 5.0f;
|
||||
this.cooldownTicks = 0;
|
||||
this.windUpTicks = 20;
|
||||
this.windUpTicks = 60;
|
||||
this.lockMovement = LockMovementType.WINDUP;
|
||||
this.telegraphType = TelegraphType.CIRCLE;
|
||||
this.showTelegraph = true;
|
||||
// Default built-in animations
|
||||
this.windUpAnimationName = "Ability_Disc_Windup";
|
||||
this.activeAnimationName = "Ability_Disc_Active";
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -53,6 +53,9 @@ public class AbilityLaserShot extends Ability implements IAbilityLaserShot {
|
||||
this.lockMovement = LockMovementType.WINDUP;
|
||||
this.telegraphType = TelegraphType.LINE;
|
||||
this.showTelegraph = true;
|
||||
// Default built-in animations
|
||||
this.windUpAnimationName = "Ability_Laser_Windup";
|
||||
this.activeAnimationName = "Ability_Laser_Active";
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -59,6 +59,9 @@ public class AbilitySlam extends Ability implements IAbilitySlam {
|
||||
this.telegraphType = TelegraphType.CIRCLE;
|
||||
this.windUpSound = "mob.irongolem.throw";
|
||||
this.activeSound = "";
|
||||
// Default built-in animations
|
||||
this.windUpAnimationName = "Ability_Slam_Windup";
|
||||
this.activeAnimationName = "Ability_Slam_Active";
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user