v0.9.2b: fixed cases where the talisman would have negative charge
This commit is contained in:
+4
@@ -206,6 +206,10 @@ public class TalismanOfForesight extends Artifact {
|
|||||||
partialCharge ++;
|
partialCharge ++;
|
||||||
charge --;
|
charge --;
|
||||||
}
|
}
|
||||||
|
while (charge < 0){
|
||||||
|
charge++;
|
||||||
|
partialCharge--;
|
||||||
|
}
|
||||||
Talent.onArtifactUsed(Dungeon.hero);
|
Talent.onArtifactUsed(Dungeon.hero);
|
||||||
updateQuickslot();
|
updateQuickslot();
|
||||||
Dungeon.observe();
|
Dungeon.observe();
|
||||||
|
|||||||
Reference in New Issue
Block a user