import UIKit
import CoreData
class ImportGuilmonGP: ImportProtocol {
var moc: NSManagedObjectContext
required init(viewContext: NSManagedObjectContext) {
moc = viewContext
}
func importDIM() {
// MARK: - DIM
let dim = addDIM(name: "Guilmon GP", franchise: "Digimon", imageName: "GuilmonGP-Header", dimType: "Vital Bracelet/Hero", id: "19", eggImage: "GuilmonGP-Egg", dimImage: "GuilmonGP-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 growlmon = addDigimon(name: "Growlmon", dim: dim, stage: 4, imageName: "growlmon", imageNameSplash: "growlmon-splash", type: virus, activityType: "Active", characterID: 3)
// MARK: - Stage 5
let wargrowlmon = addDigimon(name: "WarGrowlmon", dim: dim, stage: 5, imageName: "wargrowlmon", imageNameSplash: "wargrowlmon-splash", type: virus, activityType: "Active", characterID: 4)
// MARK: - Stage 6
let chaosgallantmon = addDigimon(name: "ChaosGallantmon", dim: dim, stage: 6, imageName: "chaosgallantmon", imageNameSplash: "chaosgallantmon-splash", type: virus, activityType: "Normal", characterID: 7)
let gallantmon = addDigimon(name: "Gallantmon", dim: dim, stage: 6, imageName: "gallantmon", imageNameSplash: "gallantmon-splash", type: virus, activityType: "Active", characterID: 6)
let medicalgallantmon = addDigimon(name: "MedicalGallantmon", dim: dim, stage: 6, imageName: "medicalgallantmon", imageNameSplash: "medicalgallantmon-splash", type: data, activityType: "Stotic", characterID: 5)
// 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: growlmon, trophies: 10, vitalValues: 1300, battles: 8, minutes: evo16Hours)
// MARK: - Stage 4 to 5
addEvolution(from: growlmon, to: wargrowlmon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
// MARK: - Stage 5 to 6
addEvolution(from: wargrowlmon, to: chaosgallantmon, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: wargrowlmon, to: gallantmon, trophies: 20, vitalValues: 5000, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: wargrowlmon, to: medicalgallantmon, trophies: 10, vitalValues: 4500, battles: 15, winRatio: 50, minutes: evo24Hours)
// MARK: - Adventure Mode
addAdventureMode(stage : 1, steps: 500, digimon : guilmon, dim : dim)
addAdventureMode(stage : 2, steps: 1000, digimon : guilmon, dim : dim)
addAdventureMode(stage : 3, steps: 1000, digimon : growlmon, dim : dim)
addAdventureMode(stage : 4, steps: 1000, digimon : growlmon, dim : dim)
addAdventureMode(stage : 5, steps: 1000, digimon : wargrowlmon, dim : dim)
addAdventureMode(stage : 6, steps: 1500, digimon : wargrowlmon, dim : dim)
addAdventureMode(stage : 7, steps: 1500, digimon : growlmon, dim : dim)
addAdventureMode(stage : 8, steps: 1500, digimon : wargrowlmon, dim : dim)
addAdventureMode(stage : 9, steps: 1500, digimon : wargrowlmon, dim : dim)
addAdventureMode(stage : 10, steps: 1500, digimon : growlmon, dim : dim)
addAdventureMode(stage : 11, steps: 1500, digimon : wargrowlmon, dim : dim)
addAdventureMode(stage : 12, steps: 2000, digimon : wargrowlmon, dim : dim)
addAdventureMode(stage : 13, steps: 2000, digimon : medicalgallantmon, dim : dim)
addAdventureMode(stage : 14, steps: 2000, digimon : gallantmon, dim : dim)
addAdventureMode(stage : 15, steps: 2500, digimon : chaosgallantmon, dim : dim)
}
}