v0.9.2a: fixed the excess charge talent not working above max charge
This commit is contained in:
parent
7f3f6e1bb2
commit
84fe9b5d93
|
@ -153,7 +153,7 @@ public class MagesStaff extends MeleeWeapon {
|
|||
damage = Math.round( damage * (1f + Dungeon.hero.pointsInTalent(Talent.EMPOWERED_STRIKE)/6f));
|
||||
}
|
||||
|
||||
if (wand.curCharges == wand.maxCharges && attacker instanceof Hero && Random.Int(6) < ((Hero) attacker).pointsInTalent(Talent.EXCESS_CHARGE)){
|
||||
if (wand.curCharges >= wand.maxCharges && attacker instanceof Hero && Random.Int(6) < ((Hero) attacker).pointsInTalent(Talent.EXCESS_CHARGE)){
|
||||
Buff.affect(attacker, Barrier.class).setShield(buffedLvl()*2);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user