v1.1.0: fixed artifact charging working on cursed artifacts
This commit is contained in:
parent
5024931e40
commit
25842ddd68
|
@ -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){
|
||||
|
|
Loading…
Reference in New Issue
Block a user