v1.1.0: fixed toolkit not benefitting from artifact recharge
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user