v2.1.0: fixed etheral chains clearing invis before their effect resolves
This commit is contained in:
+10
-10
@@ -173,11 +173,6 @@ public class EtherealChains extends Artifact {
|
|||||||
if (chargeUse > charge) {
|
if (chargeUse > charge) {
|
||||||
GLog.w( Messages.get(this, "no_charge") );
|
GLog.w( Messages.get(this, "no_charge") );
|
||||||
return;
|
return;
|
||||||
} else {
|
|
||||||
charge -= chargeUse;
|
|
||||||
Invisibility.dispel(hero);
|
|
||||||
Talent.onArtifactUsed(hero);
|
|
||||||
updateQuickslot();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
hero.busy();
|
hero.busy();
|
||||||
@@ -195,6 +190,11 @@ public class EtherealChains extends Artifact {
|
|||||||
Dungeon.observe();
|
Dungeon.observe();
|
||||||
GameScene.updateFog();
|
GameScene.updateFog();
|
||||||
hero.spendAndNext(1f);
|
hero.spendAndNext(1f);
|
||||||
|
|
||||||
|
charge -= chargeUse;
|
||||||
|
Invisibility.dispel(hero);
|
||||||
|
Talent.onArtifactUsed(hero);
|
||||||
|
updateQuickslot();
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
hero.next();
|
hero.next();
|
||||||
@@ -237,11 +237,6 @@ public class EtherealChains extends Artifact {
|
|||||||
if (chargeUse > charge){
|
if (chargeUse > charge){
|
||||||
GLog.w( Messages.get(EtherealChains.class, "no_charge") );
|
GLog.w( Messages.get(EtherealChains.class, "no_charge") );
|
||||||
return;
|
return;
|
||||||
} else {
|
|
||||||
charge -= chargeUse;
|
|
||||||
Invisibility.dispel(hero);
|
|
||||||
Talent.onArtifactUsed(hero);
|
|
||||||
updateQuickslot();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
hero.busy();
|
hero.busy();
|
||||||
@@ -259,6 +254,11 @@ public class EtherealChains extends Artifact {
|
|||||||
hero.spendAndNext(1f);
|
hero.spendAndNext(1f);
|
||||||
Dungeon.observe();
|
Dungeon.observe();
|
||||||
GameScene.updateFog();
|
GameScene.updateFog();
|
||||||
|
|
||||||
|
charge -= chargeUse;
|
||||||
|
Invisibility.dispel(hero);
|
||||||
|
Talent.onArtifactUsed(hero);
|
||||||
|
updateQuickslot();
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
hero.next();
|
hero.next();
|
||||||
|
|||||||
Reference in New Issue
Block a user