import UIKit
import CoreData
class ImportJellymon: ImportProtocol {
var moc: NSManagedObjectContext
required init(viewContext: NSManagedObjectContext) {
moc = viewContext
}
func importDIM() {
// MARK: - DIM
let dim = addDIM(name: "Jellymon", franchise: "Digimon", imageName: "Jellymon-Header", dimType: "Vital Bracelet/Hero", id: "26", eggImage: "Jellymon-Egg", dimImage: "Jellymon-DIM")
// MARK: - Digimon
// MARK: - Stage 1
let puyomon = addDigimon(name: "Puyomon", dim: dim, stage: 1, imageName: "puyomon", imageNameSplash: "puyomon-splash", type: free, activityType: "Normal", characterID: 0)
// MARK: - Stage 2
let puyoyomon = addDigimon(name: "Puyoyomon", dim: dim, stage: 2, imageName: "puyoyomon", imageNameSplash: "puyoyomon-splash", type: free, activityType: "Normal", characterID: 1)
// MARK: - Stage 3
let jellymon = addDigimon(name: "Jellymon", dim: dim, stage: 3, imageName: "jellymon", imageNameSplash: "jellymon-splash", type: data, activityType: "Active", characterID: 2)
// MARK: - Stage 4
let dolphmon = addDigimon(name: "Dolphmon", dim: dim, stage: 4, imageName: "dolphmon", imageNameSplash: "dolphmon-splash", type: vaccine, activityType: "Normal", characterID: 3)
let gesomon = addDigimon(name: "Gesomon", dim: dim, stage: 4, imageName: "gesomon", imageNameSplash: "gesomon-splash", type: virus, activityType: "Lazy", characterID: 5)
let manbomon = addDigimon(name: "Manbomon", dim: dim, stage: 4, imageName: "manbomon", imageNameSplash: "manbomon-splash", type: free, activityType: "Indoor", characterID: 6)
let teslajellymon = addDigimon(name: "TeslaJellymon", dim: dim, stage: 4, imageName: "teslajellymon", imageNameSplash: "teslajellymon-splash", type: data, activityType: "Active", characterID: 4)
// MARK: - Stage 5
let divermon = addDigimon(name: "Divermon", dim: dim, stage: 5, imageName: "divermon", imageNameSplash: "divermon-splash", type: data, activityType: "Normal", characterID: 9)
let marinedevimon = addDigimon(name: "MarineDevimon", dim: dim, stage: 5, imageName: "marinedevimon", imageNameSplash: "marinedevimon-splash", type: virus, activityType: "Indoor", characterID: 10)
let thetismon = addDigimon(name: "Thetismon", dim: dim, stage: 5, imageName: "thetismon", imageNameSplash: "thetismon-splash", type: data, activityType: "Active", characterID: 8)
let whamon = addDigimon(name: "Whamon", dim: dim, stage: 5, imageName: "whamon", imageNameSplash: "whamon-splash", type: vaccine, activityType: "Stotic", characterID: 7)
// MARK: - Stage 6
let ancientmermaimon = addDigimon(name: "AncientMermaimon", dim: dim, stage: 6, imageName: "ancientmermaimon", imageNameSplash: "ancientmermaimon-splash", type: data, activityType: "Stotic", characterID: 12)
let marineangemon = addDigimon(name: "MarineAngemon", dim: dim, stage: 6, imageName: "marineangemon", imageNameSplash: "marineangemon-splash", type: vaccine, activityType: "Active", characterID: 11)
let pukumon = addDigimon(name: "Pukumon", dim: dim, stage: 6, imageName: "pukumon", imageNameSplash: "pukumon-splash", type: data, activityType: "Normal", characterID: 13)
// MARK: - Evolutions
// MARK: - Stage 1 to 2
addEvolution(from: puyomon, to: puyoyomon, minutes: evo1Hour)
// MARK: - Stage 2 to 3
addEvolution(from: puyoyomon, to: jellymon, minutes: evo3Hours)
// MARK: - Stage 3 to 4
addEvolution(from: jellymon, to: dolphmon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo16Hours)
addEvolution(from: jellymon, to: gesomon, trophies: 5, vitalValues: 600, battles: 3, minutes: evo16Hours)
addEvolution(from: jellymon, to: manbomon, minutes: evo16Hours)
addEvolution(from: jellymon, to: teslajellymon, trophies: 8, vitalValues: 900, battles: 5, minutes: evo16Hours)
// MARK: - Stage 4 to 5
addEvolution(from: manbomon, to: divermon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: gesomon, to: divermon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: gesomon, to: marinedevimon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: teslajellymon, to: marinedevimon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: teslajellymon, to: thetismon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: manbomon, to: thetismon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: dolphmon, to: thetismon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: teslajellymon, to: whamon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: dolphmon, to: whamon, trophies: 8, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
// MARK: - Stage 5 to 6
addEvolution(from: thetismon, to: ancientmermaimon, trophies: 15, vitalValues: 5000, battles: 15, winRatio: 60, minutes: evo24Hours)
addEvolution(from: divermon, to: ancientmermaimon, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: marinedevimon, to: ancientmermaimon, trophies: 15, vitalValues: 5000, battles: 15, winRatio: 60, minutes: evo24Hours)
addEvolution(from: whamon, to: marineangemon, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: thetismon, to: marineangemon, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: marinedevimon, to: marineangemon, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: whamon, to: pukumon, trophies: 15, vitalValues: 4500, battles: 15, winRatio: 60, minutes: evo24Hours)
addEvolution(from: thetismon, to: pukumon, trophies: 15, vitalValues: 4500, battles: 15, winRatio: 60, minutes: evo24Hours)
addEvolution(from: divermon, to: pukumon, trophies: 15, vitalValues: 5000, battles: 15, winRatio: 60, minutes: evo24Hours)
// MARK: - Adventure Mode
addAdventureMode(stage : 1, steps: 500, digimon : jellymon, dim : dim)
addAdventureMode(stage : 2, steps: 1000, digimon : jellymon, dim : dim)
addAdventureMode(stage : 3, steps: 1000, digimon : gesomon, dim : dim)
addAdventureMode(stage : 4, steps: 1000, digimon : manbomon, dim : dim)
addAdventureMode(stage : 5, steps: 1000, digimon : dolphmon, dim : dim)
addAdventureMode(stage : 6, steps: 1500, digimon : teslajellymon, dim : dim)
addAdventureMode(stage : 7, steps: 1500, digimon : marinedevimon, dim : dim)
addAdventureMode(stage : 8, steps: 1500, digimon : marinedevimon, dim : dim)
addAdventureMode(stage : 9, steps: 1500, digimon : thetismon, dim : dim)
addAdventureMode(stage : 10, steps: 1500, digimon : thetismon, dim : dim)
addAdventureMode(stage : 11, steps: 1500, digimon : divermon, dim : dim)
addAdventureMode(stage : 12, steps: 2000, digimon : whamon, dim : dim)
addAdventureMode(stage : 13, steps: 2000, digimon : pukumon, dim : dim)
addAdventureMode(stage : 14, steps: 2000, digimon : ancientmermaimon, dim : dim)
addAdventureMode(stage : 15, steps: 2500, digimon : marineangemon, dim : dim)
}
}