animation work

This commit is contained in:
2024-05-28 19:12:00 -05:00
parent 4a554b0d61
commit 60e331de1a
+6 -3
View File
@@ -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;
}