import UIKit
import CoreData

class ImportGomora: ImportProtocol {
var moc: NSManagedObjectContext

required init(viewContext: NSManagedObjectContext) {
moc = viewContext
}

func importDIM() {
// MARK: - DIM
let dim = addDIM(name: "Gomora", franchise: "Ultraman", imageName: "Gomora-Header", dimType: "Vital Bracelet/Hero", id: "73", eggImage: "Gomora-Egg", dimImage: "Gomora-DIM")

// MARK: - Digimon
// MARK: - Stage 1
let gomora_rock = addDigimon(name: "Gomora Rock", dim: dim, stage: 1, imageName: "gomora_rock", imageNameSplash: "gomora_rock-splash", type: free, activityType: "Normal", characterID: 0)

// MARK: - Stage 2
let gomora_rock2 = addDigimon(name: "Gomora Rock", dim: dim, stage: 2, imageName: "gomora_rock2", imageNameSplash: "gomora_rock2-splash", type: free, activityType: "Normal", characterID: 1)

// MARK: - Stage 3
let gomora = addDigimon(name: "Gomora", dim: dim, stage: 3, imageName: "gomora", imageNameSplash: "gomora-splash", type: vaccine, activityType: "Normal", characterID: 2)

// MARK: - Stage 4
let gomora_ii = addDigimon(name: "Gomora II", dim: dim, stage: 4, imageName: "gomora_ii", imageNameSplash: "gomora_ii-splash", type: vaccine, activityType: "Normal", characterID: 3)
let ice_gomora = addDigimon(name: "Ice Gomora", dim: dim, stage: 4, imageName: "ice_gomora", imageNameSplash: "ice_gomora-splash", type: virus, activityType: "Indoor", characterID: 6)
let mecha_gomora = addDigimon(name: "Mecha Gomora", dim: dim, stage: 4, imageName: "mecha_gomora", imageNameSplash: "mecha_gomora-splash", type: data, activityType: "Stotic", characterID: 5)
let powered_gomora = addDigimon(name: "Powered Gomora", dim: dim, stage: 4, imageName: "powered_gomora", imageNameSplash: "powered_gomora-splash", type: vaccine, activityType: "Active", characterID: 4)

// MARK: - Stage 5
let cyber_gomora = addDigimon(name: "Cyber Gomora", dim: dim, stage: 5, imageName: "cyber_gomora", imageNameSplash: "cyber_gomora-splash", type: data, activityType: "Active", characterID: 7)
let earth_gomora = addDigimon(name: "Earth Gomora", dim: dim, stage: 5, imageName: "earth_gomora", imageNameSplash: "earth_gomora-splash", type: virus, activityType: "Normal", characterID: 9)
let meteor_gomora = addDigimon(name: "Meteor Gomora", dim: dim, stage: 5, imageName: "meteor_gomora", imageNameSplash: "meteor_gomora-splash", type: virus, activityType: "Indoor", characterID: 10)
let reionic_burst_gomora = addDigimon(name: "Reionic Burst Gomora", dim: dim, stage: 5, imageName: "reionic_burst_gomora", imageNameSplash: "reionic_burst_gomora-splash", type: vaccine, activityType: "Stotic", characterID: 8)
let skull_gomora = addDigimon(name: "Skull Gomora", dim: dim, stage: 5, imageName: "skull_gomora", imageNameSplash: "skull_gomora-splash", type: vaccine, activityType: "Active", characterID: 11)

// MARK: - Stage 6
let black_earth_gomora = addDigimon(name: "Black Earth Gomora", dim: dim, stage: 6, imageName: "black_earth_gomora", imageNameSplash: "black_earth_gomora-splash", type: virus, activityType: "Normal", characterID: 13)
let ex_gomora = addDigimon(name: "Ex Gomora", dim: dim, stage: 6, imageName: "ex_gomora", imageNameSplash: "ex_gomora-splash", type: vaccine, activityType: "Stotic", characterID: 12)
let magma_gomora = addDigimon(name: "Magma Gomora", dim: dim, stage: 6, imageName: "magma_gomora", imageNameSplash: "magma_gomora-splash", type: vaccine, activityType: "Active", characterID: 16)
let sphere_gomora = addDigimon(name: "Sphere gomora", dim: dim, stage: 6, imageName: "sphere_gomora", imageNameSplash: "sphere_gomora-splash", type: free, activityType: "Active", characterID: 14)
let strong_gomorant = addDigimon(name: "Strong Gomorant", dim: dim, stage: 6, imageName: "strong_gomorant", imageNameSplash: "strong_gomorant-splash", type: data, activityType: "Stotic", characterID: 15)

// MARK: - Evolutions
// MARK: - Stage 1 to 2
addEvolution(from: gomora_rock, to: gomora_rock2, minutes: evo1Hour)

// MARK: - Stage 2 to 3
addEvolution(from: gomora_rock2, to: gomora, minutes: evo3Hours)

// MARK: - Stage 3 to 4
addEvolution(from: gomora, to: gomora_ii, trophies: 5, vitalValues: 800, battles: 4, minutes: evo16Hours)
addEvolution(from: gomora, to: ice_gomora, trophies: 3, vitalValues: 500, battles: 2, minutes: evo16Hours)
addEvolution(from: gomora, to: mecha_gomora, trophies: 8, vitalValues: 1500, battles: 8, minutes: evo16Hours)
addEvolution(from: gomora, to: powered_gomora, trophies: 6, vitalValues: 1000, battles: 6, minutes: evo16Hours)

// MARK: - Stage 4 to 5
addEvolution(from: mecha_gomora, to: cyber_gomora, trophies: 10, vitalValues: 1500, battles: 10, winRatio: 40, minutes: evo24Hours)
addEvolution(from: powered_gomora, to: cyber_gomora, trophies: 12, vitalValues: 2000, battles: 12, winRatio: 50, minutes: evo24Hours)
addEvolution(from: powered_gomora, to: earth_gomora, trophies: 10, vitalValues: 1500, battles: 10, winRatio: 40, minutes: evo24Hours)
addEvolution(from: ice_gomora, to: earth_gomora, trophies: 12, vitalValues: 2000, battles: 12, winRatio: 50, minutes: evo24Hours)
addEvolution(from: ice_gomora, to: meteor_gomora, trophies: 10, vitalValues: 1500, battles: 10, winRatio: 40, minutes: evo24Hours)
addEvolution(from: gomora_ii, to: meteor_gomora, trophies: 10, vitalValues: 1500, battles: 10, winRatio: 40, minutes: evo24Hours)
addEvolution(from: powered_gomora, to: reionic_burst_gomora, trophies: 15, vitalValues: 2500, battles: 15, winRatio: 60, minutes: evo24Hours)
addEvolution(from: gomora_ii, to: reionic_burst_gomora, trophies: 15, vitalValues: 2500, battles: 15, winRatio: 60, minutes: evo24Hours)
addEvolution(from: gomora_ii, to: skull_gomora, trophies: 12, vitalValues: 2000, battles: 12, winRatio: 50, minutes: evo24Hours)
addEvolution(from: mecha_gomora, to: skull_gomora, trophies: 12, vitalValues: 2000, battles: 12, winRatio: 50, minutes: evo24Hours)

// MARK: - Stage 5 to 6
addEvolution(from: meteor_gomora, to: black_earth_gomora, trophies: 15, vitalValues: 5000, battles: 20, winRatio: 50, minutes: evo24Hours)
addEvolution(from: earth_gomora, to: black_earth_gomora, trophies: 15, vitalValues: 5000, battles: 20, winRatio: 50, minutes: evo24Hours)
addEvolution(from: skull_gomora, to: ex_gomora, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: reionic_burst_gomora, to: ex_gomora, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: earth_gomora, to: magma_gomora, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: meteor_gomora, to: magma_gomora, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: cyber_gomora, to: sphere_gomora, trophies: 15, vitalValues: 5000, battles: 20, winRatio: 50, minutes: evo24Hours)
addEvolution(from: reionic_burst_gomora, to: sphere_gomora, trophies: 15, vitalValues: 5000, battles: 20, winRatio: 50, minutes: evo24Hours)
addEvolution(from: cyber_gomora, to: strong_gomorant, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: skull_gomora, to: strong_gomorant, trophies: 15, vitalValues: 5000, battles: 20, winRatio: 50, minutes: evo24Hours)

// MARK: - Adventure Mode
addAdventureMode(stage : 1, steps: 500, digimon : gomora, dim : dim)
addAdventureMode(stage : 2, steps: 1000, digimon : gomora_ii, dim : dim)
addAdventureMode(stage : 3, steps: 1000, digimon : powered_gomora, dim : dim)
addAdventureMode(stage : 4, steps: 1000, digimon : mecha_gomora, dim : dim)
addAdventureMode(stage : 5, steps: 1000, digimon : ice_gomora, dim : dim)
addAdventureMode(stage : 6, steps: 1500, digimon : cyber_gomora, dim : dim)
addAdventureMode(stage : 7, steps: 1500, digimon : reionic_burst_gomora, dim : dim)
addAdventureMode(stage : 8, steps: 1500, digimon : earth_gomora, dim : dim)
addAdventureMode(stage : 9, steps: 1500, digimon : meteor_gomora, dim : dim)
addAdventureMode(stage : 10, steps: 1500, digimon : skull_gomora, dim : dim)
addAdventureMode(stage : 11, steps: 1500, digimon : ex_gomora, dim : dim)
addAdventureMode(stage : 12, steps: 2000, digimon : black_earth_gomora, dim : dim)
addAdventureMode(stage : 13, steps: 2000, digimon : sphere_gomora, dim : dim)
addAdventureMode(stage : 14, steps: 2000, digimon : strong_gomorant, dim : dim)
addAdventureMode(stage : 15, steps: 2500, digimon : magma_gomora, dim : dim)
}
}