more work on AI, added odb for object id(should hopefully fix object id duplicates), fixed tons of bugs

This commit is contained in:
Light2
2014-03-10 00:33:34 +01:00
parent 072106b6a6
commit 807025ec0b
47 changed files with 1365 additions and 212 deletions
+5 -2
View File
@@ -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)];
}