import UIKit
import CoreData
class ImportPrimevalWarriors: ImportProtocol {
var moc: NSManagedObjectContext
required init(viewContext: NSManagedObjectContext) {
moc = viewContext
}
func importDIM() {
// MARK: - DIM
let dim = addDIM(name: "Primeval Warriors", franchise: "Digimon", imageName: "PrimevalWarriors-Header", dimType: "Vital Bracelet/Hero", id: "4", eggImage: "PrimevalWarriors-Egg", dimImage: "PrimevalWarriors-DIM")
// MARK: - Digimon
// MARK: - Stage 1
let leafmon = addDigimon(name: "Leafmon", dim: dim, stage: 1, imageName: "leafmon", imageNameSplash: "leafmon-splash", type: free, activityType: "Normal", characterID: 0)
// MARK: - Stage 2
let minomon = addDigimon(name: "Minomon", dim: dim, stage: 2, imageName: "minomon", imageNameSplash: "minomon-splash", type: free, activityType: "Normal", characterID: 1)
// MARK: - Stage 3
let wormmon = addDigimon(name: "Wormmon", dim: dim, stage: 3, imageName: "wormmon", imageNameSplash: "wormmon-splash", type: free, activityType: "Indoor", characterID: 2)
// MARK: - Stage 4
let hudiemon = addDigimon(name: "Hudiemon", dim: dim, stage: 4, imageName: "hudiemon", imageNameSplash: "hudiemon-splash", type: free, activityType: "Indoor", characterID: 5)
let roachmon = addDigimon(name: "Roachmon", dim: dim, stage: 4, imageName: "roachmon", imageNameSplash: "roachmon-splash", type: virus, activityType: "Lazy", characterID: 6)
let shadramon = addDigimon(name: "Shadramon", dim: dim, stage: 4, imageName: "shadramon", imageNameSplash: "shadramon-splash", type: free, activityType: "Active", characterID: 4)
let stingmon = addDigimon(name: "Stingmon", dim: dim, stage: 4, imageName: "stingmon", imageNameSplash: "stingmon-splash", type: free, activityType: "Normal", characterID: 3)
// MARK: - Stage 5
let bucchiemon = addDigimon(name: "Bucchiemon", dim: dim, stage: 5, imageName: "bucchiemon", imageNameSplash: "bucchiemon-splash", type: free, activityType: "Normal", characterID: 11)
let bucchiemon_green = addDigimon(name: "Bucchiemon (Green)", dim: dim, stage: 5, imageName: "bucchiemon_green", imageNameSplash: "bucchiemon_green-splash", type: free, activityType: "Normal", characterID: 12)
let dinobeemon = addDigimon(name: "Dinobeemon", dim: dim, stage: 5, imageName: "dinobeemon", imageNameSplash: "dinobeemon-splash", type: free, activityType: "Lazy", characterID: 9)
let jewelbeemon = addDigimon(name: "Jewelbeemon", dim: dim, stage: 5, imageName: "jewelbeemon", imageNameSplash: "jewelbeemon-splash", type: vaccine, activityType: "Normal", characterID: 7)
let kongoumon = addDigimon(name: "Kongoumon", dim: dim, stage: 5, imageName: "kongoumon", imageNameSplash: "kongoumon-splash", type: free, activityType: "Stotic", characterID: 10)
let paildramon = addDigimon(name: "Paildramon", dim: dim, stage: 5, imageName: "paildramon", imageNameSplash: "paildramon-splash", type: free, activityType: "Normal", characterID: 8)
// MARK: - Stage 6
let banchostingmon = addDigimon(name: "BanchoStingmon", dim: dim, stage: 6, imageName: "banchostingmon", imageNameSplash: "banchostingmon-splash", type: free, activityType: "Normal", characterID: 13)
let grankuwagamon = addDigimon(name: "GranKuwagamon", dim: dim, stage: 6, imageName: "grankuwagamon", imageNameSplash: "grankuwagamon-splash", type: free, activityType: "Active", characterID: 14)
let imperialdramondragon_mode = addDigimon(name: "Imperialdramon: Dragon Mode", dim: dim, stage: 6, imageName: "imperialdramondragon_mode", imageNameSplash: "imperialdramondragon_mode-splash", type: free, activityType: "Indoor", characterID: 15)
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: 15, characterID: 16)
// MARK: - Evolutions
// MARK: - Stage 1 to 2
addEvolution(from: leafmon, to: minomon, minutes: evo1Hour)
// MARK: - Stage 2 to 3
addEvolution(from: minomon, to: wormmon, minutes: evo3Hours)
// MARK: - Stage 3 to 4
addEvolution(from: wormmon, to: hudiemon, trophies: 5, vitalValues: 600, battles: 3, minutes: evo16Hours)
addEvolution(from: wormmon, to: roachmon, minutes: evo16Hours)
addEvolution(from: wormmon, to: shadramon, trophies: 8, vitalValues: 900, battles: 5, minutes: evo16Hours)
addEvolution(from: wormmon, to: stingmon, trophies: 8, vitalValues: 900, battles: 5, minutes: evo16Hours)
// MARK: - Stage 4 to 5
addEvolution(from: roachmon, to: bucchiemon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: shadramon, to: bucchiemon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: stingmon, to: bucchiemon_green, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: hudiemon, to: bucchiemon_green, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: roachmon, to: dinobeemon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: shadramon, to: dinobeemon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: stingmon, to: jewelbeemon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: hudiemon, to: jewelbeemon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: roachmon, to: kongoumon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: shadramon, to: kongoumon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: hudiemon, to: paildramon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: stingmon, to: paildramon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
// MARK: - Stage 5 to 6
addEvolution(from: jewelbeemon, to: banchostingmon, trophies: 10, vitalValues: 4500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: kongoumon, to: banchostingmon, trophies: 10, vitalValues: 4500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: bucchiemon_green, to: banchostingmon, trophies: 10, vitalValues: 4500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: jewelbeemon, to: grankuwagamon, trophies: 15, vitalValues: 4500, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: kongoumon, to: grankuwagamon, trophies: 15, vitalValues: 4500, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: bucchiemon_green, to: grankuwagamon, trophies: 15, vitalValues: 4500, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: paildramon, to: imperialdramondragon_mode, trophies: 20, vitalValues: 5000, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: dinobeemon, to: imperialdramondragon_mode, trophies: 20, vitalValues: 5000, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: paildramon, to: imperialdramonpaladin_mode, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: dinobeemon, to: imperialdramonpaladin_mode, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: bucchiemon, to: imperialdramonpaladin_mode, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
// MARK: - Stage 6 to 7
addEvolution(from: banchostingmon, to: imperialdramondragon_mode, trophies: 20, vitalValues: 5000, battles: 20, winRatio: 70, minutes: evo3Hours)
// MARK: - Adventure Mode
addAdventureMode(stage : 1, steps: 500, digimon : wormmon, dim : dim)
addAdventureMode(stage : 2, steps: 1000, digimon : hudiemon, dim : dim)
addAdventureMode(stage : 3, steps: 1000, digimon : roachmon, dim : dim)
addAdventureMode(stage : 4, steps: 1000, digimon : shadramon, dim : dim)
addAdventureMode(stage : 5, steps: 1000, digimon : stingmon, dim : dim)
addAdventureMode(stage : 6, steps: 1500, digimon : dinobeemon, dim : dim)
addAdventureMode(stage : 7, steps: 1500, digimon : jewelbeemon, dim : dim)
addAdventureMode(stage : 8, steps: 1500, digimon : paildramon, dim : dim)
addAdventureMode(stage : 9, steps: 1500, digimon : bucchiemon, dim : dim)
addAdventureMode(stage : 10, steps: 1500, digimon : bucchiemon_green, dim : dim)
addAdventureMode(stage : 11, steps: 1500, digimon : kongoumon, dim : dim)
addAdventureMode(stage : 12, steps: 2000, digimon : banchostingmon, dim : dim)
addAdventureMode(stage : 13, steps: 2000, digimon : grankuwagamon, dim : dim)
addAdventureMode(stage : 14, steps: 2000, digimon : imperialdramondragon_mode, dim : dim)
addAdventureMode(stage : 15, steps: 2500, digimon : imperialdramonpaladin_mode, unlock : true, dim : dim)
}
}