v1.1.0: fixed artifact charging working on cursed artifacts
This commit is contained in:
+3
-1
@@ -50,7 +50,9 @@ public class ArtifactRecharge extends Buff {
|
|||||||
if (b instanceof HornOfPlenty.hornRecharge && ignoreHornOfPlenty){
|
if (b instanceof HornOfPlenty.hornRecharge && ignoreHornOfPlenty){
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
((Artifact.ArtifactBuff) b).charge((Hero) target, chargeAmount);
|
if (!((Artifact.ArtifactBuff) b).isCursed()) {
|
||||||
|
((Artifact.ArtifactBuff) b).charge((Hero) target, chargeAmount);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user