Commit f6d0d57c authored by Jorn W. Janneck's avatar Jorn W. Janneck

fixed simulation

parent f8eed546
......@@ -214,7 +214,7 @@
target-pos (add-pos pos (Neighbor-Cells dir)) ;; where we hit
target-pos (add-pos pos (Neighbors dir)) ;; where we hit
target (pop target-pos) ;; whom we hit
new-energy (- (:energy a) AttackEnergy)
......@@ -241,7 +241,7 @@
new-pos (add-pos pos (Neighbor-Cells dir))
new-pos (add-pos pos (Neighbors dir))
new-energy (int (/ (- (:energy a) DivideEnergyLoss) 2)) ;; we lose energy, and split the rest like, uh, clones
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment