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,15 +155,13 @@ public class AlchemistsToolkit extends Artifact {
@Override @Override
public void charge(Hero target, float amount) { public void charge(Hero target, float amount) {
if (charge < chargeCap){ partialCharge += 0.25f*amount;
partialCharge += 0.5f*amount;
if (partialCharge >= 1){ if (partialCharge >= 1){
partialCharge--; partialCharge--;
charge++; charge++;
updateQuickslot(); updateQuickslot();
} }
} }
}
public int availableEnergy(){ public int availableEnergy(){
return charge; return charge;