v1.1.0: fixed artifact charging working on cursed artifacts
This commit is contained in:
+2
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user