import UIKit
import CoreData
class ImportImpmonGP: ImportProtocol {
var moc: NSManagedObjectContext
required init(viewContext: NSManagedObjectContext) {
moc = viewContext
}
func importDIM() {
// MARK: - DIM
let dim = addDIM(name: "Impmon GP", franchise: "Digimon", imageName: "ImpmonGP-Header", dimType: "Vital Bracelet/Hero", id: "20", eggImage: "ImpmonGP-Egg", dimImage: "ImpmonGP-DIM")
// MARK: - Digimon
// MARK: - Stage 1
let kiimon = addDigimon(name: "Kiimon", dim: dim, stage: 1, imageName: "kiimon", imageNameSplash: "kiimon-splash", type: free, activityType: "Normal", characterID: 0)
// MARK: - Stage 2
let yaamon = addDigimon(name: "Yaamon", dim: dim, stage: 2, imageName: "yaamon", imageNameSplash: "yaamon-splash", type: free, activityType: "Normal", characterID: 1)
// MARK: - Stage 3
let impmon = addDigimon(name: "Impmon", dim: dim, stage: 3, imageName: "impmon", imageNameSplash: "impmon-splash", type: virus, activityType: "Normal", characterID: 2)
// MARK: - Stage 4
let wizardmon = addDigimon(name: "Wizardmon", dim: dim, stage: 4, imageName: "wizardmon", imageNameSplash: "wizardmon-splash", type: data, activityType: "Normal", characterID: 3)
// MARK: - Stage 5
let reapmon = addDigimon(name: "Reapmon", dim: dim, stage: 5, imageName: "reapmon", imageNameSplash: "reapmon-splash", type: free, activityType: "Normal", characterID: 4)
// MARK: - Stage 6
let beelzemon = addDigimon(name: "Beelzemon", dim: dim, stage: 6, imageName: "beelzemon", imageNameSplash: "beelzemon-splash", type: virus, activityType: "Active", characterID: 6)
let beelzemon_2010 = addDigimon(name: "Beelzemon (2010)", dim: dim, stage: 6, imageName: "beelzemon_2010", imageNameSplash: "beelzemon_2010-splash", type: virus, activityType: "Normal", characterID: 5)
let beelzemon_blast_mode = addDigimon(name: "Beelzemon (Blast Mode)", dim: dim, stage: 6, imageName: "beelzemon_blast_mode", imageNameSplash: "beelzemon_blast_mode-splash", type: virus, activityType: "Active", characterID: 7)
// MARK: - Evolutions
// MARK: - Stage 1 to 2
addEvolution(from: kiimon, to: yaamon, minutes: evo1Hour)
// MARK: - Stage 2 to 3
addEvolution(from: yaamon, to: impmon, minutes: evo3Hours)
// MARK: - Stage 3 to 4
addEvolution(from: impmon, to: wizardmon, trophies: 10, vitalValues: 1300, battles: 8, minutes: evo16Hours)
// MARK: - Stage 4 to 5
addEvolution(from: wizardmon, to: reapmon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
// MARK: - Stage 5 to 6
addEvolution(from: reapmon, to: beelzemon, trophies: 20, vitalValues: 5000, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: reapmon, to: beelzemon_2010, trophies: 15, vitalValues: 4500, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: reapmon, to: beelzemon_blast_mode, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
// MARK: - Adventure Mode
addAdventureMode(stage : 1, steps: 500, digimon : impmon, dim : dim)
addAdventureMode(stage : 2, steps: 1000, digimon : impmon, dim : dim)
addAdventureMode(stage : 3, steps: 1000, digimon : wizardmon, dim : dim)
addAdventureMode(stage : 4, steps: 1000, digimon : wizardmon, dim : dim)
addAdventureMode(stage : 5, steps: 1000, digimon : reapmon, dim : dim)
addAdventureMode(stage : 6, steps: 1500, digimon : reapmon, dim : dim)
addAdventureMode(stage : 7, steps: 1500, digimon : wizardmon, dim : dim)
addAdventureMode(stage : 8, steps: 1500, digimon : reapmon, dim : dim)
addAdventureMode(stage : 9, steps: 1500, digimon : reapmon, dim : dim)
addAdventureMode(stage : 10, steps: 1500, digimon : wizardmon, dim : dim)
addAdventureMode(stage : 11, steps: 1500, digimon : reapmon, dim : dim)
addAdventureMode(stage : 12, steps: 2000, digimon : reapmon, dim : dim)
addAdventureMode(stage : 13, steps: 2000, digimon : beelzemon_2010, dim : dim)
addAdventureMode(stage : 14, steps: 2000, digimon : beelzemon, dim : dim)
addAdventureMode(stage : 15, steps: 2500, digimon : beelzemon_blast_mode, dim : dim)
}
}