mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 11:37:40 +01:00
BLEED FOR ME (#28489)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user