oh, right. i've gotta add a snowflake check since /living lacks bleed() in the base code

This commit is contained in:
deathride58
2019-02-20 03:37:07 -05:00
parent 20740bda39
commit c11aba9368
3 changed files with 15 additions and 3 deletions
+5 -1
View File
@@ -125,7 +125,11 @@
if(prob(33))
I.add_mob_blood(src)
var/turf/location = get_turf(src)
bleed(totitemdamage)
if(iscarbon(src))
var/mob/living/carbon/C = src
C.bleed(totitemdamage)
else
add_splatter_floor(location)
if(totitemdamage >= 10 && get_dist(user, src) <= 1) //people with TK won't get smeared with blood
user.add_mob_blood(src)
return TRUE //successful attack