From 68895b1340326e5cb1702e01c5f872d35fb9605e Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Wed, 6 Mar 2024 14:37:16 -0500 Subject: [PATCH] v2.4.0: ethereal chains now resolve just before cell pressing --- .../items/artifacts/EtherealChains.java | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/EtherealChains.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/EtherealChains.java index 066c791d2..2b3baf01d 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/EtherealChains.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/EtherealChains.java @@ -187,15 +187,16 @@ public class EtherealChains extends Artifact { Actor.add(new Pushing(enemy, enemy.pos, pulledPos, new Callback() { public void call() { enemy.pos = pulledPos; - Dungeon.level.occupyCell(enemy); - Dungeon.observe(); - GameScene.updateFog(); - hero.spendAndNext(1f); charge -= chargeUse; Invisibility.dispel(hero); Talent.onArtifactUsed(hero); updateQuickslot(); + + Dungeon.level.occupyCell(enemy); + Dungeon.observe(); + GameScene.updateFog(); + hero.spendAndNext(1f); } })); hero.next(); @@ -252,15 +253,16 @@ public class EtherealChains extends Artifact { Actor.add(new Pushing(hero, hero.pos, newHeroPos, new Callback() { public void call() { hero.pos = newHeroPos; - Dungeon.level.occupyCell(hero); - hero.spendAndNext(1f); - Dungeon.observe(); - GameScene.updateFog(); charge -= chargeUse; Invisibility.dispel(hero); Talent.onArtifactUsed(hero); updateQuickslot(); + + Dungeon.level.occupyCell(hero); + hero.spendAndNext(1f); + Dungeon.observe(); + GameScene.updateFog(); } })); hero.next();