v1.1.0: fixed toolkit not benefitting from artifact recharge

This commit is contained in:
Evan Debenham 2021-12-05 19:22:46 -05:00
parent 8cefd5a9ee
commit f2d17231ca

View File

@ -155,13 +155,11 @@ public class AlchemistsToolkit extends Artifact {
@Override
public void charge(Hero target, float amount) {
if (charge < chargeCap){
partialCharge += 0.5f*amount;
if (partialCharge >= 1){
partialCharge--;
charge++;
updateQuickslot();
}
partialCharge += 0.25f*amount;
if (partialCharge >= 1){
partialCharge--;
charge++;
updateQuickslot();
}
}