mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-09 16:14:13 +00:00
Some on_hit fixes (#36741)
* more stuff * Update silicon.dm * stuff * Update code/modules/spells/aoe_turf/conjure/forcewall.dm Co-authored-by: west3436 <66280799+west3436@users.noreply.github.com> --------- Co-authored-by: west3436 <66280799+west3436@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
7aa4f81f9c
commit
6b73f4f15a
@@ -6,8 +6,8 @@
|
||||
|
||||
/mob/living/carbon/complex/bullet_act(var/obj/item/projectile/P, var/def_zone)
|
||||
if(check_shields(P.damage, P))
|
||||
P.on_hit(src, 2)
|
||||
return 2
|
||||
P.on_hit(src, 100)
|
||||
return PROJECTILE_COLLISION_BLOCKED
|
||||
return (..(P , def_zone))
|
||||
|
||||
/mob/living/carbon/complex/attack_hand(mob/living/M)
|
||||
@@ -80,4 +80,4 @@
|
||||
if(!talked)
|
||||
target.drop_item()
|
||||
visible_message("<span class='danger'>[src] has disarmed [target]!</span>")
|
||||
playsound(loc, 'sound/weapons/thudswoosh.ogg', 50, 1, -1)
|
||||
playsound(loc, 'sound/weapons/thudswoosh.ogg', 50, 1, -1)
|
||||
|
||||
Reference in New Issue
Block a user