From 46121533fcafb261b8591ac20990c3c493649ec5 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sun, 13 Jul 2025 12:18:53 -0400 Subject: [PATCH] v3.2.0: fixed identification not working properly on force cubes --- .../items/weapon/missiles/ForceCube.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/weapon/missiles/ForceCube.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/weapon/missiles/ForceCube.java index a77637aa0..8c360c1f8 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/weapon/missiles/ForceCube.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/weapon/missiles/ForceCube.java @@ -65,8 +65,10 @@ public class ForceCube extends MissileWeapon { return; } - //TODO ID progress is pretty screwy here + //keep the parent reference for things like IDing + MissileWeapon parentTemp = parent; rangedHit( null, cell ); + parent = parentTemp; Dungeon.level.pressCell(cell); ArrayList targets = new ArrayList<>();