v2.4.0: adjusted numbers for new counter ability talent

This commit is contained in:
Evan Debenham
2024-04-26 14:15:39 -04:00
parent eeca547cc4
commit e3313717d8
2 changed files with 3 additions and 5 deletions

View File

@@ -946,7 +946,7 @@ actors.hero.talent.feigned_retreat.desc=_+1:_ If an enemy attacks the Duelist's
actors.hero.talent.expose_weakness.title=expose weakness
actors.hero.talent.expose_weakness.desc=_+1:_ Enemies that attack the Duelist's afterimage become vulnerable for _2 turns_.\n\n_+2:_ Enemies that attack the Duelist's afterimage become vulnerable for _4 turns_.\n\n_+3:_ Enemies that attack the Duelist's afterimage become vulnerable for _6 turns_.\n\n_+4:_ Enemies that attack the Duelist's afterimage become vulnerable for _8 turns_.
actors.hero.talent.counter_ability.title=counter ability
actors.hero.talent.counter_ability.desc=_+1:_ If the Duelist uses a weapon ability within 3 turns of her afterimage being attacked, she will instantly regain _0.33 charges_.\n\n_+2:_ If the Duelist uses a weapon ability within 3 turns of her afterimage being attacked, she will instantly regain _0.67 charges_.\n\n_+3:_ If the Duelist uses a weapon ability within 3 turns of her afterimage being attacked, she will instantly regain _1 charge_.\n\n_+4:_ If the Duelist uses a weapon ability within 3 turns of her afterimage being attacked, she will instantly regain _1.33 charges_.
actors.hero.talent.counter_ability.desc=_+1:_ If the Duelist uses a weapon ability within 3 turns of her afterimage being attacked, she will instantly regain _0.38 charges_.\n\n_+2:_ If the Duelist uses a weapon ability within 3 turns of her afterimage being attacked, she will instantly regain _0.77 charges_.\n\n_+3:_ If the Duelist uses a weapon ability within 3 turns of her afterimage being attacked, she will instantly regain _1.13 charges_.\n\n_+4:_ If the Duelist uses a weapon ability within 3 turns of her afterimage being attacked, she will instantly regain _1.5 charges_.
#universal
actors.hero.talent.heroic_energy.title=heroic energy

View File

@@ -253,10 +253,8 @@ public class MeleeWeapon extends Weapon {
}
}
if (hero.buff(Talent.CounterAbilityTacker.class) != null){
if (hero.pointsInTalent(Talent.COUNTER_ABILITY) == 4){
Charger charger = Buff.affect(hero, Charger.class);
charger.gainCharge(hero.pointsInTalent(Talent.COUNTER_ABILITY)/3f);
}
Charger charger = Buff.affect(hero, Charger.class);
charger.gainCharge(hero.pointsInTalent(Talent.COUNTER_ABILITY)*0.375f);
hero.buff(Talent.CounterAbilityTacker.class).detach();
}
}