Just thinking out loud here...
(or 0 of course, but for some reason I keep looking at that line like it might be equivalent to:)
what happens if unit.attacks[w].accuracy is nil here?But suddenly... when guarantee(u, false) is run, it goes from 100 to -100.. which should not be possible.
Code:
unit.attacks[w].accuracy = unit.attacks[w].accuracy - 100
Code:
unit.attacks[w].accuracy = - 100
Statistics: Posted by white_haired_uncle — Yesterday, 4:22 pm