import UIKit
import CoreData
class ImportGuilmon: ImportProtocol {
var moc: NSManagedObjectContext
required init(viewContext: NSManagedObjectContext) {
moc = viewContext
}
func importDIM() {
// MARK: - DIM
let dim = addDIM(name: "Guilmon", franchise: "Digimon", imageName: "Guilmon-Header", dimType: "Vital Bracelet/Hero", id: "17", eggImage: "Guilmon-Egg", dimImage: "Guilmon-DIM")
// MARK: - Digimon
// MARK: - Stage 1
let jyarimon = addDigimon(name: "Jyarimon", dim: dim, stage: 1, imageName: "jyarimon", imageNameSplash: "jyarimon-splash", type: free, activityType: "Normal", characterID: 0)
// MARK: - Stage 2
let gigimon = addDigimon(name: "Gigimon", dim: dim, stage: 2, imageName: "gigimon", imageNameSplash: "gigimon-splash", type: free, activityType: "Normal", characterID: 1)
// MARK: - Stage 3
let guilmon = addDigimon(name: "Guilmon", dim: dim, stage: 3, imageName: "guilmon", imageNameSplash: "guilmon-splash", type: virus, activityType: "Indoor", characterID: 2)
// MARK: - Stage 4
let devidramon = addDigimon(name: "Devidramon", dim: dim, stage: 4, imageName: "devidramon", imageNameSplash: "devidramon-splash", type: virus, activityType: "Lazy", characterID: 6)
let growlmon = addDigimon(name: "Growlmon", dim: dim, stage: 4, imageName: "growlmon", imageNameSplash: "growlmon-splash", type: virus, activityType: "Active", characterID: 5)
let growlmon_yellow = addDigimon(name: "Growlmon (Yellow)", dim: dim, stage: 4, imageName: "growlmon_yellow", imageNameSplash: "growlmon_yellow-splash", type: data, activityType: "Indoor", characterID: 4)
let siesamon = addDigimon(name: "Siesamon", dim: dim, stage: 4, imageName: "siesamon", imageNameSplash: "siesamon-splash", type: vaccine, activityType: "Normal", characterID: 3)
// MARK: - Stage 5
let majiramon = addDigimon(name: "Majiramon", dim: dim, stage: 5, imageName: "majiramon", imageNameSplash: "majiramon-splash", type: data, activityType: "Active", characterID: 8)
let mihiramon = addDigimon(name: "Mihiramon", dim: dim, stage: 5, imageName: "mihiramon", imageNameSplash: "mihiramon-splash", type: data, activityType: "Normal", characterID: 9)
let sandiramon = addDigimon(name: "Sandiramon", dim: dim, stage: 5, imageName: "sandiramon", imageNameSplash: "sandiramon-splash", type: virus, activityType: "Normal", characterID: 12)
let vajramon = addDigimon(name: "Vajramon", dim: dim, stage: 5, imageName: "vajramon", imageNameSplash: "vajramon-splash", type: vaccine, activityType: "Stotic", characterID: 7)
let wargrowlmon = addDigimon(name: "WarGrowlmon", dim: dim, stage: 5, imageName: "wargrowlmon", imageNameSplash: "wargrowlmon-splash", type: virus, activityType: "Active", characterID: 11)
let wargrowlmon_yellow = addDigimon(name: "WarGrowlmon (Yellow)", dim: dim, stage: 5, imageName: "wargrowlmon_yellow", imageNameSplash: "wargrowlmon_yellow-splash", type: data, activityType: "Indoor", characterID: 10)
// MARK: - Stage 6
let gallantmon = addDigimon(name: "Gallantmon", dim: dim, stage: 6, imageName: "gallantmon", imageNameSplash: "gallantmon-splash", type: virus, activityType: "Active", characterID: 13)
let gallantmon_x = addDigimon(name: "Gallantmon X", dim: dim, stage: 6, imageName: "gallantmon_x", imageNameSplash: "gallantmon_x-splash", type: virus, activityType: "Stotic", characterID: 14)
let gallantmoncrimson_mode = addDigimon(name: "Gallantmon: Crimson Mode", dim: dim, stage: 6, imageName: "gallantmoncrimson_mode", imageNameSplash: "gallantmoncrimson_mode-splash", type: virus, activityType: "Active", adventureMode: true, adventureStage: 15, characterID: 16)
let megidramon = addDigimon(name: "Megidramon", dim: dim, stage: 6, imageName: "megidramon", imageNameSplash: "megidramon-splash", type: virus, activityType: "Normal", characterID: 15)
// MARK: - Evolutions
// MARK: - Stage 1 to 2
addEvolution(from: jyarimon, to: gigimon, minutes: evo1Hour)
// MARK: - Stage 2 to 3
addEvolution(from: gigimon, to: guilmon, minutes: evo3Hours)
// MARK: - Stage 3 to 4
addEvolution(from: guilmon, to: devidramon, minutes: evo16Hours)
addEvolution(from: guilmon, to: growlmon, trophies: 10, vitalValues: 1300, battles: 8, minutes: evo16Hours)
addEvolution(from: guilmon, to: growlmon_yellow, trophies: 8, vitalValues: 900, battles: 5, minutes: evo16Hours)
addEvolution(from: guilmon, to: siesamon, trophies: 5, vitalValues: 600, battles: 3, minutes: evo16Hours)
// MARK: - Stage 4 to 5
addEvolution(from: siesamon, to: majiramon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: devidramon, to: majiramon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: siesamon, to: mihiramon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: growlmon_yellow, to: mihiramon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: devidramon, to: sandiramon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: growlmon, to: sandiramon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: devidramon, to: vajramon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: siesamon, to: vajramon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: growlmon, to: wargrowlmon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: growlmon_yellow, to: wargrowlmon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: growlmon_yellow, to: wargrowlmon_yellow, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: growlmon, to: wargrowlmon_yellow, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
// MARK: - Stage 5 to 6
addEvolution(from: vajramon, to: gallantmon, trophies: 10, vitalValues: 4500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: wargrowlmon, to: gallantmon, trophies: 10, vitalValues: 4500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: majiramon, to: gallantmon, trophies: 10, vitalValues: 4500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: mihiramon, to: gallantmon, trophies: 10, vitalValues: 4500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: sandiramon, to: gallantmon_x, trophies: 20, vitalValues: 5000, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: wargrowlmon_yellow, to: gallantmon_x, trophies: 20, vitalValues: 5000, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: mihiramon, to: gallantmon_x, trophies: 20, vitalValues: 5000, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: wargrowlmon_yellow, to: gallantmoncrimson_mode, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: wargrowlmon, to: gallantmoncrimson_mode, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: sandiramon, to: gallantmoncrimson_mode, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: wargrowlmon, to: megidramon, trophies: 15, vitalValues: 4500, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: majiramon, to: megidramon, trophies: 15, vitalValues: 4500, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: vajramon, to: megidramon, trophies: 15, vitalValues: 4500, battles: 15, winRatio: 70, minutes: evo24Hours)
// MARK: - Adventure Mode
addAdventureMode(stage : 1, steps: 500, digimon : guilmon, dim : dim)
addAdventureMode(stage : 2, steps: 1000, digimon : devidramon, dim : dim)
addAdventureMode(stage : 3, steps: 1000, digimon : siesamon, dim : dim)
addAdventureMode(stage : 4, steps: 1000, digimon : growlmon_yellow, dim : dim)
addAdventureMode(stage : 5, steps: 1000, digimon : growlmon, dim : dim)
addAdventureMode(stage : 6, steps: 1500, digimon : mihiramon, dim : dim)
addAdventureMode(stage : 7, steps: 1500, digimon : sandiramon, dim : dim)
addAdventureMode(stage : 8, steps: 1500, digimon : majiramon, dim : dim)
addAdventureMode(stage : 9, steps: 1500, digimon : vajramon, dim : dim)
addAdventureMode(stage : 10, steps: 1500, digimon : wargrowlmon_yellow, dim : dim)
addAdventureMode(stage : 11, steps: 1500, digimon : wargrowlmon, dim : dim)
addAdventureMode(stage : 12, steps: 2000, digimon : gallantmon, dim : dim)
addAdventureMode(stage : 13, steps: 2000, digimon : gallantmon_x, dim : dim)
addAdventureMode(stage : 14, steps: 2000, digimon : megidramon, dim : dim)
addAdventureMode(stage : 15, steps: 2500, digimon : gallantmoncrimson_mode, unlock : true, dim : dim)
}
}