|
|
|
@ -42,6 +42,9 @@ public enum CombatManager {
@@ -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 {
@@ -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; |
|
|
|
|
} |
|
|
|
|