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