Phase fixes (#7484)

This commit is contained in:
Guti
2024-01-01 02:13:13 +01:00
committed by GitHub
parent a79e1ba798
commit f32a21f36b
20 changed files with 54 additions and 17 deletions

View File

@@ -7,6 +7,9 @@
if(!istype(M))
return
if(M.is_incorporeal()) // CHOMPEdit - Don't buckle phased entities.
return
if(!has_buckled_mobs() && !M.buckled && !M.anchored && (issmall(M) || prob(round(seed.get_trait(TRAIT_POTENCY)/3))))
//wait a tick for the Entered() proc that called HasProximity() to finish (and thus the moving animation),
//so we don't appear to teleport from two tiles away when moving into a turf adjacent to vines.