mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-22 03:27:46 +01:00
Remove bloodspray when pulling standing people
This commit is contained in:
@@ -1665,7 +1665,8 @@
|
||||
|
||||
// Drag damage is handled in a parent
|
||||
/mob/living/carbon/human/dragged(var/mob/living/dragger, var/oldloc)
|
||||
if(prob(getBruteLoss() * 200 / maxHealth))
|
||||
var/area/A = get_area(src)
|
||||
if(lying && !buckled && A.has_gravity() && prob(getBruteLoss() * 200 / maxHealth))
|
||||
var/bloodtrail = 1
|
||||
if(species?.flags & NO_BLOOD)
|
||||
bloodtrail = 0
|
||||
|
||||
@@ -817,7 +817,7 @@ default behaviour is:
|
||||
|
||||
/mob/living/proc/dragged(var/mob/living/dragger, var/oldloc)
|
||||
var/area/A = get_area(src)
|
||||
if(lying && !buckled && pull_damage() && A.has_gravity && (prob(getBruteLoss() * 200 / maxHealth)))
|
||||
if(lying && !buckled && pull_damage() && A.has_gravity() && (prob(getBruteLoss() * 200 / maxHealth)))
|
||||
adjustBruteLoss(2)
|
||||
visible_message("<span class='danger'>\The [src]'s [isSynthetic() ? "state" : "wounds"] worsen terribly from being dragged!</span>")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user