diff --git a/src/Client/AI.java b/src/Client/AI.java index 785578e..84f0767 100644 --- a/src/Client/AI.java +++ b/src/Client/AI.java @@ -81,7 +81,7 @@ public void turn(World world) { List myPaths = myself.getPathsFromPlayer(); Path path = myPaths.get(random.nextInt(myPaths.size())); int size = path.getCells().size(); - Cell cell = path.getCells().get((size + 1) / 2); + Cell cell = path.getCells().get((size - 1) / 2); world.castUnitSpell(unit, path, cell, receivedSpell); }