Added health and ammo to block descriptions

This commit is contained in:
Anuken
2017-08-13 14:36:02 -04:00
parent 4da9d730bf
commit 04e4377ee4
5 changed files with 22 additions and 8 deletions
@@ -18,7 +18,8 @@ public class MHueristic implements Heuristic<Tile>{
if(other.breakable() && other.block().solid) cost += Vars.tilesize*multiplier;
for(Tile tile : node.getNearby()){
if(tile != null && tile.solid()){
cost += Vars.tilesize*2;
//don't go near solid tiles!
cost += Vars.tilesize*3;
}
}
return cost;