import UIKit
import CoreData
class ImportAgnimon: ImportProtocol {
var moc: NSManagedObjectContext
required init(viewContext: NSManagedObjectContext) {
moc = viewContext
}
func importDIM() {
// MARK: - DIM
let dim = addDIM(name: "Agnimon", franchise: "Digimon", imageName: "Agnimon-Header", dimType: "Vital Bracelet/Hero", id: "6", eggImage: "Agnimon-Egg", dimImage: "Agnimon-DIM")
// MARK: - Digimon
// MARK: - Stage 1
let mokumon = addDigimon(name: "Mokumon", dim: dim, stage: 1, imageName: "mokumon", imageNameSplash: "mokumon-splash", type: free, activityType: "Normal", characterID: 0)
// MARK: - Stage 2
let demimeramon = addDigimon(name: "DemiMeramon", dim: dim, stage: 2, imageName: "demimeramon", imageNameSplash: "demimeramon-splash", type: free, activityType: "Normal", characterID: 1)
// MARK: - Stage 3
let flamemon = addDigimon(name: "Flamemon", dim: dim, stage: 3, imageName: "flamemon", imageNameSplash: "flamemon-splash", type: free, activityType: "Active", characterID: 2)
let gotsumon = addDigimon(name: "Gotsumon", dim: dim, stage: 3, imageName: "gotsumon", imageNameSplash: "gotsumon-splash", type: free, activityType: "Indoor", characterID: 3)
// MARK: - Stage 4
let agunimon = addDigimon(name: "Agunimon", dim: dim, stage: 4, imageName: "agunimon", imageNameSplash: "agunimon-splash", type: free, activityType: "Active", characterID: 4)
let grumblemon = addDigimon(name: "Grumblemon", dim: dim, stage: 4, imageName: "grumblemon", imageNameSplash: "grumblemon-splash", type: free, activityType: "Stotic", characterID: 7)
let meramon = addDigimon(name: "Meramon", dim: dim, stage: 4, imageName: "meramon", imageNameSplash: "meramon-splash", type: data, activityType: "Indoor", characterID: 5)
let starmon = addDigimon(name: "Starmon", dim: dim, stage: 4, imageName: "starmon", imageNameSplash: "starmon-splash", type: data, activityType: "Indoor", characterID: 6)
// MARK: - Stage 5
let aldamon = addDigimon(name: "Aldamon", dim: dim, stage: 5, imageName: "aldamon", imageNameSplash: "aldamon-splash", type: free, activityType: "Active", characterID: 8)
let burninggreymon = addDigimon(name: "BurningGreymon", dim: dim, stage: 5, imageName: "burninggreymon", imageNameSplash: "burninggreymon-splash", type: free, activityType: "Normal", characterID: 9)
let darksuperstarmon = addDigimon(name: "DarkSuperStarmon", dim: dim, stage: 5, imageName: "darksuperstarmon", imageNameSplash: "darksuperstarmon-splash", type: virus, activityType: "Indoor", characterID: 12)
let gigasmon = addDigimon(name: "Gigasmon", dim: dim, stage: 5, imageName: "gigasmon", imageNameSplash: "gigasmon-splash", type: free, activityType: "Normal", characterID: 11)
let superstarmon = addDigimon(name: "SuperStarmon", dim: dim, stage: 5, imageName: "superstarmon", imageNameSplash: "superstarmon-splash", type: data, activityType: "Stotic", characterID: 10)
// MARK: - Stage 6
let ancientgreymon = addDigimon(name: "AncientGreymon", dim: dim, stage: 6, imageName: "ancientgreymon", imageNameSplash: "ancientgreymon-splash", type: vaccine, activityType: "Normal", characterID: 14)
let ancientvolcamon = addDigimon(name: "AncientVolcamon", dim: dim, stage: 6, imageName: "ancientvolcamon", imageNameSplash: "ancientvolcamon-splash", type: virus, activityType: "Stotic", characterID: 15)
let emperorgreymon = addDigimon(name: "EmperorGreymon", dim: dim, stage: 6, imageName: "emperorgreymon", imageNameSplash: "emperorgreymon-splash", type: free, activityType: "Active", characterID: 13)
let susanoomon = addDigimon(name: "Susanoomon", dim: dim, stage: 6, imageName: "susanoomon", imageNameSplash: "susanoomon-splash", type: free, activityType: "Stotic", characterID: 16)
// MARK: - Evolutions
// MARK: - Stage 1 to 2
addEvolution(from: mokumon, to: demimeramon, minutes: evo1Hour)
// MARK: - Stage 2 to 3
addEvolution(from: demimeramon, to: flamemon, vitalValues: 1200, minutes: evo3Hours)
addEvolution(from: demimeramon, to: gotsumon, minutes: evo3Hours)
// MARK: - Stage 3 to 4
addEvolution(from: flamemon, to: agunimon, trophies: 10, vitalValues: 1300, battles: 8, minutes: evo16Hours)
addEvolution(from: gotsumon, to: grumblemon, trophies: 10, vitalValues: 1300, battles: 8, minutes: evo16Hours)
addEvolution(from: flamemon, to: meramon, minutes: evo16Hours)
addEvolution(from: gotsumon, to: starmon, minutes: evo16Hours)
// MARK: - Stage 4 to 5
addEvolution(from: agunimon, to: aldamon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: agunimon, to: burninggreymon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: meramon, to: burninggreymon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: meramon, to: darksuperstarmon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: starmon, to: darksuperstarmon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: grumblemon, to: gigasmon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: starmon, to: superstarmon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: grumblemon, to: superstarmon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
// MARK: - Stage 5 to 6
addEvolution(from: aldamon, to: ancientgreymon, trophies: 10, vitalValues: 4500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: burninggreymon, to: ancientgreymon, trophies: 10, vitalValues: 4500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: gigasmon, to: ancientgreymon, trophies: 10, vitalValues: 4500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: darksuperstarmon, to: ancientgreymon, trophies: 10, vitalValues: 4500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: superstarmon, to: ancientvolcamon, trophies: 20, vitalValues: 5000, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: gigasmon, to: ancientvolcamon, trophies: 20, vitalValues: 5000, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: darksuperstarmon, to: ancientvolcamon, trophies: 20, vitalValues: 5000, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: aldamon, to: emperorgreymon, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: burninggreymon, to: emperorgreymon, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: superstarmon, to: emperorgreymon, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
// MARK: - Stage 6 to 7
addEvolution(from: emperorgreymon, to: susanoomon, isJogress: true, jogressAnotherDIM: true, jogressDIM: 36, jogressCharacterID: 13, minutes: evo3Hours)
// MARK: - Adventure Mode
addAdventureMode(stage : 1, steps: 500, digimon : gotsumon, dim : dim)
addAdventureMode(stage : 2, steps: 1000, digimon : flamemon, dim : dim)
addAdventureMode(stage : 3, steps: 1000, digimon : meramon, dim : dim)
addAdventureMode(stage : 4, steps: 1000, digimon : grumblemon, dim : dim)
addAdventureMode(stage : 5, steps: 1000, digimon : starmon, dim : dim)
addAdventureMode(stage : 6, steps: 1500, digimon : agunimon, dim : dim)
addAdventureMode(stage : 7, steps: 1500, digimon : darksuperstarmon, dim : dim)
addAdventureMode(stage : 8, steps: 1500, digimon : gigasmon, dim : dim)
addAdventureMode(stage : 9, steps: 1500, digimon : superstarmon, dim : dim)
addAdventureMode(stage : 10, steps: 1500, digimon : burninggreymon, dim : dim)
addAdventureMode(stage : 11, steps: 1500, digimon : aldamon, dim : dim)
addAdventureMode(stage : 12, steps: 2000, digimon : ancientvolcamon, dim : dim)
addAdventureMode(stage : 13, steps: 2000, digimon : ancientgreymon, dim : dim)
addAdventureMode(stage : 14, steps: 2000, digimon : emperorgreymon, dim : dim)
addAdventureMode(stage : 15, steps: 2500, digimon : susanoomon, dim : dim)
}
}