import UIKit
import CoreData
class ImportFairimon: ImportProtocol {
var moc: NSManagedObjectContext
required init(viewContext: NSManagedObjectContext) {
moc = viewContext
}
func importDIM() {
// MARK: - DIM
let dim = addDIM(name: "Fairimon", franchise: "Digimon", imageName: "Fairimon-Header", dimType: "Vital Bracelet/Hero", id: "10", eggImage: "Fairimon-Egg", dimImage: "Fairimon-DIM")
// MARK: - Digimon
// MARK: - Stage 1
let yuramon = addDigimon(name: "Yuramon", dim: dim, stage: 1, imageName: "yuramon", imageNameSplash: "yuramon-splash", type: free, activityType: "Normal", characterID: 0)
// MARK: - Stage 2
let tanemon = addDigimon(name: "Tanemon", dim: dim, stage: 2, imageName: "tanemon", imageNameSplash: "tanemon-splash", type: free, activityType: "Normal", characterID: 1)
// MARK: - Stage 3
let pomumon = addDigimon(name: "Pomumon", dim: dim, stage: 3, imageName: "pomumon", imageNameSplash: "pomumon-splash", type: data, activityType: "Indoor", characterID: 3)
let tinkermon = addDigimon(name: "Tinkermon", dim: dim, stage: 3, imageName: "tinkermon", imageNameSplash: "tinkermon-splash", type: virus, activityType: "Normal", characterID: 2)
// MARK: - Stage 4
let arbormon = addDigimon(name: "Arbormon", dim: dim, stage: 4, imageName: "arbormon", imageNameSplash: "arbormon-splash", type: free, activityType: "Indoor", characterID: 6)
let kazemon = addDigimon(name: "Kazemon", dim: dim, stage: 4, imageName: "kazemon", imageNameSplash: "kazemon-splash", type: free, activityType: "Normal", characterID: 4)
let kokatorimon = addDigimon(name: "Kokatorimon", dim: dim, stage: 4, imageName: "kokatorimon", imageNameSplash: "kokatorimon-splash", type: data, activityType: "Active", characterID: 5)
let weedmon = addDigimon(name: "Weedmon", dim: dim, stage: 4, imageName: "weedmon", imageNameSplash: "weedmon-splash", type: virus, activityType: "Lazy", characterID: 7)
// MARK: - Stage 5
let jetsilphymon = addDigimon(name: "JetSilphymon", dim: dim, stage: 5, imageName: "jetsilphymon", imageNameSplash: "jetsilphymon-splash", type: free, activityType: "Normal", characterID: 8)
let peacockmon = addDigimon(name: "Peacockmon", dim: dim, stage: 5, imageName: "peacockmon", imageNameSplash: "peacockmon-splash", type: free, activityType: "Stotic", characterID: 11)
let petaldramon = addDigimon(name: "Petaldramon", dim: dim, stage: 5, imageName: "petaldramon", imageNameSplash: "petaldramon-splash", type: free, activityType: "Indoor", characterID: 10)
let zamielmon = addDigimon(name: "Zamielmon", dim: dim, stage: 5, imageName: "zamielmon", imageNameSplash: "zamielmon-splash", type: data, activityType: "Active", characterID: 12)
let zepyrmon = addDigimon(name: "Zepyrmon", dim: dim, stage: 5, imageName: "zepyrmon", imageNameSplash: "zepyrmon-splash", type: free, activityType: "Normal", characterID: 9)
// MARK: - Stage 6
let ancientkazemon = addDigimon(name: "AncientKazemon", dim: dim, stage: 6, imageName: "ancientkazemon", imageNameSplash: "ancientkazemon-splash", type: vaccine, activityType: "Normal", characterID: 13)
let ancienttroymon = addDigimon(name: "AncientTroymon", dim: dim, stage: 6, imageName: "ancienttroymon", imageNameSplash: "ancienttroymon-splash", type: data, activityType: "Indoor", characterID: 15)
let crusadermon = addDigimon(name: "Crusadermon", dim: dim, stage: 6, imageName: "crusadermon", imageNameSplash: "crusadermon-splash", type: virus, activityType: "Stotic", adventureMode: true, adventureStage: 15, characterID: 16)
let lotosmon = addDigimon(name: "Lotosmon", dim: dim, stage: 6, imageName: "lotosmon", imageNameSplash: "lotosmon-splash", type: data, activityType: "Active", characterID: 14)
// MARK: - Evolutions
// MARK: - Stage 1 to 2
addEvolution(from: yuramon, to: tanemon, minutes: evo1Hour)
// MARK: - Stage 2 to 3
addEvolution(from: tanemon, to: pomumon, minutes: evo3Hours)
addEvolution(from: tanemon, to: tinkermon, vitalValues: 1200, minutes: evo3Hours)
// MARK: - Stage 3 to 4
addEvolution(from: pomumon, to: arbormon, trophies: 10, vitalValues: 1300, battles: 8, minutes: evo16Hours)
addEvolution(from: tinkermon, to: kazemon, trophies: 10, vitalValues: 1300, battles: 8, minutes: evo16Hours)
addEvolution(from: pomumon, to: kokatorimon, minutes: evo16Hours)
addEvolution(from: tinkermon, to: weedmon, minutes: evo16Hours)
// MARK: - Stage 4 to 5
addEvolution(from: kazemon, to: jetsilphymon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: weedmon, to: peacockmon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: kokatorimon, to: peacockmon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: arbormon, to: petaldramon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: arbormon, to: zamielmon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: weedmon, to: zamielmon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: kokatorimon, to: zepyrmon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: kazemon, to: zepyrmon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
// MARK: - Stage 5 to 6
addEvolution(from: jetsilphymon, to: ancientkazemon, trophies: 20, vitalValues: 5500, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: zepyrmon, to: ancientkazemon, trophies: 20, vitalValues: 5500, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: peacockmon, to: ancientkazemon, trophies: 20, vitalValues: 5500, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: petaldramon, to: ancienttroymon, trophies: 20, vitalValues: 5500, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: zamielmon, to: ancienttroymon, trophies: 20, vitalValues: 5500, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: zepyrmon, to: crusadermon, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: zamielmon, to: crusadermon, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: jetsilphymon, to: lotosmon, trophies: 10, vitalValues: 4500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: petaldramon, to: lotosmon, trophies: 10, vitalValues: 4500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: peacockmon, to: lotosmon, trophies: 10, vitalValues: 4500, battles: 15, winRatio: 50, minutes: evo24Hours)
// MARK: - Adventure Mode
addAdventureMode(stage : 1, steps: 500, digimon : pomumon, dim : dim)
addAdventureMode(stage : 2, steps: 1000, digimon : tinkermon, dim : dim)
addAdventureMode(stage : 3, steps: 1000, digimon : weedmon, dim : dim)
addAdventureMode(stage : 4, steps: 1000, digimon : kokatorimon, dim : dim)
addAdventureMode(stage : 5, steps: 1000, digimon : arbormon, dim : dim)
addAdventureMode(stage : 6, steps: 1500, digimon : jetsilphymon, dim : dim)
addAdventureMode(stage : 7, steps: 1500, digimon : zamielmon, dim : dim)
addAdventureMode(stage : 8, steps: 1500, digimon : peacockmon, dim : dim)
addAdventureMode(stage : 9, steps: 1500, digimon : petaldramon, dim : dim)
addAdventureMode(stage : 10, steps: 1500, digimon : zepyrmon, dim : dim)
addAdventureMode(stage : 11, steps: 1500, digimon : jetsilphymon, dim : dim)
addAdventureMode(stage : 12, steps: 2000, digimon : ancienttroymon, dim : dim)
addAdventureMode(stage : 13, steps: 2000, digimon : lotosmon, dim : dim)
addAdventureMode(stage : 14, steps: 2000, digimon : ancientkazemon, dim : dim)
addAdventureMode(stage : 15, steps: 2500, digimon : crusadermon, unlock : true, dim : dim)
}
}