v0.9.2b: fixed cases where the talisman would have negative charge

This commit is contained in:
Evan Debenham 2021-03-16 18:39:52 -04:00
parent 96b25f8522
commit 4e4c1618ba

View File

@ -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();