import UIKit
import CoreData

class ImportMyHeroAcademia02: ImportProtocol {
var moc: NSManagedObjectContext

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

func importDIM() {
// MARK: - DIM
let dim = addDIM(name: "My Hero Academia 02", franchise: "My Hero Academia", imageName: "MyHeroAcademia02-Header", dimType: "Vital Bracelet BE", id: "254", eggImage: "MyHeroAcademia02-Egg", dimImage: "MyHeroAcademia02-DIM", adventureIcon: "MyHeroAcademia02-Adventure")

// MARK: - Digimon
// MARK: - Stage 3
let denki_kaminari = addDigimon(name: "Denki Kaminari", dim: dim, stage: 3, imageName: "denki_kaminari", imageNameSplash: "denki_kaminari-splash", type: vaccine, activityType: "Active", adventureMode: true, adventureStage: 6, characterID: 6)
let eijiro_kirishima = addDigimon(name: "Eijiro Kirishima", dim: dim, stage: 3, imageName: "eijiro_kirishima", imageNameSplash: "eijiro_kirishima-splash", type: data, activityType: "Indoor", adventureMode: true, adventureStage: 2, characterID: 4)
let katsuki_bakugo = addDigimon(name: "Katsuki Bakugo", dim: dim, stage: 3, imageName: "katsuki_bakugo", imageNameSplash: "katsuki_bakugo-splash", type: vaccine, activityType: "Indoor", characterID: 0)
let momo_yaoyorozu = addDigimon(name: "Momo Yaoyorozu", dim: dim, stage: 3, imageName: "momo_yaoyorozu", imageNameSplash: "momo_yaoyorozu-splash", type: virus, activityType: "Indoor", adventureMode: true, adventureStage: 7, characterID: 8)
let shoto_todorokir = addDigimon(name: "Shoto Todoroki", dim: dim, stage: 3, imageName: "shoto_todorokir", imageNameSplash: "shoto_todorokir-splash", type: data, activityType: "Normal", adventureMode: true, adventureStage: 9, characterID: 2)

// MARK: - Stage 4
let dabi = addDigimon(name: "Dabi", dim: dim, stage: 4, imageName: "dabi", imageNameSplash: "dabi-splash", type: virus, activityType: "Active", characterID: 20, obtainable: false)
let ending = addDigimon(name: "Ending", dim: dim, stage: 4, imageName: "ending", imageNameSplash: "ending-splash", type: vaccine, activityType: "Active", characterID: 19, obtainable: false)
let gentle_la_brava = addDigimon(name: "Gentle & La Brava", dim: dim, stage: 4, imageName: "gentle_la_brava", imageNameSplash: "gentle_la_brava-splash", type: data, activityType: "Indoor", characterID: 15, obtainable: false)
let high_end_brainless = addDigimon(name: "High End Brainless", dim: dim, stage: 4, imageName: "high_end_brainless", imageNameSplash: "high_end_brainless-splash", type: virus, activityType: "Normal", characterID: 16, obtainable: false)
let himiko_toga = addDigimon(name: "Himiko Toga", dim: dim, stage: 4, imageName: "himiko_toga", imageNameSplash: "himiko_toga-splash", type: free, activityType: "Indoor", characterID: 21, obtainable: false)
let inasa_yoarashi = addDigimon(name: "Inasa Yoarashi", dim: dim, stage: 4, imageName: "inasa_yoarashi", imageNameSplash: "inasa_yoarashi-splash", type: virus, activityType: "Stotic", characterID: 13, obtainable: false)
let itsuka_kendo = addDigimon(name: "Itsuka Kendo", dim: dim, stage: 4, imageName: "itsuka_kendo", imageNameSplash: "itsuka_kendo-splash", type: vaccine, activityType: "Indoor", characterID: 17, obtainable: false)
let kyoka_jiro = addDigimon(name: "Kyoka Jiro", dim: dim, stage: 4, imageName: "kyoka_jiro", imageNameSplash: "kyoka_jiro-splash", type: virus, activityType: "Active", adventureMode: true, adventureStage: 4, characterID: 10)
let mina_ashido = addDigimon(name: "Mina Ashido", dim: dim, stage: 4, imageName: "mina_ashido", imageNameSplash: "mina_ashido-splash", type: vaccine, activityType: "Indoor", adventureMode: true, adventureStage: 8, characterID: 11)
let neito_monoma = addDigimon(name: "Neito Monoma", dim: dim, stage: 4, imageName: "neito_monoma", imageNameSplash: "neito_monoma-splash", type: data, activityType: "Lazy", characterID: 18, obtainable: false)
let overhaul = addDigimon(name: "Overhaul", dim: dim, stage: 4, imageName: "overhaul", imageNameSplash: "overhaul-splash", type: data, activityType: "Normal", characterID: 14, obtainable: false)
let tomura_shigaraki2 = addDigimon(name: "Tomura Shigaraki", dim: dim, stage: 4, imageName: "tomura_shigaraki2", imageNameSplash: "tomura_shigaraki2-splash", type: free, activityType: "Lazy", characterID: 22, obtainable: false)

// MARK: - Stage 5
let denki_kaminariu = addDigimon(name: "Denki Kaminari", dim: dim, stage: 5, imageName: "denki_kaminariu", imageNameSplash: "denki_kaminariu-splash", type: vaccine, activityType: "Stotic", adventureMode: true, adventureStage: 7, characterID: 7)
let eijiro_kirishimau = addDigimon(name: "Eijiro Kirishima", dim: dim, stage: 5, imageName: "eijiro_kirishimau", imageNameSplash: "eijiro_kirishimau-splash", type: data, activityType: "Lazy", adventureMode: true, adventureStage: 5, characterID: 5)
let katsuki_bakugou = addDigimon(name: "Katsuki Bakugo", dim: dim, stage: 5, imageName: "katsuki_bakugou", imageNameSplash: "katsuki_bakugou-splash", type: vaccine, activityType: "Normal", adventureMode: true, adventureStage: 5, characterID: 1)
let momo_yaoyorozuu = addDigimon(name: "Momo Yaoyorozu", dim: dim, stage: 5, imageName: "momo_yaoyorozuu", imageNameSplash: "momo_yaoyorozuu-splash", type: virus, activityType: "Normal", adventureMode: true, adventureStage: 8, characterID: 9)
let shoto_todorokiu = addDigimon(name: "Shoto Todoroki", dim: dim, stage: 5, imageName: "shoto_todorokiu", imageNameSplash: "shoto_todorokiu-splash", type: data, activityType: "Active", adventureMode: true, adventureStage: 10, characterID: 3)

// MARK: - Stage 6
let endeavor = addDigimon(name: "Endeavor", dim: dim, stage: 6, imageName: "endeavor", imageNameSplash: "endeavor-splash", type: free, activityType: "Normal", adventureMode: true, adventureStage: 12, characterID: 12)

// MARK: - Evolutions
// MARK: - Stage 3 to 4
addEvolution(from: denki_kaminari, to: denki_kaminariu, trophies: 15, vitalValues: 3000, battles: 12, winRatio: 40, minutes: evo1Hour)
addEvolution(from: eijiro_kirishima, to: eijiro_kirishimau, trophies: 15, vitalValues: 3500, battles: 10, winRatio: 40, minutes: evo1Hour)
addEvolution(from: katsuki_bakugo, to: katsuki_bakugou, trophies: 15, vitalValues: 3000, battles: 15, winRatio: 40, minutes: evo1Hour)
addEvolution(from: momo_yaoyorozu, to: momo_yaoyorozuu, trophies: 15, vitalValues: 3500, battles: 12, winRatio: 40, minutes: evo1Hour)
addEvolution(from: shoto_todorokir, to: shoto_todorokiu, trophies: 15, vitalValues: 3000, battles: 13, winRatio: 40, minutes: evo1Hour)

// MARK: - Adventure Mode
addAdventureMode(stage : 1, steps: 500, digimon : inasa_yoarashi, dim : dim)
addAdventureMode(stage : 2, steps: 500, digimon : overhaul, unlock : true, dim : dim)
addAdventureMode(stage : 3, steps: 500, digimon : overhaul, dim : dim)
addAdventureMode(stage : 4, steps: 500, digimon : gentle_la_brava, unlock : true, dim : dim)
addAdventureMode(stage : 5, steps: 1000, digimon : high_end_brainless, unlock : true, dim : dim)
addAdventureMode(stage : 6, steps: 1500, digimon : high_end_brainless, unlock : true, dim : dim)
addAdventureMode(stage : 7, steps: 1500, digimon : itsuka_kendo, unlock : true, dim : dim)
addAdventureMode(stage : 8, steps: 1500, digimon : neito_monoma, unlock : true, dim : dim)
addAdventureMode(stage : 9, steps: 1500, digimon : ending, unlock : true, dim : dim)
addAdventureMode(stage : 10, steps: 1500, digimon : dabi, unlock : true, dim : dim)
addAdventureMode(stage : 11, steps: 1800, digimon : himiko_toga, dim : dim)
addAdventureMode(stage : 12, steps: 2000, digimon : tomura_shigaraki2, unlock : true, dim : dim)
}
}