v2.3.0: excess charge talent now uses new shielding floating text
This commit is contained in:
@@ -416,7 +416,9 @@ public abstract class Wand extends Item {
|
||||
//inside staff
|
||||
if (charger != null && charger.target == Dungeon.hero && !Dungeon.hero.belongings.contains(this)){
|
||||
if (Dungeon.hero.hasTalent(Talent.EXCESS_CHARGE) && curCharges >= maxCharges){
|
||||
Buff.affect(Dungeon.hero, Barrier.class).setShield(Math.round(buffedLvl()*0.67f*Dungeon.hero.pointsInTalent(Talent.EXCESS_CHARGE)));
|
||||
int shieldToGive = Math.round(buffedLvl()*0.67f*Dungeon.hero.pointsInTalent(Talent.EXCESS_CHARGE));
|
||||
Buff.affect(Dungeon.hero, Barrier.class).setShield(shieldToGive);
|
||||
Dungeon.hero.sprite.showStatusWithIcon(CharSprite.POSITIVE, Integer.toString(shieldToGive), FloatingText.SHIELDING);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user