From 60e331de1a3d0125bd5180c339fc280a3d15276f Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Tue, 28 May 2024 19:12:00 -0500 Subject: [PATCH] animation work --- src/engine/gameManager/CombatManager.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/engine/gameManager/CombatManager.java b/src/engine/gameManager/CombatManager.java index b4524a1c..d9966ae8 100644 --- a/src/engine/gameManager/CombatManager.java +++ b/src/engine/gameManager/CombatManager.java @@ -42,6 +42,9 @@ public enum CombatManager { // COMBAT_MANAGER; + public static final int COMBAT_BLOCK_ANIMATION = 298; + public static final int COMBAT_PARRY_ANIMATION = 299; + public static final int COMBAT_DODGE_ANIMATION = 300; public static void combatCycle(AbstractCharacter attacker, AbstractWorldObject target) { @@ -573,11 +576,11 @@ public enum CombatManager { public static int getPassiveAnimation(mbEnums.PassiveType passiveType){ switch(passiveType){ case Block: - return 298; + return COMBAT_BLOCK_ANIMATION; case Parry: - return 299; + return COMBAT_PARRY_ANIMATION; case Dodge: - return 300; + return COMBAT_DODGE_ANIMATION; default: return 0; }