v2.4.0: ethereal chains now resolve just before cell pressing
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user