mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Fixes foam darts not doing any stamina damage (#17816)
* Update foam_dart.dm * Update foam_dart.dm
This commit is contained in:
@@ -23,7 +23,11 @@
|
||||
|
||||
var/nerfed = FALSE
|
||||
var/mob/living/carbon/C = target
|
||||
for(var/obj/item/gun/ballistic/automatic/toy/T in C.held_items)
|
||||
for(var/obj/item/gun/ballistic/T in C.held_items) // Is usually just ~2 items
|
||||
if(ispath(T.mag_type, /obj/item/ammo_box/magazine/toy)) // All automatic foam force guns
|
||||
nerfed = TRUE
|
||||
break
|
||||
if(ispath(T.mag_type, /obj/item/ammo_box/magazine/internal/shot/toy)) // Foam force shotguns & crossbows
|
||||
nerfed = TRUE
|
||||
break
|
||||
|
||||
|
||||
Reference in New Issue
Block a user