mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-26 18:21:56 +00:00
Splatter lands 1 tile away in target direction.
Adjusts splatter to land 1 tile away from the mob in the target direction. Splatter can land on walls, windows, etc. and works with diagonals.
This commit is contained in:
@@ -76,6 +76,7 @@
|
||||
var/splatter_dir = dir
|
||||
if(starting)
|
||||
splatter_dir = get_dir(starting, target_loca)
|
||||
target_loca = get_step(target_loca, splatter_dir)
|
||||
if(isalien(L))
|
||||
new /obj/effect/overlay/temp/dir_setting/bloodsplatter/xenosplatter(target_loca, splatter_dir)
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user