     var upgradeCost: Int?
     var sell: Int?
     var affinity: Int?
+    var rarity: Int
     
     // specific to weapon type
     var recoil: String?

            return [.greatSword, .longSword, .swordAndShield, .dualBlades, .hammer, .huntingHorm,
                    .lance, .gunlance, .switchAxe, .chargeBlade, .insectGlaive, .lightBowgun, .heavyBowgun,
                    .bow]
        }
        
        var imageName: String {

        id = row => "_id"
        parentId = row => "parent_id"
        name = row => "name"
        attack = row => "attack"
        defense = row => "def"
        numSlots = row => "num_slots"
        rarity = row => "rarity"
        creationCost = row => "creation_cost"
        upgradeCost = row => "upgrade_cost"
        sell = row => "sell"
