import UIKit
import CoreData
class ImportAngoramon: ImportProtocol {
var moc: NSManagedObjectContext
required init(viewContext: NSManagedObjectContext) {
moc = viewContext
}
func importDIM() {
// MARK: - DIM
let dim = addDIM(name: "Angoramon", franchise: "Digimon", imageName: "Angoramon-Header", dimType: "Vital Bracelet/Hero", id: "25", eggImage: "Angoramon-Egg", dimImage: "Angoramon-DIM")
// MARK: - Digimon
// MARK: - Stage 1
let pyonmon = addDigimon(name: "Pyonmon", dim: dim, stage: 1, imageName: "pyonmon", imageNameSplash: "pyonmon-splash", type: free, activityType: "Normal", characterID: 0)
// MARK: - Stage 2
let bosamon = addDigimon(name: "Bosamon", dim: dim, stage: 2, imageName: "bosamon", imageNameSplash: "bosamon-splash", type: free, activityType: "Normal", characterID: 1)
// MARK: - Stage 3
let angoramon = addDigimon(name: "Angoramon", dim: dim, stage: 3, imageName: "angoramon", imageNameSplash: "angoramon-splash", type: vaccine, activityType: "Normal", characterID: 2)
// MARK: - Stage 4
let komondomon = addDigimon(name: "Komondomon", dim: dim, stage: 4, imageName: "komondomon", imageNameSplash: "komondomon-splash", type: data, activityType: "Active", characterID: 5)
let leomon = addDigimon(name: "Leomon", dim: dim, stage: 4, imageName: "leomon", imageNameSplash: "leomon-splash", type: vaccine, activityType: "Stotic", characterID: 4)
let porcupamon = addDigimon(name: "Porcupamon", dim: dim, stage: 4, imageName: "porcupamon", imageNameSplash: "porcupamon-splash", type: virus, activityType: "Indoor", characterID: 6)
let symbareangoramon = addDigimon(name: "SymbareAngoramon", dim: dim, stage: 4, imageName: "symbareangoramon", imageNameSplash: "symbareangoramon-splash", type: vaccine, activityType: "Normal", characterID: 3)
// MARK: - Stage 5
let grapleomon = addDigimon(name: "GrapLeomon", dim: dim, stage: 5, imageName: "grapleomon", imageNameSplash: "grapleomon-splash", type: vaccine, activityType: "Active", characterID: 8)
let lamortmon = addDigimon(name: "Lamortmon", dim: dim, stage: 5, imageName: "lamortmon", imageNameSplash: "lamortmon-splash", type: vaccine, activityType: "Normal", characterID: 7)
let skullbaluchimon = addDigimon(name: "SkullBaluchimon", dim: dim, stage: 5, imageName: "skullbaluchimon", imageNameSplash: "skullbaluchimon-splash", type: data, activityType: "Active", characterID: 9)
let warumonzaemon = addDigimon(name: "WaruMonzaemon", dim: dim, stage: 5, imageName: "warumonzaemon", imageNameSplash: "warumonzaemon-splash", type: virus, activityType: "Lazy", characterID: 10)
// MARK: - Stage 6
let anubismon = addDigimon(name: "Anubismon", dim: dim, stage: 6, imageName: "anubismon", imageNameSplash: "anubismon-splash", type: vaccine, activityType: "Stotic", characterID: 11)
let gryphonmon = addDigimon(name: "Gryphonmon", dim: dim, stage: 6, imageName: "gryphonmon", imageNameSplash: "gryphonmon-splash", type: data, activityType: "Normal", characterID: 13)
let saberleomon = addDigimon(name: "SaberLeomon", dim: dim, stage: 6, imageName: "saberleomon", imageNameSplash: "saberleomon-splash", type: data, activityType: "Active", characterID: 12)
// MARK: - Evolutions
// MARK: - Stage 1 to 2
addEvolution(from: pyonmon, to: bosamon, minutes: evo1Hour)
// MARK: - Stage 2 to 3
addEvolution(from: bosamon, to: angoramon, minutes: evo3Hours)
// MARK: - Stage 3 to 4
addEvolution(from: angoramon, to: komondomon, trophies: 5, vitalValues: 600, battles: 3, minutes: evo16Hours)
addEvolution(from: angoramon, to: leomon, trophies: 8, vitalValues: 900, battles: 5, minutes: evo16Hours)
addEvolution(from: angoramon, to: porcupamon, minutes: evo16Hours)
addEvolution(from: angoramon, to: symbareangoramon, trophies: 10, vitalValues: 1100, battles: 8, minutes: evo16Hours)
// MARK: - Stage 4 to 5
addEvolution(from: symbareangoramon, to: grapleomon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: leomon, to: grapleomon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: symbareangoramon, to: lamortmon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: leomon, to: lamortmon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: komondomon, to: lamortmon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: porcupamon, to: lamortmon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: symbareangoramon, to: skullbaluchimon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: porcupamon, to: skullbaluchimon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: komondomon, to: warumonzaemon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
// MARK: - Stage 5 to 6
addEvolution(from: lamortmon, to: anubismon, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: skullbaluchimon, to: anubismon, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: warumonzaemon, to: anubismon, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: lamortmon, to: gryphonmon, trophies: 15, vitalValues: 5000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: grapleomon, to: gryphonmon, trophies: 15, vitalValues: 4500, battles: 15, winRatio: 60, minutes: evo24Hours)
addEvolution(from: skullbaluchimon, to: gryphonmon, trophies: 15, vitalValues: 5000, battles: 15, winRatio: 60, minutes: evo24Hours)
addEvolution(from: lamortmon, to: saberleomon, trophies: 15, vitalValues: 4500, battles: 15, winRatio: 60, minutes: evo24Hours)
addEvolution(from: grapleomon, to: saberleomon, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: warumonzaemon, to: saberleomon, trophies: 15, vitalValues: 5000, battles: 15, winRatio: 60, minutes: evo24Hours)
// MARK: - Adventure Mode
addAdventureMode(stage : 1, steps: 500, digimon : angoramon, dim : dim)
addAdventureMode(stage : 2, steps: 1000, digimon : angoramon, dim : dim)
addAdventureMode(stage : 3, steps: 1000, digimon : komondomon, dim : dim)
addAdventureMode(stage : 4, steps: 1000, digimon : leomon, dim : dim)
addAdventureMode(stage : 5, steps: 1000, digimon : porcupamon, dim : dim)
addAdventureMode(stage : 6, steps: 1500, digimon : symbareangoramon, dim : dim)
addAdventureMode(stage : 7, steps: 1500, digimon : grapleomon, dim : dim)
addAdventureMode(stage : 8, steps: 1500, digimon : grapleomon, dim : dim)
addAdventureMode(stage : 9, steps: 1500, digimon : warumonzaemon, dim : dim)
addAdventureMode(stage : 10, steps: 1500, digimon : warumonzaemon, dim : dim)
addAdventureMode(stage : 11, steps: 1500, digimon : lamortmon, dim : dim)
addAdventureMode(stage : 12, steps: 2000, digimon : skullbaluchimon, dim : dim)
addAdventureMode(stage : 13, steps: 2000, digimon : saberleomon, dim : dim)
addAdventureMode(stage : 14, steps: 2000, digimon : gryphonmon, dim : dim)
addAdventureMode(stage : 15, steps: 2500, digimon : anubismon, dim : dim)
}
}