Merge pull request #6662 from Shadow-Quill/Baton-Intent-Change

Stunbatons will now only harmbaton on grab/harm intents
This commit is contained in:
Atermonera
2020-02-09 11:45:47 -08:00
committed by GitHub
2 changed files with 37 additions and 1 deletions

View File

@@ -178,7 +178,7 @@
var/mob/living/carbon/human/H = target
affecting = H.get_organ(hit_zone)
if(user.a_intent == I_HURT || user.a_intent == I_DISARM)
if(user.a_intent == I_GRAB || user.a_intent == I_HURT)
. = ..()
//whacking someone causes a much poorer electrical contact than deliberately prodding them.
agony *= 0.5