mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-07 22:13:08 -04:00
more work on AI, added odb for object id(should hopefully fix object id duplicates), fixed tons of bugs
This commit is contained in:
@@ -591,7 +591,7 @@ public class CombatCommand extends BaseSWGCommand {
|
||||
animations = twoHandedAnimations;
|
||||
break;
|
||||
case 6:
|
||||
animations = unarmedAnimations;
|
||||
animations = defaultAnimations;
|
||||
break;
|
||||
case 7:
|
||||
animations = polearmAnimations;
|
||||
@@ -610,11 +610,14 @@ public class CombatCommand extends BaseSWGCommand {
|
||||
break;
|
||||
|
||||
default:
|
||||
animations = unarmedAnimations;
|
||||
animations = defaultAnimations;
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
if(animations.length == 0)
|
||||
animations = defaultAnimations;
|
||||
|
||||
return animations[new Random().nextInt(animations.length)];
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user