I wanted to put something similair in the bot w6.txt
But what I wondered was, if you change the distance of a shot, what is the effect of the shot?
I mean does it require more nrg to shoot ?
Will shots become less powerfull ?
There should be some restriction on it, but I had not figured out what it might be.
Otherwise everyone would increase his shooting range I asume.
if you store negative values in .shootval, your shots go furthere and more energy is used. strength remains the same. bigger the negative value, more distance, more cost
if you store positive values in .shootval, yoer shots are stronger and mor energy is used. distance remains the same. bigger value, more strength, more cost
this bot does not use shootval. so aditional costs are not needed ( othere then movement, which it uses to get range).
.shootval is reset each cycle so you need to have it perminantly updated each cycle.
.shootval allso specifies the amount of waste that you want to remove from the bot