source: Upgrade! NAME_END -1 ATK_END -1 DEF_END 1 COST_END -1 DUR_END Spell TYPE_END Warrior PLAYER_CLS_END NIL RACE_END Rare RARITY_END If you have a weapon, give it +1/+1. Otherwise equip a 1/3 weapon.
target: class Upgrade(SpellCard):§    def __init__(self):§        super().__init__("Upgrade!", 1, CHARACTER_CLASS.WARRIOR, CARD_RARITY.RARE)§§    def use(self, player, game):§        super().use(player, game)§        from hearthbreaker.cards.weapons.warrior import HeavyAxe§        if player.weapon:§            player.weapon.durability += 1§            player.weapon.base_attack += 1§        else:§            heavy_axe = HeavyAxe().create_weapon(player)§            heavy_axe.equip(player)§