make pathfinder acknowledge that status effects given by floors can do damage too (#10987)

This commit is contained in:
WMF
2025-07-04 16:41:15 +02:00
committed by GitHub
parent d6877a2320
commit d1b4158285
2 changed files with 6 additions and 1 deletions

View File

@@ -253,7 +253,7 @@ public class Pathfinder implements Runnable{
nearSolid,
nearLegSolid,
tile.floor().isDeep(),
tile.floor().damageTaken > 0.00001f,
tile.floor().damages(),
allDeep,
nearDeep,
tile.block().teamPassable