mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-19 12:13:38 +01:00
[MIRROR] Unlucky trait (#11775)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
committed by
GitHub
parent
6eab8c8408
commit
b8fe8fa68d
@@ -273,7 +273,7 @@
|
||||
target.visible_message(span_danger("[target] has been zapped with [src] by [user]!"))
|
||||
|
||||
playsound(src, 'sound/weapons/egloves.ogg', 50, 1, -1)
|
||||
target.stun_effect_act(0, agony, hit_zone, src)
|
||||
target.stun_effect_act(0, agony, hit_zone, src, electric = TRUE)
|
||||
msg_admin_attack("[key_name(user)] stunned [key_name(target)] with the [src].")
|
||||
if(ishuman(target))
|
||||
var/mob/living/carbon/human/H = target
|
||||
@@ -495,7 +495,7 @@
|
||||
else
|
||||
target.visible_message(span_danger("[target] has been prodded with [src] by [user]!"))
|
||||
playsound(src, 'sound/weapons/egloves.ogg', 50, 1, -1)
|
||||
target.stun_effect_act(stun, agony, hit_zone, src)
|
||||
target.stun_effect_act(stun, agony, hit_zone, src, electric = TRUE)
|
||||
msg_admin_attack("[key_name(user)] stunned [key_name(target)] with the [src].")
|
||||
if(ishuman(target))
|
||||
var/mob/living/carbon/human/H = target
|
||||
|
||||
Reference in New Issue
Block a user