import UIKit
import CoreData
class ImportDORUmon: ImportProtocol {
var moc: NSManagedObjectContext
required init(viewContext: NSManagedObjectContext) {
moc = viewContext
}
func importDIM() {
// MARK: - DIM
let dim = addDIM(name: "DORUmon", franchise: "Digimon", imageName: "DORUmon-Header", dimType: "Vital Bracelet BE", id: "137", eggImage: "DORUmon-Egg", dimImage: "DORUmon-DIM", adventureIcon: "DORUmon-Adventure")
// MARK: - Digimon
// MARK: - Stage 1
let dodomon = addDigimon(name: "Dodomon", dim: dim, stage: 1, imageName: "dodomon", imageNameSplash: "dodomon-splash", type: free, activityType: "Normal", characterID: 0)
// MARK: - Stage 2
let dorimon = addDigimon(name: "Dorimon", dim: dim, stage: 2, imageName: "dorimon", imageNameSplash: "dorimon-splash", type: free, activityType: "Normal", characterID: 1)
// MARK: - Stage 3
let agumon_black = addDigimon(name: "Agumon (Black)", dim: dim, stage: 3, imageName: "agumon_black", imageNameSplash: "agumon_black-splash", type: virus, activityType: "Active", characterID: 3)
let dorumon = addDigimon(name: "Dorumon", dim: dim, stage: 3, imageName: "dorumon", imageNameSplash: "dorumon-splash", type: data, activityType: "Stotic", characterID: 2)
// MARK: - Stage 4
let airdramon = addDigimon(name: "Airdramon", dim: dim, stage: 4, imageName: "airdramon", imageNameSplash: "airdramon-splash", type: vaccine, activityType: "Active", characterID: 7)
let dark_tyrannomon = addDigimon(name: "Dark Tyrannomon", dim: dim, stage: 4, imageName: "dark_tyrannomon", imageNameSplash: "dark_tyrannomon-splash", type: virus, activityType: "Normal", characterID: 6)
let dexdorugamon = addDigimon(name: "DexDorugamon", dim: dim, stage: 4, imageName: "dexdorugamon", imageNameSplash: "dexdorugamon-splash", type: virus, activityType: "Indoor", characterID: 5)
let dorugamon = addDigimon(name: "Dorugamon", dim: dim, stage: 4, imageName: "dorugamon", imageNameSplash: "dorugamon-splash", type: data, activityType: "Active", characterID: 4)
let raptordramon = addDigimon(name: "Raptordramon", dim: dim, stage: 4, imageName: "raptordramon", imageNameSplash: "raptordramon-splash", type: vaccine, activityType: "Stotic", adventureMode: true, adventureStage: 6, characterID: 19)
// MARK: - Stage 5
let dexdorugreymon = addDigimon(name: "DexDoruGreymon", dim: dim, stage: 5, imageName: "dexdorugreymon", imageNameSplash: "dexdorugreymon-splash", type: virus, activityType: "Lazy", characterID: 9)
let dorugreymon = addDigimon(name: "DoruGreymon", dim: dim, stage: 5, imageName: "dorugreymon", imageNameSplash: "dorugreymon-splash", type: data, activityType: "Stotic", characterID: 8)
let gigadramon = addDigimon(name: "Gigadramon", dim: dim, stage: 5, imageName: "gigadramon", imageNameSplash: "gigadramon-splash", type: virus, activityType: "", characterID: 12)
let grademon = addDigimon(name: "Grademon", dim: dim, stage: 5, imageName: "grademon", imageNameSplash: "grademon-splash", type: vaccine, activityType: "Active", adventureMode: true, adventureStage: 8, characterID: 20)
let megadramon = addDigimon(name: "Megadramon", dim: dim, stage: 5, imageName: "megadramon", imageNameSplash: "megadramon-splash", type: virus, activityType: "Stotic", characterID: 11)
let metaltyrannomon = addDigimon(name: "MetalTyrannomon", dim: dim, stage: 5, imageName: "metaltyrannomon", imageNameSplash: "metaltyrannomon-splash", type: virus, activityType: "Normal", characterID: 10)
// MARK: - Stage 6
let alphamon = addDigimon(name: "Alphamon", dim: dim, stage: 6, imageName: "alphamon", imageNameSplash: "alphamon-splash", type: vaccine, activityType: "Stotic", adventureMode: true, adventureStage: 12, characterID: 22)
let chaosdramon = addDigimon(name: "Chaosdramon", dim: dim, stage: 6, imageName: "chaosdramon", imageNameSplash: "chaosdramon-splash", type: virus, activityType: "", characterID: 15)
let dexdorugoramon = addDigimon(name: "DexDorugoramon", dim: dim, stage: 6, imageName: "dexdorugoramon", imageNameSplash: "dexdorugoramon-splash", type: virus, activityType: "Active", characterID: 14)
let dorugoramon = addDigimon(name: "Dorugoramon", dim: dim, stage: 6, imageName: "dorugoramon", imageNameSplash: "dorugoramon-splash", type: data, activityType: "Active", characterID: 13)
let gundramon = addDigimon(name: "Gundramon", dim: dim, stage: 6, imageName: "gundramon", imageNameSplash: "gundramon-splash", type: virus, activityType: "Normal", characterID: 18)
let machinedramon = addDigimon(name: "Machinedramon", dim: dim, stage: 6, imageName: "machinedramon", imageNameSplash: "machinedramon-splash", type: virus, activityType: "Normal", characterID: 17)
let metalseadramon = addDigimon(name: "MetalSeadramon", dim: dim, stage: 6, imageName: "metalseadramon", imageNameSplash: "metalseadramon-splash", type: data, activityType: "Active", characterID: 16)
// MARK: - Stage 7
let alphamon_ouryuken = addDigimon(name: "Alphamon: Ouryuken", dim: dim, stage: 7, imageName: "alphamon_ouryuken", imageNameSplash: "alphamon_ouryuken-splash", type: vaccine, activityType: "Indoor", characterID: 21)
// MARK: - Evolutions
// MARK: - Stage 1 to 2
addEvolution(from: dodomon, to: dorimon, minutes: evo1Hour)
// MARK: - Stage 2 to 3
addEvolution(from: dorimon, to: agumon_black, minutes: evo3Hours)
addEvolution(from: dorimon, to: dorumon, trophies: 5, vitalValues: 1000, minutes: evo3Hours)
// MARK: - Stage 3 to 4
addEvolution(from: agumon_black, to: airdramon, minutes: evo12Hours)
addEvolution(from: agumon_black, to: dark_tyrannomon, trophies: 5, vitalValues: 1000, battles: 3, minutes: evo12Hours)
addEvolution(from: dorumon, to: dexdorugamon, trophies: 8, vitalValues: 1000, battles: 5, minutes: evo12Hours)
addEvolution(from: agumon_black, to: dexdorugamon, trophies: 8, vitalValues: 1000, battles: 5, minutes: evo12Hours)
addEvolution(from: dorumon, to: dorugamon, trophies: 10, vitalValues: 1000, battles: 8, minutes: evo12Hours)
addEvolution(from: dorumon, to: raptordramon, trophies: 12, vitalValues: 1500, battles: 10, minutes: evo12Hours)
// MARK: - Stage 4 to 5
addEvolution(from: raptordramon, to: dexdorugreymon, trophies: 10, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: dorugamon, to: dexdorugreymon, trophies: 10, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: dexdorugamon, to: dexdorugreymon, trophies: 10, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: dorugamon, to: dorugreymon, trophies: 12, vitalValues: 2500, battles: 12, winRatio: 50, minutes: evo24Hours)
addEvolution(from: raptordramon, to: dorugreymon, trophies: 12, vitalValues: 2500, battles: 12, winRatio: 50, minutes: evo24Hours)
addEvolution(from: dexdorugamon, to: dorugreymon, trophies: 12, vitalValues: 2500, battles: 12, winRatio: 50, minutes: evo24Hours)
addEvolution(from: dark_tyrannomon, to: gigadramon, trophies: 8, vitalValues: 1500, battles: 4, winRatio: 30, minutes: evo24Hours)
addEvolution(from: airdramon, to: gigadramon, trophies: 8, vitalValues: 1500, battles: 8, winRatio: 30, minutes: evo24Hours)
addEvolution(from: raptordramon, to: grademon, trophies: 12, vitalValues: 2500, battles: 15, winRatio: 60, minutes: evo24Hours)
addEvolution(from: dorugamon, to: grademon, trophies: 12, vitalValues: 2500, battles: 15, winRatio: 60, minutes: evo24Hours)
addEvolution(from: airdramon, to: megadramon, trophies: 8, vitalValues: 1500, battles: 4, winRatio: 30, minutes: evo24Hours)
addEvolution(from: dark_tyrannomon, to: megadramon, trophies: 8, vitalValues: 1500, battles: 8, winRatio: 30, minutes: evo24Hours)
addEvolution(from: dark_tyrannomon, to: metaltyrannomon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 40, minutes: evo24Hours)
addEvolution(from: dexdorugamon, to: metaltyrannomon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 40, minutes: evo24Hours)
addEvolution(from: airdramon, to: metaltyrannomon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 40, minutes: evo24Hours)
// MARK: - Stage 5 to 6
addEvolution(from: dorugreymon, to: alphamon, trophies: 35, vitalValues: 3500, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: grademon, to: alphamon, trophies: 35, vitalValues: 3500, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: dexdorugreymon, to: chaosdramon, trophies: 25, vitalValues: 2500, battles: 15, winRatio: 60, minutes: evo24Hours)
addEvolution(from: metaltyrannomon, to: chaosdramon, trophies: 25, vitalValues: 2500, battles: 15, winRatio: 60, minutes: evo24Hours)
addEvolution(from: dorugreymon, to: dexdorugoramon, trophies: 30, vitalValues: 3000, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: dexdorugreymon, to: dexdorugoramon, trophies: 30, vitalValues: 3000, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: grademon, to: dexdorugoramon, trophies: 30, vitalValues: 3000, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: dexdorugreymon, to: dorugoramon, trophies: 30, vitalValues: 3000, battles: 20, winRatio: 60, minutes: evo24Hours)
addEvolution(from: grademon, to: dorugoramon, trophies: 30, vitalValues: 3000, battles: 20, winRatio: 60, minutes: evo24Hours)
addEvolution(from: dorugreymon, to: dorugoramon, trophies: 30, vitalValues: 3000, battles: 20, winRatio: 60, minutes: evo24Hours)
addEvolution(from: gigadramon, to: gundramon, trophies: 13, vitalValues: 1500, battles: 15, winRatio: 40, minutes: evo24Hours)
addEvolution(from: metaltyrannomon, to: gundramon, trophies: 13, vitalValues: 1500, battles: 15, winRatio: 40, minutes: evo24Hours)
addEvolution(from: megadramon, to: machinedramon, trophies: 15, vitalValues: 1500, battles: 5, winRatio: 40, minutes: evo24Hours)
addEvolution(from: metaltyrannomon, to: machinedramon, trophies: 15, vitalValues: 1500, battles: 5, winRatio: 40, minutes: evo24Hours)
addEvolution(from: gigadramon, to: metalseadramon, trophies: 15, vitalValues: 1500, battles: 15, winRatio: 40, minutes: evo24Hours)
addEvolution(from: megadramon, to: metalseadramon, trophies: 20, vitalValues: 2000, battles: 15, winRatio: 50, minutes: evo24Hours)
// MARK: - Stage 6 to 7
addEvolution(from: alphamon, to: alphamon_ouryuken, isJogress: true, jogressAnotherDIM: true, jogressDIM: 136, jogressCharacterID: 13, minutes: evo3Hours)
// MARK: - Adventure Mode
addAdventureMode(stage : 1, steps: 500, digimon : agumon_black, dim : dim)
addAdventureMode(stage : 2, steps: 500, digimon : agumon_black, dim : dim)
addAdventureMode(stage : 3, steps: 500, digimon : dorumon, dim : dim)
addAdventureMode(stage : 4, steps: 1000, digimon : airdramon, dim : dim)
addAdventureMode(stage : 5, steps: 1000, digimon : dark_tyrannomon, dim : dim)
addAdventureMode(stage : 6, steps: 1000, digimon : raptordramon, unlock : true, dim : dim)
addAdventureMode(stage : 7, steps: 1500, digimon : megadramon, dim : dim)
addAdventureMode(stage : 8, steps: 1500, digimon : grademon, unlock : true, dim : dim)
addAdventureMode(stage : 9, steps: 2000, digimon : machinedramon, dim : dim)
addAdventureMode(stage : 10, steps: 2000, digimon : chaosdramon, dim : dim)
addAdventureMode(stage : 11, steps: 2500, digimon : dorugoramon, dim : dim)
addAdventureMode(stage : 12, steps: 2500, digimon : alphamon, unlock : true, dim : dim)
}
}