more leniency.

This commit is contained in:
Ghommie
2019-05-26 06:56:02 +02:00
parent cfa53d53f1
commit a47a7b31ba
+1 -1
View File
@@ -54,7 +54,7 @@
//Note this value returned is significant, as it will determine
//if a stun is applied or not
. = cell.use(chrgdeductamt)
if(status && (!. || (chargecheck && cell.charge < hitcost)))
if(status && (!. || (chargecheck && cell.charge < hitcost * STUNBATON_CHARGE_LENIENCY)))
//we're below minimum, turn off
switch_status(FALSE)