v2.0.0: fixed swift equip still having a 50 turn CD on secondary weapons

This commit is contained in:
Evan Debenham
2023-02-21 15:41:30 -05:00
parent e1eb781001
commit 48d76e2541

View File

@@ -159,7 +159,7 @@ abstract public class KindOfWeapon extends EquipableItem {
if (hero.hasTalent(Talent.SWIFT_EQUIP)) {
if (hero.buff(Talent.SwiftEquipCooldown.class) == null){
hero.spendAndNext(-hero.cooldown());
Buff.affect(hero, Talent.SwiftEquipCooldown.class, 49f)
Buff.affect(hero, Talent.SwiftEquipCooldown.class, 29f)
.secondUse = hero.pointsInTalent(Talent.SWIFT_EQUIP) == 2;
GLog.i(Messages.get(this, "swift_equip"));
} else if (hero.buff(Talent.SwiftEquipCooldown.class).hasSecondUse()) {