mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-17 05:31:53 +00:00
Removes weapons
This commit is contained in:
@@ -133,7 +133,7 @@
|
||||
take_damage(Proj.damage / fire_resist)
|
||||
return 0
|
||||
|
||||
/obj/effect/blob/attackby(var/obj/item/weapon/W, var/mob/user)
|
||||
/obj/effect/blob/attackby(var/obj/item/W, var/mob/user)
|
||||
user.setClickCooldown(DEFAULT_ATTACK_COOLDOWN)
|
||||
playsound(src, 'sound/effects/attackblob.ogg', 50, 1)
|
||||
visible_message("<span class='danger'>\The [src] has been attacked with \the [W][(user ? " by [user]." : ".")]</span>")
|
||||
@@ -141,7 +141,7 @@
|
||||
switch(W.damtype)
|
||||
if("fire")
|
||||
damage = (W.force / fire_resist)
|
||||
if(istype(W, /obj/item/weapon/weldingtool))
|
||||
if(istype(W, /obj/item/weldingtool))
|
||||
playsound(src, W.usesound, 100, 1)
|
||||
if("brute")
|
||||
damage = (W.force / brute_resist)
|
||||
|
||||
Reference in New Issue
Block a user