import UIKit
import CoreData
class ImportMedarot: ImportProtocol {
var moc: NSManagedObjectContext
required init(viewContext: NSManagedObjectContext) {
moc = viewContext
}
func importDIM() {
// MARK: - DIM
let dim = addDIM(name: "Medarot", franchise: "Digimon", imageName: "Medarot-Header", dimType: "Vital Bracelet/Hero", id: "31", eggImage: "Medarot-Egg", dimImage: "Medarot-DIM")
// MARK: - Digimon
// MARK: - Stage 1
let weathered_medal = addDigimon(name: "Weathered Medal", dim: dim, stage: 1, imageName: "weathered_medal", imageNameSplash: "weathered_medal-splash", type: free, activityType: "Normal", characterID: 0)
// MARK: - Stage 2
let medal = addDigimon(name: "Medal", dim: dim, stage: 2, imageName: "medal", imageNameSplash: "medal-splash", type: free, activityType: "Normal", characterID: 1)
// MARK: - Stage 3
let tinpet = addDigimon(name: "Tinpet", dim: dim, stage: 3, imageName: "tinpet", imageNameSplash: "tinpet-splash", type: free, activityType: "Normal", characterID: 2)
// MARK: - Stage 4
let garurumon = addDigimon(name: "Garurumon", dim: dim, stage: 4, imageName: "garurumon", imageNameSplash: "garurumon-splash", type: vaccine, activityType: "Active", characterID: 4)
let greymon = addDigimon(name: "Greymon", dim: dim, stage: 4, imageName: "greymon", imageNameSplash: "greymon-splash", type: vaccine, activityType: "Active", characterID: 3)
let metabee_head_and_arm = addDigimon(name: "Metabee (Head and Arm)", dim: dim, stage: 4, imageName: "metabee_head_and_arm", imageNameSplash: "metabee_head_and_arm-splash", type: free, activityType: "Stotic", characterID: 5)
let rokusho_head_and_arm = addDigimon(name: "Rokusho (Head and Arm)", dim: dim, stage: 4, imageName: "rokusho_head_and_arm", imageNameSplash: "rokusho_head_and_arm-splash", type: free, activityType: "Indoor", characterID: 6)
// MARK: - Stage 5
let garurumetal = addDigimon(name: "GaruruMetal", dim: dim, stage: 5, imageName: "garurumetal", imageNameSplash: "garurumetal-splash", type: free, activityType: "Normal", characterID: 8)
let greywars = addDigimon(name: "GreyWars", dim: dim, stage: 5, imageName: "greywars", imageNameSplash: "greywars-splash", type: free, activityType: "Active", characterID: 7)
let metabee = addDigimon(name: "Metabee", dim: dim, stage: 5, imageName: "metabee", imageNameSplash: "metabee-splash", type: free, activityType: "Stotic", characterID: 9)
let rokusho = addDigimon(name: "Rokusho", dim: dim, stage: 5, imageName: "rokusho", imageNameSplash: "rokusho-splash", type: free, activityType: "Indoor", characterID: 10)
// MARK: - Stage 6
let omedamon = addDigimon(name: "Omedamon", dim: dim, stage: 6, imageName: "omedamon", imageNameSplash: "omedamon-splash", type: free, activityType: "Stotic", characterID: 12)
let omegaknight = addDigimon(name: "OmegaKnight", dim: dim, stage: 6, imageName: "omegaknight", imageNameSplash: "omegaknight-splash", type: free, activityType: "Normal", characterID: 11)
// MARK: - Evolutions
// MARK: - Stage 1 to 2
addEvolution(from: weathered_medal, to: medal, minutes: evo1Hour)
// MARK: - Stage 2 to 3
addEvolution(from: medal, to: tinpet, minutes: evo3Hours)
// MARK: - Stage 3 to 4
addEvolution(from: tinpet, to: garurumon, trophies: 8, vitalValues: 900, battles: 5, minutes: evo16Hours)
addEvolution(from: tinpet, to: greymon, trophies: 10, vitalValues: 1300, battles: 8, minutes: evo16Hours)
addEvolution(from: tinpet, to: metabee_head_and_arm, trophies: 5, vitalValues: 600, battles: 3, minutes: evo16Hours)
addEvolution(from: tinpet, to: rokusho_head_and_arm, minutes: evo16Hours)
// MARK: - Stage 4 to 5
addEvolution(from: garurumon, to: garurumetal, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: greymon, to: greywars, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: garurumon, to: metabee, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: rokusho_head_and_arm, to: metabee, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: metabee_head_and_arm, to: metabee, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: greymon, to: metabee, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: garurumon, to: rokusho, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: greymon, to: rokusho, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: metabee_head_and_arm, to: rokusho, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: rokusho_head_and_arm, to: rokusho, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
// MARK: - Stage 5 to 6
addEvolution(from: greywars, to: omedamon, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: garurumetal, to: omedamon, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: metabee, to: omedamon, trophies: 20, vitalValues: 5000, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: rokusho, to: omedamon, trophies: 20, vitalValues: 5000, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: greywars, to: omegaknight, isJogress: true, jogressCharacterID: 8, minutes: evo24Hours)
// MARK: - Adventure Mode
addAdventureMode(stage : 1, steps: 500, digimon : tinpet, dim : dim)
addAdventureMode(stage : 2, steps: 1000, digimon : metabee_head_and_arm, dim : dim)
addAdventureMode(stage : 3, steps: 1000, digimon : rokusho_head_and_arm, dim : dim)
addAdventureMode(stage : 4, steps: 1000, digimon : metabee_head_and_arm, dim : dim)
addAdventureMode(stage : 5, steps: 1000, digimon : rokusho_head_and_arm, dim : dim)
addAdventureMode(stage : 6, steps: 1500, digimon : garurumon, dim : dim)
addAdventureMode(stage : 7, steps: 1500, digimon : greymon, dim : dim)
addAdventureMode(stage : 8, steps: 1500, digimon : metabee, dim : dim)
addAdventureMode(stage : 9, steps: 1500, digimon : rokusho, dim : dim)
addAdventureMode(stage : 10, steps: 1500, digimon : metabee, dim : dim)
addAdventureMode(stage : 11, steps: 1500, digimon : rokusho, dim : dim)
addAdventureMode(stage : 12, steps: 2000, digimon : garurumetal, dim : dim)
addAdventureMode(stage : 13, steps: 2000, digimon : greymon, dim : dim)
addAdventureMode(stage : 14, steps: 2000, digimon : omedamon, dim : dim)
addAdventureMode(stage : 15, steps: 2500, digimon : omegaknight, dim : dim)
}
}