import UIKit
import CoreData
class ImportChackmon: ImportProtocol {
var moc: NSManagedObjectContext
required init(viewContext: NSManagedObjectContext) {
moc = viewContext
}
func importDIM() {
// MARK: - DIM
let dim = addDIM(name: "Chackmon", franchise: "Digimon", imageName: "Chackmon-Header", dimType: "Vital Bracelet/Hero", id: "16", eggImage: "Chackmon-Egg", dimImage: "Chackmon-DIM")
// MARK: - Digimon
// MARK: - Stage 1
let snowbotamon = addDigimon(name: "SnowBotamon", dim: dim, stage: 1, imageName: "snowbotamon", imageNameSplash: "snowbotamon-splash", type: free, activityType: "Normal", characterID: 0)
// MARK: - Stage 2
let hiyarimon = addDigimon(name: "Hiyarimon", dim: dim, stage: 2, imageName: "hiyarimon", imageNameSplash: "hiyarimon-splash", type: free, activityType: "Normal", characterID: 1)
// MARK: - Stage 3
let bearmon = addDigimon(name: "Bearmon", dim: dim, stage: 3, imageName: "bearmon", imageNameSplash: "bearmon-splash", type: vaccine, activityType: "Active", characterID: 2)
let snowgoblimon = addDigimon(name: "SnowGoblimon", dim: dim, stage: 3, imageName: "snowgoblimon", imageNameSplash: "snowgoblimon-splash", type: virus, activityType: "Normal", characterID: 3)
// MARK: - Stage 4
let grizzlymon = addDigimon(name: "Grizzlymon", dim: dim, stage: 4, imageName: "grizzlymon", imageNameSplash: "grizzlymon-splash", type: vaccine, activityType: "Active", characterID: 5)
let icemon = addDigimon(name: "Icemon", dim: dim, stage: 4, imageName: "icemon", imageNameSplash: "icemon-splash", type: data, activityType: "Indoor", characterID: 6)
let kumamon = addDigimon(name: "Kumamon", dim: dim, stage: 4, imageName: "kumamon", imageNameSplash: "kumamon-splash", type: virus, activityType: "Indoor", characterID: 4)
let mojyamon = addDigimon(name: "Mojyamon", dim: dim, stage: 4, imageName: "mojyamon", imageNameSplash: "mojyamon-splash", type: vaccine, activityType: "Normal", characterID: 7)
// MARK: - Stage 5
let astamon = addDigimon(name: "Astamon", dim: dim, stage: 5, imageName: "astamon", imageNameSplash: "astamon-splash", type: virus, activityType: "Active", characterID: 12)
let daipenmon = addDigimon(name: "Daipenmon", dim: dim, stage: 5, imageName: "daipenmon", imageNameSplash: "daipenmon-splash", type: free, activityType: "Lazy", characterID: 8)
let datamon = addDigimon(name: "Datamon", dim: dim, stage: 5, imageName: "datamon", imageNameSplash: "datamon-splash", type: virus, activityType: "Stotic", characterID: 11)
let iceleomon_x = addDigimon(name: "IceLeomon X", dim: dim, stage: 5, imageName: "iceleomon_x", imageNameSplash: "iceleomon_x-splash", type: vaccine, activityType: "Stotic", characterID: 10)
let korikakumon = addDigimon(name: "Korikakumon", dim: dim, stage: 5, imageName: "korikakumon", imageNameSplash: "korikakumon-splash", type: free, activityType: "Active", characterID: 9)
// MARK: - Stage 6
let ancientmegatheriumon = addDigimon(name: "AncientMegatheriumon", dim: dim, stage: 6, imageName: "ancientmegatheriumon", imageNameSplash: "ancientmegatheriumon-splash", type: data, activityType: "Indoor", characterID: 15)
let dynasmon = addDigimon(name: "Dynasmon", dim: dim, stage: 6, imageName: "dynasmon", imageNameSplash: "dynasmon-splash", type: data, activityType: "Stotic", adventureMode: true, adventureStage: 15, characterID: 16)
let frosvelgrmon = addDigimon(name: "FrosVelgrmon", dim: dim, stage: 6, imageName: "frosvelgrmon", imageNameSplash: "frosvelgrmon-splash", type: virus, activityType: "Stotic", characterID: 14)
let olegmon = addDigimon(name: "Olegmon", dim: dim, stage: 6, imageName: "olegmon", imageNameSplash: "olegmon-splash", type: vaccine, activityType: "Normal", characterID: 13)
// MARK: - Evolutions
// MARK: - Stage 1 to 2
addEvolution(from: snowbotamon, to: hiyarimon, minutes: evo1Hour)
// MARK: - Stage 2 to 3
addEvolution(from: hiyarimon, to: bearmon, vitalValues: 1200, minutes: evo3Hours)
addEvolution(from: hiyarimon, to: snowgoblimon, minutes: evo3Hours)
// MARK: - Stage 3 to 4
addEvolution(from: bearmon, to: grizzlymon, minutes: evo16Hours)
addEvolution(from: snowgoblimon, to: icemon, minutes: evo16Hours)
addEvolution(from: bearmon, to: kumamon, trophies: 10, vitalValues: 1300, battles: 8, minutes: evo16Hours)
addEvolution(from: snowgoblimon, to: mojyamon, trophies: 10, vitalValues: 1300, battles: 8, minutes: evo16Hours)
// MARK: - Stage 4 to 5
addEvolution(from: grizzlymon, to: astamon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: kumamon, to: daipenmon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: icemon, to: datamon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: mojyamon, to: datamon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: icemon, to: iceleomon_x, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: grizzlymon, to: iceleomon_x, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: mojyamon, to: korikakumon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: kumamon, to: korikakumon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
// MARK: - Stage 5 to 6
addEvolution(from: daipenmon, to: ancientmegatheriumon, trophies: 20, vitalValues: 5500, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: iceleomon_x, to: ancientmegatheriumon, trophies: 20, vitalValues: 5500, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: datamon, to: dynasmon, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: astamon, to: dynasmon, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: korikakumon, to: frosvelgrmon, trophies: 20, vitalValues: 5500, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: datamon, to: frosvelgrmon, trophies: 20, vitalValues: 5500, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: daipenmon, to: olegmon, trophies: 10, vitalValues: 4500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: korikakumon, to: olegmon, trophies: 10, vitalValues: 4500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: iceleomon_x, to: olegmon, trophies: 10, vitalValues: 4500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: astamon, to: olegmon, trophies: 10, vitalValues: 4500, battles: 15, winRatio: 50, minutes: evo24Hours)
// MARK: - Adventure Mode
addAdventureMode(stage : 1, steps: 500, digimon : snowgoblimon, dim : dim)
addAdventureMode(stage : 2, steps: 1000, digimon : bearmon, dim : dim)
addAdventureMode(stage : 3, steps: 1000, digimon : mojyamon, dim : dim)
addAdventureMode(stage : 4, steps: 1000, digimon : grizzlymon, dim : dim)
addAdventureMode(stage : 5, steps: 1000, digimon : icemon, dim : dim)
addAdventureMode(stage : 6, steps: 1500, digimon : kumamon, dim : dim)
addAdventureMode(stage : 7, steps: 1500, digimon : iceleomon_x, dim : dim)
addAdventureMode(stage : 8, steps: 1500, digimon : korikakumon, dim : dim)
addAdventureMode(stage : 9, steps: 1500, digimon : daipenmon, dim : dim)
addAdventureMode(stage : 10, steps: 1500, digimon : datamon, dim : dim)
addAdventureMode(stage : 11, steps: 1500, digimon : astamon, dim : dim)
addAdventureMode(stage : 12, steps: 2000, digimon : olegmon, dim : dim)
addAdventureMode(stage : 13, steps: 2000, digimon : frosvelgrmon, dim : dim)
addAdventureMode(stage : 14, steps: 2000, digimon : ancientmegatheriumon, dim : dim)
addAdventureMode(stage : 15, steps: 2500, digimon : dynasmon, unlock : true, dim : dim)
}
}