Adding Conjured Item

This commit is contained in:
Manali Mogre 2020-08-18 21:34:07 +02:00
parent e9541d42b8
commit 71459293bb
2 changed files with 19 additions and 0 deletions

View File

@ -11,6 +11,7 @@ struct ItemNameConstants {
static let kAgedBrieItem: String = "Aged Brie"
static let kBackstagePassesItem: String = "Backstage passes to a TAFKAL80ETC concert"
static let kSulfurasItem: String = "Sulfuras, Hand of Ragnaros"
static let kConjuredItem: String = "Conjured Mana Cake"
}
struct ValueConstants {

View File

@ -0,0 +1,18 @@
//
// File.swift
//
//
// Created by Manali Mogre on 18/08/2020.
//
import Foundation
class ConjuredItem: StandardItem{
override var decreasingValueOverZeroDaysToSell: Int {
return 2
}
override init(item: Item) {
super.init(item: item)
}
}