import UIKit
import CoreData
class ImportDynastyOfTheEvil: ImportProtocol {
var moc: NSManagedObjectContext
required init(viewContext: NSManagedObjectContext) {
moc = viewContext
}
func importDIM() {
// MARK: - DIM
let dim = addDIM(name: "Dynasty Of The Evil", franchise: "Digimon", imageName: "DynastyOfTheEvil-Header", dimType: "Vital Bracelet/Hero", id: "11", eggImage: "DynastyOfTheEvil-Egg", dimImage: "DynastyOfTheEvil-DIM")
// MARK: - Digimon
// MARK: - Stage 1
let zurumon = addDigimon(name: "Zurumon", dim: dim, stage: 1, imageName: "zurumon", imageNameSplash: "zurumon-splash", type: free, activityType: "Normal", characterID: 0)
// MARK: - Stage 2
let pagumon = addDigimon(name: "Pagumon", dim: dim, stage: 2, imageName: "pagumon", imageNameSplash: "pagumon-splash", type: free, activityType: "Normal", characterID: 1)
// MARK: - Stage 3
let ghostmon = addDigimon(name: "Ghostmon", dim: dim, stage: 3, imageName: "ghostmon", imageNameSplash: "ghostmon-splash", type: data, activityType: "Normal", characterID: 2)
// MARK: - Stage 4
let bakemon = addDigimon(name: "Bakemon", dim: dim, stage: 4, imageName: "bakemon", imageNameSplash: "bakemon-splash", type: virus, activityType: "Lazy", characterID: 6)
let devimon = addDigimon(name: "Devimon", dim: dim, stage: 4, imageName: "devimon", imageNameSplash: "devimon-splash", type: virus, activityType: "Indoor", characterID: 5)
let saberdramon = addDigimon(name: "Saberdramon", dim: dim, stage: 4, imageName: "saberdramon", imageNameSplash: "saberdramon-splash", type: vaccine, activityType: "Active", characterID: 3)
let wizardmon = addDigimon(name: "Wizardmon", dim: dim, stage: 4, imageName: "wizardmon", imageNameSplash: "wizardmon-splash", type: data, activityType: "Normal", characterID: 4)
// MARK: - Stage 5
let cyberdramon_2010 = addDigimon(name: "Cyberdramon (2010)", dim: dim, stage: 5, imageName: "cyberdramon_2010", imageNameSplash: "cyberdramon_2010-splash", type: vaccine, activityType: "Active", characterID: 8)
let jokermon = addDigimon(name: "Jokermon", dim: dim, stage: 5, imageName: "jokermon", imageNameSplash: "jokermon-splash", type: virus, activityType: "Stotic", characterID: 11)
let myotismon = addDigimon(name: "Myotismon", dim: dim, stage: 5, imageName: "myotismon", imageNameSplash: "myotismon-splash", type: virus, activityType: "Active", characterID: 10)
let phantomon = addDigimon(name: "Phantomon", dim: dim, stage: 5, imageName: "phantomon", imageNameSplash: "phantomon-splash", type: virus, activityType: "Lazy", characterID: 12)
let pumpkinmon = addDigimon(name: "Pumpkinmon", dim: dim, stage: 5, imageName: "pumpkinmon", imageNameSplash: "pumpkinmon-splash", type: data, activityType: "Indoor", characterID: 9)
let reapmon = addDigimon(name: "Reapmon", dim: dim, stage: 5, imageName: "reapmon", imageNameSplash: "reapmon-splash", type: free, activityType: "Normal", characterID: 7)
// MARK: - Stage 6
let beelzemon_2010 = addDigimon(name: "Beelzemon (2010)", dim: dim, stage: 6, imageName: "beelzemon_2010", imageNameSplash: "beelzemon_2010-splash", type: virus, activityType: "Normal", characterID: 15)
let neo_myotismon = addDigimon(name: "Neo Myotismon", dim: dim, stage: 6, imageName: "neo_myotismon", imageNameSplash: "neo_myotismon-splash", type: virus, activityType: "Active", adventureMode: true, adventureStage: 15, characterID: 16)
let noblepumpkinmon = addDigimon(name: "NoblePumpkinmon", dim: dim, stage: 6, imageName: "noblepumpkinmon", imageNameSplash: "noblepumpkinmon-splash", type: data, activityType: "Indoor", characterID: 13)
let piedmon = addDigimon(name: "Piedmon", dim: dim, stage: 6, imageName: "piedmon", imageNameSplash: "piedmon-splash", type: virus, activityType: "Stotic", characterID: 14)
// MARK: - Evolutions
// MARK: - Stage 1 to 2
addEvolution(from: zurumon, to: pagumon, minutes: evo1Hour)
// MARK: - Stage 2 to 3
addEvolution(from: pagumon, to: ghostmon, minutes: evo3Hours)
// MARK: - Stage 3 to 4
addEvolution(from: ghostmon, to: bakemon, minutes: evo16Hours)
addEvolution(from: ghostmon, to: devimon, trophies: 5, vitalValues: 600, battles: 3, minutes: evo16Hours)
addEvolution(from: ghostmon, to: saberdramon, trophies: 10, vitalValues: 1300, battles: 8, minutes: evo16Hours)
addEvolution(from: ghostmon, to: wizardmon, trophies: 8, vitalValues: 1300, battles: 5, minutes: evo16Hours)
// MARK: - Stage 4 to 5
addEvolution(from: bakemon, to: cyberdramon_2010, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: saberdramon, to: cyberdramon_2010, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: wizardmon, to: jokermon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: devimon, to: jokermon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: devimon, to: myotismon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: saberdramon, to: myotismon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: saberdramon, to: phantomon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: bakemon, to: phantomon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: wizardmon, to: pumpkinmon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: bakemon, to: pumpkinmon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: wizardmon, to: reapmon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: devimon, to: reapmon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
// MARK: - Stage 5 to 6
addEvolution(from: reapmon, to: beelzemon_2010, trophies: 15, vitalValues: 4500, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: jokermon, to: beelzemon_2010, trophies: 15, vitalValues: 4500, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: cyberdramon_2010, to: beelzemon_2010, trophies: 15, vitalValues: 4500, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: cyberdramon_2010, to: neo_myotismon, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: myotismon, to: neo_myotismon, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: phantomon, to: neo_myotismon, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: pumpkinmon, to: noblepumpkinmon, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: reapmon, to: noblepumpkinmon, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: phantomon, to: noblepumpkinmon, trophies: 10, vitalValues: 4500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: pumpkinmon, to: piedmon, trophies: 20, vitalValues: 5000, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: myotismon, to: piedmon, trophies: 20, vitalValues: 5000, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: jokermon, to: piedmon, trophies: 20, vitalValues: 5000, battles: 20, winRatio: 70, minutes: evo24Hours)
// MARK: - Adventure Mode
addAdventureMode(stage : 1, steps: 500, digimon : ghostmon, dim : dim)
addAdventureMode(stage : 2, steps: 1000, digimon : bakemon, dim : dim)
addAdventureMode(stage : 3, steps: 1000, digimon : devimon, dim : dim)
addAdventureMode(stage : 4, steps: 1000, digimon : wizardmon, dim : dim)
addAdventureMode(stage : 5, steps: 1000, digimon : saberdramon, dim : dim)
addAdventureMode(stage : 6, steps: 1500, digimon : phantomon, dim : dim)
addAdventureMode(stage : 7, steps: 1500, digimon : cyberdramon_2010, dim : dim)
addAdventureMode(stage : 8, steps: 1500, digimon : myotismon, dim : dim)
addAdventureMode(stage : 9, steps: 1500, digimon : pumpkinmon, dim : dim)
addAdventureMode(stage : 10, steps: 1500, digimon : jokermon, dim : dim)
addAdventureMode(stage : 11, steps: 1500, digimon : reapmon, dim : dim)
addAdventureMode(stage : 12, steps: 2000, digimon : noblepumpkinmon, dim : dim)
addAdventureMode(stage : 13, steps: 2000, digimon : beelzemon_2010, dim : dim)
addAdventureMode(stage : 14, steps: 2000, digimon : piedmon, dim : dim)
addAdventureMode(stage : 15, steps: 2500, digimon : neo_myotismon, unlock : true, dim : dim)
}
}