From 52b216371231b65d513b028139ad363de61600ea Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Thu, 26 Oct 2023 15:56:20 -0400 Subject: [PATCH] v2.3.0: hero can now self-trample plants on level transitions --- .../shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java index 6e2d0c365..e0d931248 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java @@ -1717,6 +1717,7 @@ public class Hero extends Char { //moving to a transition doesn't automatically trigger it when enemies are near && (visibleEnemies.size() == 0 || cell == pos) && !Dungeon.level.locked + && !Dungeon.level.plants.containsKey(cell) && (Dungeon.depth < 26 || Dungeon.level.getTransition(cell).type == LevelTransition.Type.REGULAR_ENTRANCE) ) { curAction = new HeroAction.LvlTransition( cell );