Merge pull request #212 from CHOMPStation2/Razgriz1032-patch-21

Stun baton: Taking the harm out of disarm
This commit is contained in:
Razgriz
2020-02-07 17:43:00 -07:00
committed by GitHub

View File

@@ -178,7 +178,7 @@
var/mob/living/carbon/human/H = target var/mob/living/carbon/human/H = target
affecting = H.get_organ(hit_zone) affecting = H.get_organ(hit_zone)
if(user.a_intent == I_HURT || user.a_intent == I_DISARM) if(user.a_intent == I_HURT) //CHOMPEdit: No disarm. ONLY HARM.
. = ..() . = ..()
//whacking someone causes a much poorer electrical contact than deliberately prodding them. //whacking someone causes a much poorer electrical contact than deliberately prodding them.
agony *= 0.5 agony *= 0.5
@@ -274,4 +274,4 @@
// Borg version, for the lost module. // Borg version, for the lost module.
/obj/item/weapon/melee/baton/shocker/robot /obj/item/weapon/melee/baton/shocker/robot
use_external_power = TRUE use_external_power = TRUE