import UIKit
import CoreData
class ImportEspimon: ImportProtocol {
var moc: NSManagedObjectContext
required init(viewContext: NSManagedObjectContext) {
moc = viewContext
}
func importDIM() {
// MARK: - DIM
let dim = addDIM(name: "Espimon", franchise: "Digimon", imageName: "Espimon-Header", dimType: "Vital Bracelet/Hero", id: "35", eggImage: "Espimon-Egg", dimImage: "Espimon-DIM")
// MARK: - Digimon
// MARK: - Stage 1
let cotsucomon = addDigimon(name: "Cotsucomon", dim: dim, stage: 1, imageName: "cotsucomon", imageNameSplash: "cotsucomon-splash", type: free, activityType: "Normal", characterID: 0)
// MARK: - Stage 2
let kakkinmon = addDigimon(name: "Kakkinmon", dim: dim, stage: 2, imageName: "kakkinmon", imageNameSplash: "kakkinmon-splash", type: free, activityType: "Normal", characterID: 1)
// MARK: - Stage 3
let espimon = addDigimon(name: "Espimon", dim: dim, stage: 3, imageName: "espimon", imageNameSplash: "espimon-splash", type: virus, activityType: "Active", characterID: 3)
let ludomon = addDigimon(name: "Ludomon", dim: dim, stage: 3, imageName: "ludomon", imageNameSplash: "ludomon-splash", type: data, activityType: "Indoor", characterID: 2)
// MARK: - Stage 4
let blackgatomon_uver = addDigimon(name: "BlackGatomon Uver.", dim: dim, stage: 4, imageName: "blackgatomon_uver", imageNameSplash: "blackgatomon_uver-splash", type: virus, activityType: "Normal", characterID: 7)
let hoverespimon = addDigimon(name: "HoverEspimon", dim: dim, stage: 4, imageName: "hoverespimon", imageNameSplash: "hoverespimon-splash", type: virus, activityType: "Active", characterID: 5)
let reppamon = addDigimon(name: "Reppamon", dim: dim, stage: 4, imageName: "reppamon", imageNameSplash: "reppamon-splash", type: vaccine, activityType: "Normal", characterID: 6)
let tialudomon = addDigimon(name: "TiaLudomon", dim: dim, stage: 4, imageName: "tialudomon", imageNameSplash: "tialudomon-splash", type: data, activityType: "Indoor", characterID: 4)
// MARK: - Stage 5
let digitamamon = addDigimon(name: "Digitamamon", dim: dim, stage: 5, imageName: "digitamamon", imageNameSplash: "digitamamon-splash", type: data, activityType: "Lazy", characterID: 9)
let manticoremon = addDigimon(name: "Manticoremon", dim: dim, stage: 5, imageName: "manticoremon", imageNameSplash: "manticoremon-splash", type: virus, activityType: "Stotic", characterID: 12)
let piximon = addDigimon(name: "Piximon", dim: dim, stage: 5, imageName: "piximon", imageNameSplash: "piximon-splash", type: data, activityType: "Normal", characterID: 10)
let raijiludomon = addDigimon(name: "RaijiLudomon", dim: dim, stage: 5, imageName: "raijiludomon", imageNameSplash: "raijiludomon-splash", type: data, activityType: "Indoor", characterID: 8)
let rareraremon = addDigimon(name: "RareRaremon", dim: dim, stage: 5, imageName: "rareraremon", imageNameSplash: "rareraremon-splash", type: virus, activityType: "Lazy", characterID: 11)
// MARK: - Stage 6
let bryweludramon = addDigimon(name: "BryweLudramon", dim: dim, stage: 6, imageName: "bryweludramon", imageNameSplash: "bryweludramon-splash", type: data, activityType: "Indoor", characterID: 13)
let devitamamon = addDigimon(name: "Devitamamon", dim: dim, stage: 6, imageName: "devitamamon", imageNameSplash: "devitamamon-splash", type: data, activityType: "Lazy", characterID: 15)
let ghoulmon_black = addDigimon(name: "Ghoulmon (Black)", dim: dim, stage: 6, imageName: "ghoulmon_black", imageNameSplash: "ghoulmon_black-splash", type: data, activityType: "Active", characterID: 14)
let ragnaloardmon = addDigimon(name: "RagnaLoardmon", dim: dim, stage: 6, imageName: "ragnaloardmon", imageNameSplash: "ragnaloardmon-splash", type: virus, activityType: "Active", characterID: 16)
// MARK: - Evolutions
// MARK: - Stage 1 to 2
addEvolution(from: cotsucomon, to: kakkinmon, minutes: evo1Hour)
// MARK: - Stage 2 to 3
addEvolution(from: kakkinmon, to: espimon, minutes: evo3Hours)
addEvolution(from: kakkinmon, to: ludomon, vitalValues: 1200, minutes: evo3Hours)
// MARK: - Stage 3 to 4
addEvolution(from: ludomon, to: blackgatomon_uver, minutes: evo16Hours)
addEvolution(from: espimon, to: blackgatomon_uver, minutes: evo16Hours)
addEvolution(from: espimon, to: hoverespimon, trophies: 10, vitalValues: 1300, battles: 8, minutes: evo16Hours)
addEvolution(from: ludomon, to: reppamon, trophies: 8, vitalValues: 900, battles: 5, minutes: evo16Hours)
addEvolution(from: espimon, to: reppamon, trophies: 8, vitalValues: 900, battles: 5, minutes: evo16Hours)
addEvolution(from: ludomon, to: tialudomon, trophies: 10, vitalValues: 1300, battles: 8, minutes: evo16Hours)
// MARK: - Stage 4 to 5
addEvolution(from: blackgatomon_uver, to: digitamamon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: hoverespimon, to: digitamamon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: blackgatomon_uver, to: manticoremon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: reppamon, to: manticoremon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: hoverespimon, to: manticoremon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: tialudomon, to: manticoremon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: hoverespimon, to: piximon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: blackgatomon_uver, to: piximon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: reppamon, to: raijiludomon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: tialudomon, to: raijiludomon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: reppamon, to: rareraremon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: tialudomon, to: rareraremon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
// MARK: - Stage 5 to 6
addEvolution(from: raijiludomon, to: bryweludramon, trophies: 20, vitalValues: 5000, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: piximon, to: bryweludramon, trophies: 20, vitalValues: 5000, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: raijiludomon, to: devitamamon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: digitamamon, to: devitamamon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: piximon, to: devitamamon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: rareraremon, to: devitamamon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: manticoremon, to: devitamamon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: digitamamon, to: ghoulmon_black, trophies: 20, vitalValues: 5000, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: rareraremon, to: ghoulmon_black, trophies: 20, vitalValues: 5000, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: manticoremon, to: ghoulmon_black, trophies: 20, vitalValues: 5000, battles: 20, winRatio: 70, minutes: evo24Hours)
// MARK: - Stage 6 to 7
addEvolution(from: bryweludramon, to: ragnaloardmon, isJogress: true, jogressAnotherDIM: true, jogressDIM: 34, jogressCharacterID: 13, minutes: evo3Hours)
// MARK: - Adventure Mode
addAdventureMode(stage : 1, steps: 500, digimon : espimon, dim : dim)
addAdventureMode(stage : 2, steps: 1000, digimon : ludomon, dim : dim)
addAdventureMode(stage : 3, steps: 1000, digimon : hoverespimon, dim : dim)
addAdventureMode(stage : 4, steps: 1000, digimon : blackgatomon_uver, dim : dim)
addAdventureMode(stage : 5, steps: 1000, digimon : reppamon, dim : dim)
addAdventureMode(stage : 6, steps: 1500, digimon : tialudomon, dim : dim)
addAdventureMode(stage : 7, steps: 1500, digimon : digitamamon, dim : dim)
addAdventureMode(stage : 8, steps: 1500, digimon : rareraremon, dim : dim)
addAdventureMode(stage : 9, steps: 1500, digimon : piximon, dim : dim)
addAdventureMode(stage : 10, steps: 1500, digimon : manticoremon, dim : dim)
addAdventureMode(stage : 11, steps: 1500, digimon : raijiludomon, dim : dim)
addAdventureMode(stage : 12, steps: 2000, digimon : devitamamon, dim : dim)
addAdventureMode(stage : 13, steps: 2000, digimon : ghoulmon_black, dim : dim)
addAdventureMode(stage : 14, steps: 2000, digimon : bryweludramon, dim : dim)
addAdventureMode(stage : 15, steps: 2500, digimon : ragnaloardmon, dim : dim)
}
}