animation work
This commit is contained in:
@@ -42,6 +42,9 @@ public enum CombatManager {
|
|||||||
//
|
//
|
||||||
|
|
||||||
COMBAT_MANAGER;
|
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) {
|
public static void combatCycle(AbstractCharacter attacker, AbstractWorldObject target) {
|
||||||
|
|
||||||
@@ -573,11 +576,11 @@ public enum CombatManager {
|
|||||||
public static int getPassiveAnimation(mbEnums.PassiveType passiveType){
|
public static int getPassiveAnimation(mbEnums.PassiveType passiveType){
|
||||||
switch(passiveType){
|
switch(passiveType){
|
||||||
case Block:
|
case Block:
|
||||||
return 298;
|
return COMBAT_BLOCK_ANIMATION;
|
||||||
case Parry:
|
case Parry:
|
||||||
return 299;
|
return COMBAT_PARRY_ANIMATION;
|
||||||
case Dodge:
|
case Dodge:
|
||||||
return 300;
|
return COMBAT_DODGE_ANIMATION;
|
||||||
default:
|
default:
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user