v0.3.3: fixed a bug with ethereal chains and enemy visibility

This commit is contained in:
Evan Debenham 2015-12-15 22:18:17 -05:00
parent 0c68376863
commit f797e3464b

View File

@ -120,11 +120,14 @@ public class EtherealChains extends Artifact {
curUser.busy();
curUser.sprite.parent.add(new Chains(curUser.pos, affected.pos, new Callback() {
public void call() {
Actor.add(new Pushing(affected, affected.pos, newMobPos));
Actor.add(new Pushing(affected, affected.pos, newMobPos, new Callback() {
public void call() {
Dungeon.level.press(newMobPos, affected);
}
}));
affected.pos = newMobPos;
Dungeon.observe();
curUser.spendAndNext(1f);
Dungeon.level.press(newMobPos, affected);
}
}));
}