Difference between revisions of "Thread:Talk:DrussGT/Version History/2.7.10/reply"

From Robowiki
Jump to navigation Jump to search
(Reply to 2.7.10)
 
(No difference)

Latest revision as of 18:31, 31 July 2012

I actually found not all x.x5 powers work at exploiting the bug - some of them get the same results for the rounding on both sides of the comparison. So I made an array of the ones that exploit the bug and choose the closest value.

I also removed all of the values between 1.95 and 2.95, because if I was using 2.95 in the first place (ie. hitrate > 33%) it means it was advantageous to shoot with high power against them anyways.

But maybe I should have something like 'round up if this shot will kill them'. I hadn't even considered that, and yeah, rounding down would be kind of stupid, even if it wouldn't leave them with much energy.