v2.0.0: fixed swift equip still having a 50 turn CD on secondary weapons
This commit is contained in:
@@ -159,7 +159,7 @@ abstract public class KindOfWeapon extends EquipableItem {
|
|||||||
if (hero.hasTalent(Talent.SWIFT_EQUIP)) {
|
if (hero.hasTalent(Talent.SWIFT_EQUIP)) {
|
||||||
if (hero.buff(Talent.SwiftEquipCooldown.class) == null){
|
if (hero.buff(Talent.SwiftEquipCooldown.class) == null){
|
||||||
hero.spendAndNext(-hero.cooldown());
|
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;
|
.secondUse = hero.pointsInTalent(Talent.SWIFT_EQUIP) == 2;
|
||||||
GLog.i(Messages.get(this, "swift_equip"));
|
GLog.i(Messages.get(this, "swift_equip"));
|
||||||
} else if (hero.buff(Talent.SwiftEquipCooldown.class).hasSecondUse()) {
|
} else if (hero.buff(Talent.SwiftEquipCooldown.class).hasSecondUse()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user