mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-09 17:02:23 +00:00
Merge pull request #7263 from VOREStation/Arokha/standrag
Remove bloodspray when pulling standing people
This commit is contained in:
@@ -1631,7 +1631,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
|
||||
|
||||
@@ -765,7 +765,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