import UIKit
import CoreData

class ImportShowa10MaskedRider: ImportProtocol {
var moc: NSManagedObjectContext

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

func importDIM() {
// MARK: - DIM
let dim = addDIM(name: "Showa 10 Masked Rider", franchise: "Kamen Rider", imageName: "Showa10MaskedRider-Header", dimType: "Vital Bracelet/Hero", id: "84", eggImage: "Showa10MaskedRider-Egg", dimImage: "Showa10MaskedRider-DIM")

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

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

// MARK: - Stage 3
let old_1 = addDigimon(name: "Old 1", dim: dim, stage: 3, imageName: "old_1", imageNameSplash: "old_1-splash", type: free, activityType: "Active", characterID: 2)

// MARK: - Stage 4
let old_2 = addDigimon(name: "Old 2", dim: dim, stage: 4, imageName: "old_2", imageNameSplash: "old_2-splash", type: free, activityType: "Active", characterID: 3)
let riderman = addDigimon(name: "Riderman", dim: dim, stage: 4, imageName: "riderman", imageNameSplash: "riderman-splash", type: vaccine, activityType: "Indoor", characterID: 6)
let v3 = addDigimon(name: "V3", dim: dim, stage: 4, imageName: "v3", imageNameSplash: "v3-splash", type: data, activityType: "Stotic", characterID: 4)
let x = addDigimon(name: "X", dim: dim, stage: 4, imageName: "x", imageNameSplash: "x-splash", type: vaccine, activityType: "Normal", characterID: 5)

// MARK: - Stage 5
let amazon = addDigimon(name: "Amazon", dim: dim, stage: 5, imageName: "amazon", imageNameSplash: "amazon-splash", type: virus, activityType: "Indoor", characterID: 11)
let sky_rider = addDigimon(name: "Sky Rider", dim: dim, stage: 5, imageName: "sky_rider", imageNameSplash: "sky_rider-splash", type: virus, activityType: "Active", characterID: 7)
let stronger = addDigimon(name: "Stronger", dim: dim, stage: 5, imageName: "stronger", imageNameSplash: "stronger-splash", type: vaccine, activityType: "Stotic", characterID: 10)
let super_1 = addDigimon(name: "Super 1", dim: dim, stage: 5, imageName: "super_1", imageNameSplash: "super_1-splash", type: data, activityType: "Lazy", characterID: 8)
let zx = addDigimon(name: "ZX", dim: dim, stage: 5, imageName: "zx", imageNameSplash: "zx-splash", type: vaccine, activityType: "Normal", characterID: 9)

// MARK: - Stage 6
let new_1 = addDigimon(name: "New 1", dim: dim, stage: 6, imageName: "new_1", imageNameSplash: "new_1-splash", type: free, activityType: "Normal", characterID: 12)
let new_2 = addDigimon(name: "New 2", dim: dim, stage: 6, imageName: "new_2", imageNameSplash: "new_2-splash", type: data, activityType: "Indoor", characterID: 13)
let power_up_sky_rider = addDigimon(name: "Power Up Sky Rider", dim: dim, stage: 6, imageName: "power_up_sky_rider", imageNameSplash: "power_up_sky_rider-splash", type: virus, activityType: "Active", characterID: 14)
let stronger_charge_up = addDigimon(name: "Stronger Charge Up", dim: dim, stage: 6, imageName: "stronger_charge_up", imageNameSplash: "stronger_charge_up-splash", type: vaccine, activityType: "Stotic", characterID: 15)

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

// MARK: - Stage 2 to 3
addEvolution(from: human, to: old_1, minutes: evo3Hours)

// MARK: - Stage 3 to 4
addEvolution(from: old_1, to: old_2, trophies: 6, vitalValues: 1000, battles: 4, minutes: evo16Hours)
addEvolution(from: old_1, to: riderman, minutes: evo16Hours)
addEvolution(from: old_1, to: v3, trophies: 8, vitalValues: 1500, battles: 8, minutes: evo16Hours)
addEvolution(from: old_1, to: x, trophies: 3, vitalValues: 500, minutes: evo16Hours)

// MARK: - Stage 4 to 5
addEvolution(from: riderman, to: amazon, trophies: 12, vitalValues: 2500, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: old_2, to: amazon, trophies: 8, vitalValues: 1500, battles: 10, winRatio: 40, minutes: evo24Hours)
addEvolution(from: x, to: amazon, trophies: 10, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: x, to: sky_rider, trophies: 8, vitalValues: 1500, battles: 10, winRatio: 40, minutes: evo24Hours)
addEvolution(from: old_2, to: sky_rider, trophies: 12, vitalValues: 2500, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: v3, to: sky_rider, trophies: 10, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: v3, to: stronger, trophies: 12, vitalValues: 2500, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: riderman, to: stronger, trophies: 8, vitalValues: 1500, battles: 10, winRatio: 40, minutes: evo24Hours)
addEvolution(from: v3, to: super_1, trophies: 8, vitalValues: 1500, battles: 10, winRatio: 40, minutes: evo24Hours)
addEvolution(from: riderman, to: super_1, trophies: 10, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: x, to: zx, trophies: 12, vitalValues: 2500, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: old_2, to: zx, trophies: 10, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)

// MARK: - Stage 5 to 6
addEvolution(from: sky_rider, to: new_1, trophies: 10, vitalValues: 5000, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: zx, to: new_1, trophies: 10, vitalValues: 5000, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: super_1, to: new_1, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: super_1, to: new_2, trophies: 10, vitalValues: 5000, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: amazon, to: new_2, trophies: 10, vitalValues: 5000, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: sky_rider, to: power_up_sky_rider, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: stronger, to: power_up_sky_rider, trophies: 10, vitalValues: 5000, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: amazon, to: power_up_sky_rider, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: zx, to: stronger_charge_up, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: stronger, to: stronger_charge_up, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)

// MARK: - Adventure Mode
addAdventureMode(stage : 1, steps: 500, digimon : old_1, dim : dim)
addAdventureMode(stage : 2, steps: 1000, digimon : old_2, dim : dim)
addAdventureMode(stage : 3, steps: 1000, digimon : v3, dim : dim)
addAdventureMode(stage : 4, steps: 1000, digimon : x, dim : dim)
addAdventureMode(stage : 5, steps: 1000, digimon : riderman, dim : dim)
addAdventureMode(stage : 6, steps: 1500, digimon : sky_rider, dim : dim)
addAdventureMode(stage : 7, steps: 1500, digimon : super_1, dim : dim)
addAdventureMode(stage : 8, steps: 1500, digimon : zx, dim : dim)
addAdventureMode(stage : 9, steps: 1500, digimon : stronger, dim : dim)
addAdventureMode(stage : 10, steps: 1500, digimon : amazon, dim : dim)
addAdventureMode(stage : 11, steps: 1500, digimon : sky_rider, dim : dim)
addAdventureMode(stage : 12, steps: 2000, digimon : new_1, dim : dim)
addAdventureMode(stage : 13, steps: 2000, digimon : new_2, dim : dim)
addAdventureMode(stage : 14, steps: 2000, digimon : power_up_sky_rider, dim : dim)
addAdventureMode(stage : 15, steps: 2500, digimon : stronger_charge_up, dim : dim)
}
}