import UIKit
import CoreData
class ImportImperialdramon: ImportProtocol {
var moc: NSManagedObjectContext
required init(viewContext: NSManagedObjectContext) {
moc = viewContext
}
func importDIM() {
// MARK: - DIM
let dim = addDIM(name: "Imperialdramon", franchise: "Digimon", imageName: "Imperialdramon-Header", dimType: "Vital Bracelet BE", id: "128", eggImage: "Imperialdramon-Egg", dimImage: "Imperialdramon-DIM", adventureIcon: "Imperialdramon-Adventure")
// MARK: - Digimon
// MARK: - Stage 1
let chibomon = addDigimon(name: "Chibomon", dim: dim, stage: 1, imageName: "chibomon", imageNameSplash: "chibomon-splash", type: free, activityType: "Normal", characterID: 0)
let leafmon = addDigimon(name: "Leafmon", dim: dim, stage: 1, imageName: "leafmon", imageNameSplash: "leafmon-splash", type: free, activityType: "Normal", adventureMode: true, adventureStage: 2, characterID: 6)
// MARK: - Stage 2
let demiveemon = addDigimon(name: "DemiVeemon", dim: dim, stage: 2, imageName: "demiveemon", imageNameSplash: "demiveemon-splash", type: free, activityType: "Normal", characterID: 1)
let minomon = addDigimon(name: "Minomon", dim: dim, stage: 2, imageName: "minomon", imageNameSplash: "minomon-splash", type: free, activityType: "Normal", adventureMode: true, adventureStage: 2, characterID: 7)
// MARK: - Stage 3
let veemon = addDigimon(name: "Veemon", dim: dim, stage: 3, imageName: "veemon", imageNameSplash: "veemon-splash", type: free, activityType: "Active", characterID: 2)
let wormmon = addDigimon(name: "Wormmon", dim: dim, stage: 3, imageName: "wormmon", imageNameSplash: "wormmon-splash", type: free, activityType: "Active", adventureMode: true, adventureStage: 2, characterID: 8)
// MARK: - Stage 4
let exveemon = addDigimon(name: "ExVeemon", dim: dim, stage: 4, imageName: "exveemon", imageNameSplash: "exveemon-splash", type: free, activityType: "Active", characterID: 3)
let stingmon = addDigimon(name: "Stingmon", dim: dim, stage: 4, imageName: "stingmon", imageNameSplash: "stingmon-splash", type: free, activityType: "Active", adventureMode: true, adventureStage: 4, characterID: 9)
// MARK: - Stage 5
let dinobeemon = addDigimon(name: "Dinobeemon", dim: dim, stage: 5, imageName: "dinobeemon", imageNameSplash: "dinobeemon-splash", type: free, activityType: "Normal", adventureMode: true, adventureStage: 8, characterID: 10)
let paildramon = addDigimon(name: "Paildramon", dim: dim, stage: 5, imageName: "paildramon", imageNameSplash: "paildramon-splash", type: free, activityType: "Normal", characterID: 4)
// MARK: - Stage 6
let imperialdramondragon_mode = addDigimon(name: "Imperialdramon: Dragon Mode", dim: dim, stage: 6, imageName: "imperialdramondragon_mode", imageNameSplash: "imperialdramondragon_mode-splash", type: free, activityType: "Normal", characterID: 5)
let imperialdramonfighter_mode = addDigimon(name: "Imperialdramon: Fighter Mode", dim: dim, stage: 6, imageName: "imperialdramonfighter_mode", imageNameSplash: "imperialdramonfighter_mode-splash", type: free, activityType: "Stotic", adventureMode: true, adventureStage: 10, characterID: 11)
let imperialdramonpaladin_mode = addDigimon(name: "Imperialdramon: Paladin Mode", dim: dim, stage: 6, imageName: "imperialdramonpaladin_mode", imageNameSplash: "imperialdramonpaladin_mode-splash", type: vaccine, activityType: "Stotic", adventureMode: true, adventureStage: 12, characterID: 12)
// MARK: - Evolutions
// MARK: - Stage 1 to 2
addEvolution(from: chibomon, to: demiveemon, minutes: evo1Hour)
addEvolution(from: leafmon, to: minomon, minutes: evo1Hour)
// MARK: - Stage 2 to 3
addEvolution(from: demiveemon, to: veemon, trophies: 5, vitalValues: 500, minutes: evo3Hours)
addEvolution(from: minomon, to: wormmon, trophies: 5, vitalValues: 500, minutes: evo3Hours)
// MARK: - Stage 3 to 4
addEvolution(from: veemon, to: exveemon, trophies: 20, vitalValues: 1500, battles: 10, minutes: evo12Hours)
addEvolution(from: wormmon, to: stingmon, trophies: 20, vitalValues: 1500, battles: 10, minutes: evo12Hours)
// MARK: - Stage 4 to 5
addEvolution(from: stingmon, to: dinobeemon, isJogress: true, jogressCharacterID: 3, minutes: evo24Hours)
addEvolution(from: stingmon, to: dinobeemon, trophies: 12, vitalValues: 2500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: exveemon, to: paildramon, trophies: 12, vitalValues: 2500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: exveemon, to: paildramon, isJogress: true, jogressCharacterID: 9, minutes: evo24Hours)
// MARK: - Stage 5 to 6
addEvolution(from: paildramon, to: imperialdramondragon_mode, trophies: 15, vitalValues: 4000, battles: 20, winRatio: 60, minutes: evo24Hours)
addEvolution(from: dinobeemon, to: imperialdramonfighter_mode, trophies: 20, vitalValues: 3500, battles: 20, winRatio: 50, minutes: evo24Hours)
addEvolution(from: paildramon, to: imperialdramonpaladin_mode, trophies: 15, vitalValues: 4000, battles: 20, winRatio: 60, minutes: evo24Hours)
addEvolution(from: dinobeemon, to: imperialdramonpaladin_mode, trophies: 15, vitalValues: 4000, battles: 20, winRatio: 60, minutes: evo24Hours)
// MARK: - Adventure Mode
addAdventureMode(stage : 1, steps: 500, digimon : veemon, dim : dim)
addAdventureMode(stage : 2, steps: 500, digimon : wormmon, unlock : true, dim : dim)
addAdventureMode(stage : 3, steps: 1000, digimon : exveemon, dim : dim)
addAdventureMode(stage : 4, steps: 1000, digimon : stingmon, unlock : true, dim : dim)
addAdventureMode(stage : 5, steps: 1000, digimon : exveemon, dim : dim)
addAdventureMode(stage : 6, steps: 1000, digimon : stingmon, dim : dim)
addAdventureMode(stage : 7, steps: 1500, digimon : paildramon, dim : dim)
addAdventureMode(stage : 8, steps: 1500, digimon : dinobeemon, unlock : true, dim : dim)
addAdventureMode(stage : 9, steps: 1500, digimon : imperialdramondragon_mode, dim : dim)
addAdventureMode(stage : 10, steps: 1500, digimon : imperialdramonfighter_mode, unlock : true, dim : dim)
addAdventureMode(stage : 11, steps: 2000, digimon : imperialdramondragon_mode, dim : dim)
addAdventureMode(stage : 12, steps: 2500, digimon : imperialdramonpaladin_mode, unlock : true, dim : dim)
}
}