BLEED FOR ME (#28489)

This commit is contained in:
Qwertytoforty
2025-02-22 19:57:14 +00:00
committed by GitHub
parent 3f60bb37e7
commit e8e22f0f09
+4
View File
@@ -431,6 +431,10 @@
if(!(puller.appearance_flags & LONG_GLIDE) && (appearance_flags & LONG_GLIDE))
new_glide_size /= sqrt(2)
set_glide_size(new_glide_size)
if(isliving(src))
var/mob/living/M = src
if(IS_HORIZONTAL(M) && !M.buckled && (prob(M.getBruteLoss() * 200 / M.maxHealth))) // So once you reach 50 brute damage you hit 100% chance to leave a blood trail for every tile you're pulled
M.makeTrail(target_turf)
Move(target_turf, pull_dir)
moving_from_pull = null