Skip to content

Commit

Permalink
Snowballs do stam damage (#3802)
Browse files Browse the repository at this point in the history
🆑
balance: snowball do 8 stam damage now. instead of 12 brute. what the
furk.
/🆑
  • Loading branch information
Erikafox authored Nov 27, 2024
1 parent 714e581 commit 6b20682
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion code/game/objects/items/toys.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1016,7 +1016,8 @@
desc = "A compact ball of snow. Good for throwing at people."
icon = 'icons/obj/toy.dmi'
icon_state = "snowball"
throwforce = 12 //pelt your enemies to death with lumps of snow
throwforce = 1 //pelt your enemies to death with lumps of snow
var/stam_dam = 8

/obj/item/toy/snowball/afterattack(atom/target as mob|obj|turf|area, mob/user)
. = ..()
Expand All @@ -1025,6 +1026,10 @@

/obj/item/toy/snowball/throw_impact(atom/hit_atom, datum/thrownthing/throwingdatum)
if(!..())
var/caught = hit_atom.hitby(src, FALSE, FALSE, throwingdatum=throwingdatum)
if(ishuman(hit_atom) && !caught)//if they are a carbon and they didn't catch it
var/mob/living/carbon/human/dorkass = hit_atom
dorkass.apply_damage(stam_dam, STAMINA)
playsound(src, 'sound/effects/pop.ogg', 20, TRUE)
qdel(src)

Expand Down

0 comments on commit 6b20682

Please sign in to comment.