From cdcd6351f51a2384c86867f08619c4b94e67d382 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Mon, 12 Jul 2021 22:06:10 -0400 Subject: [PATCH] v0.9.4: rooted characters are now immune to knockback effects --- .../shatteredpixeldungeon/items/wands/WandOfBlastWave.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/wands/WandOfBlastWave.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/wands/WandOfBlastWave.java index 6c5c6cc97..01fb00ca8 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/wands/WandOfBlastWave.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/wands/WandOfBlastWave.java @@ -125,7 +125,9 @@ public class WandOfBlastWave extends DamageWand { boolean collided = dist == trajectory.dist; - if (dist == 0 || ch.properties().contains(Char.Property.IMMOVABLE)) return; + if (dist == 0 + || ch.rooted + || ch.properties().contains(Char.Property.IMMOVABLE)) return; //large characters cannot be moved into non-open space if (Char.hasProp(ch, Char.Property.LARGE)) {