v1.1.0: fixed artifact charging working on cursed artifacts

This commit is contained in:
Evan Debenham 2021-11-08 15:56:00 -05:00
parent 5024931e40
commit 25842ddd68

View File

@ -50,10 +50,12 @@ public class ArtifactRecharge extends Buff {
if (b instanceof HornOfPlenty.hornRecharge && ignoreHornOfPlenty){
continue;
}
if (!((Artifact.ArtifactBuff) b).isCursed()) {
((Artifact.ArtifactBuff) b).charge((Hero) target, chargeAmount);
}
}
}
}
left--;
if (left <= 0){