import UIKit
import CoreData
class ImportAncientWarriors: ImportProtocol {
var moc: NSManagedObjectContext
required init(viewContext: NSManagedObjectContext) {
moc = viewContext
}
func importDIM() {
// MARK: - DIM
let dim = addDIM(name: "Ancient Warriors", franchise: "Digimon", imageName: "AncientWarriors-Header", dimType: "Vital Bracelet/Hero", id: "7", eggImage: "AncientWarriors-Egg", dimImage: "AncientWarriors-DIM")
// 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)
// MARK: - Stage 2
let demiveemon = addDigimon(name: "DemiVeemon", dim: dim, stage: 2, imageName: "demiveemon", imageNameSplash: "demiveemon-splash", type: free, activityType: "Normal", characterID: 1)
// MARK: - Stage 3
let veemon = addDigimon(name: "Veemon", dim: dim, stage: 3, imageName: "veemon", imageNameSplash: "veemon-splash", type: free, activityType: "Active", characterID: 2)
// MARK: - Stage 4
let exveemon = addDigimon(name: "ExVeemon", dim: dim, stage: 4, imageName: "exveemon", imageNameSplash: "exveemon-splash", type: free, activityType: "Active", characterID: 4)
let flamedramon = addDigimon(name: "Flamedramon", dim: dim, stage: 4, imageName: "flamedramon", imageNameSplash: "flamedramon-splash", type: free, activityType: "Normal", characterID: 5)
let raidramon = addDigimon(name: "Raidramon", dim: dim, stage: 4, imageName: "raidramon", imageNameSplash: "raidramon-splash", type: free, activityType: "Normal", characterID: 6)
let veedramon = addDigimon(name: "Veedramon", dim: dim, stage: 4, imageName: "veedramon", imageNameSplash: "veedramon-splash", type: vaccine, activityType: "Stotic", characterID: 3)
// MARK: - Stage 5
let aeroveedramon = addDigimon(name: "AeroVeedramon", dim: dim, stage: 5, imageName: "aeroveedramon", imageNameSplash: "aeroveedramon-splash", type: vaccine, activityType: "Stotic", characterID: 7)
let digitamamon = addDigimon(name: "Digitamamon", dim: dim, stage: 5, imageName: "digitamamon", imageNameSplash: "digitamamon-splash", type: data, activityType: "Lazy", characterID: 12)
let dinobeemon = addDigimon(name: "Dinobeemon", dim: dim, stage: 5, imageName: "dinobeemon", imageNameSplash: "dinobeemon-splash", type: free, activityType: "Lazy", characterID: 10)
let goldveedramon = addDigimon(name: "GoldVeedramon", dim: dim, stage: 5, imageName: "goldveedramon", imageNameSplash: "goldveedramon-splash", type: vaccine, activityType: "Stotic", characterID: 11)
let paildramon = addDigimon(name: "Paildramon", dim: dim, stage: 5, imageName: "paildramon", imageNameSplash: "paildramon-splash", type: free, activityType: "Normal", characterID: 8)
let saggitarimon = addDigimon(name: "Saggitarimon", dim: dim, stage: 5, imageName: "saggitarimon", imageNameSplash: "saggitarimon-splash", type: free, activityType: "Indoor", characterID: 9)
// 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: "Indoor", characterID: 14)
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: 15, characterID: 16)
let magnamon = addDigimon(name: "Magnamon", dim: dim, stage: 6, imageName: "magnamon", imageNameSplash: "magnamon-splash", type: free, activityType: "Normal", characterID: 15)
let ulforce_v_dramon = addDigimon(name: "Ulforce V-dramon", dim: dim, stage: 6, imageName: "ulforce_v_dramon", imageNameSplash: "ulforce_v_dramon-splash", type: vaccine, activityType: "Active", characterID: 13)
// MARK: - Evolutions
// MARK: - Stage 1 to 2
addEvolution(from: chibomon, to: demiveemon, minutes: evo1Hour)
// MARK: - Stage 2 to 3
addEvolution(from: demiveemon, to: veemon, minutes: evo3Hours)
// MARK: - Stage 3 to 4
addEvolution(from: veemon, to: exveemon, trophies: 5, vitalValues: 800, battles: 3, minutes: evo16Hours)
addEvolution(from: veemon, to: flamedramon, trophies: 3, vitalValues: 500, minutes: evo16Hours)
addEvolution(from: veemon, to: raidramon, minutes: evo16Hours)
addEvolution(from: veemon, to: veedramon, trophies: 8, vitalValues: 1200, battles: 8, minutes: evo16Hours)
// MARK: - Stage 4 to 5
addEvolution(from: veedramon, to: aeroveedramon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: flamedramon, to: aeroveedramon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: raidramon, to: digitamamon, trophies: 6, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: flamedramon, to: digitamamon, trophies: 6, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: raidramon, to: dinobeemon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: exveemon, to: dinobeemon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: veedramon, to: goldveedramon, trophies: 6, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: exveemon, to: goldveedramon, trophies: 6, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: raidramon, to: paildramon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: exveemon, to: paildramon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: flamedramon, to: saggitarimon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: veedramon, to: saggitarimon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
// MARK: - Stage 5 to 6
addEvolution(from: aeroveedramon, to: imperialdramondragon_mode, trophies: 15, vitalValues: 4500, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: paildramon, to: imperialdramondragon_mode, trophies: 15, vitalValues: 4500, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: dinobeemon, to: imperialdramondragon_mode, trophies: 15, vitalValues: 4500, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: paildramon, to: imperialdramonfighter_mode, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: dinobeemon, to: imperialdramonfighter_mode, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: goldveedramon, to: imperialdramonfighter_mode, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: saggitarimon, to: magnamon, trophies: 10, vitalValues: 4500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: goldveedramon, to: magnamon, trophies: 10, vitalValues: 4500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: digitamamon, to: magnamon, trophies: 10, vitalValues: 4500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: aeroveedramon, to: ulforce_v_dramon, trophies: 20, vitalValues: 5000, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: saggitarimon, to: ulforce_v_dramon, trophies: 20, vitalValues: 5000, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: digitamamon, to: ulforce_v_dramon, trophies: 20, vitalValues: 5000, battles: 20, winRatio: 70, minutes: evo24Hours)
// MARK: - Adventure Mode
addAdventureMode(stage : 1, steps: 500, digimon : veemon, dim : dim)
addAdventureMode(stage : 2, steps: 1000, digimon : veedramon, dim : dim)
addAdventureMode(stage : 3, steps: 1000, digimon : exveemon, dim : dim)
addAdventureMode(stage : 4, steps: 1000, digimon : flamedramon, dim : dim)
addAdventureMode(stage : 5, steps: 1000, digimon : raidramon, dim : dim)
addAdventureMode(stage : 6, steps: 1500, digimon : aeroveedramon, dim : dim)
addAdventureMode(stage : 7, steps: 1500, digimon : paildramon, dim : dim)
addAdventureMode(stage : 8, steps: 1500, digimon : saggitarimon, dim : dim)
addAdventureMode(stage : 9, steps: 1500, digimon : dinobeemon, dim : dim)
addAdventureMode(stage : 10, steps: 1500, digimon : goldveedramon, dim : dim)
addAdventureMode(stage : 11, steps: 1500, digimon : digitamamon, dim : dim)
addAdventureMode(stage : 12, steps: 2000, digimon : ulforce_v_dramon, dim : dim)
addAdventureMode(stage : 13, steps: 2000, digimon : imperialdramondragon_mode, dim : dim)
addAdventureMode(stage : 14, steps: 2000, digimon : magnamon, dim : dim)
addAdventureMode(stage : 15, steps: 2500, digimon : imperialdramonfighter_mode, unlock : true, dim : dim)
}
}