v1.3.0: fixed mystical charge giving more arti recharging than intended
This commit is contained in:
@@ -163,8 +163,8 @@ public class MagesStaff extends MeleeWeapon {
|
||||
if (attacker instanceof Hero && ((Hero) attacker).hasTalent(Talent.MYSTICAL_CHARGE)){
|
||||
Hero hero = (Hero) attacker;
|
||||
for (Buff b : hero.buffs()){
|
||||
if (b instanceof Artifact.ArtifactBuff) {
|
||||
if (!((Artifact.ArtifactBuff) b).isCursed()) ((Artifact.ArtifactBuff) b).charge(hero, 4);
|
||||
if (b instanceof Artifact.ArtifactBuff && !((Artifact.ArtifactBuff) b).isCursed() ) {
|
||||
((Artifact.ArtifactBuff) b).charge(hero, hero.pointsInTalent(Talent.MYSTICAL_CHARGE)/2f);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user