v0.9.2b: fixed cases where the talisman would have negative charge
This commit is contained in:
parent
96b25f8522
commit
4e4c1618ba
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user