Merge pull request #11080 from kevinz000/surubatons

hey someone gave me this idea for stunbatons (and I sort of expanded it) and it's worth a test
This commit is contained in:
Ghom
2020-02-20 11:09:46 +01:00
committed by GitHub
9 changed files with 60 additions and 53 deletions

View File

@@ -528,8 +528,8 @@
if(B.cell)
if(B.cell.charge > 0 && B.status == 1)
flick("baton_active", src)
var/stunforce = B.stunforce
user.Knockdown(stunforce)
var/stunforce = B.stamforce
user.Knockdown(stunforce * 2)
user.stuttering = stunforce/20
B.deductcharge(B.hitcost)
user.visible_message("<span class='warning'>[user] shocks [user.p_them()]self while attempting to wash the active [B.name]!</span>", \