import UIKit
import CoreData
class ImportBlitzmon: ImportProtocol {
var moc: NSManagedObjectContext
required init(viewContext: NSManagedObjectContext) {
moc = viewContext
}
func importDIM() {
// MARK: - DIM
let dim = addDIM(name: "Blitzmon", franchise: "Digimon", imageName: "Blitzmon-Header", dimType: "Vital Bracelet/Hero", id: "37", eggImage: "Blitzmon-Egg", dimImage: "Blitzmon-DIM")
// MARK: - Digimon
// MARK: - Stage 1
let choromon = addDigimon(name: "Choromon", dim: dim, stage: 1, imageName: "choromon", imageNameSplash: "choromon-splash", type: free, activityType: "Normal", characterID: 0)
// MARK: - Stage 2
let kapurimon = addDigimon(name: "Kapurimon", dim: dim, stage: 2, imageName: "kapurimon", imageNameSplash: "kapurimon-splash", type: free, activityType: "Normal", characterID: 1)
// MARK: - Stage 3
let kokabuterimon = addDigimon(name: "KoKabuterimon", dim: dim, stage: 3, imageName: "kokabuterimon", imageNameSplash: "kokabuterimon-splash", type: free, activityType: "Active", characterID: 2)
let kokuwamon = addDigimon(name: "Kokuwamon", dim: dim, stage: 3, imageName: "kokuwamon", imageNameSplash: "kokuwamon-splash", type: virus, activityType: "Indoor", characterID: 3)
// MARK: - Stage 4
let beetlemon = addDigimon(name: "Beetlemon", dim: dim, stage: 4, imageName: "beetlemon", imageNameSplash: "beetlemon-splash", type: free, activityType: "Active", characterID: 4)
let bladekuwagamon = addDigimon(name: "BladeKuwagamon", dim: dim, stage: 4, imageName: "bladekuwagamon", imageNameSplash: "bladekuwagamon-splash", type: virus, activityType: "Active", characterID: 7)
let mercurymon = addDigimon(name: "Mercurymon", dim: dim, stage: 4, imageName: "mercurymon", imageNameSplash: "mercurymon-splash", type: free, activityType: "Indoor", characterID: 6)
let thundermon = addDigimon(name: "Thundermon", dim: dim, stage: 4, imageName: "thundermon", imageNameSplash: "thundermon-splash", type: data, activityType: "Normal", characterID: 5)
// MARK: - Stage 5
let metalkabuterimon = addDigimon(name: "MetalKabuterimon", dim: dim, stage: 5, imageName: "metalkabuterimon", imageNameSplash: "metalkabuterimon-splash", type: free, activityType: "Normal", characterID: 9)
let metallifekuwagamon = addDigimon(name: "MetallifeKuwagamon", dim: dim, stage: 5, imageName: "metallifekuwagamon", imageNameSplash: "metallifekuwagamon-splash", type: virus, activityType: "Active", characterID: 11)
let rhinokabuterimon = addDigimon(name: "RhinoKabuterimon", dim: dim, stage: 5, imageName: "rhinokabuterimon", imageNameSplash: "rhinokabuterimon-splash", type: free, activityType: "Active", characterID: 8)
let sephirothmon = addDigimon(name: "Sephirothmon", dim: dim, stage: 5, imageName: "sephirothmon", imageNameSplash: "sephirothmon-splash", type: free, activityType: "Indoor", characterID: 10)
let wisemon = addDigimon(name: "Wisemon", dim: dim, stage: 5, imageName: "wisemon", imageNameSplash: "wisemon-splash", type: virus, activityType: "Indoor", characterID: 12)
// MARK: - Stage 6
let ancientbeatmon = addDigimon(name: "AncientBeatmon", dim: dim, stage: 6, imageName: "ancientbeatmon", imageNameSplash: "ancientbeatmon-splash", type: vaccine, activityType: "Active", characterID: 13)
let ancientwisemon = addDigimon(name: "AncientWisemon", dim: dim, stage: 6, imageName: "ancientwisemon", imageNameSplash: "ancientwisemon-splash", type: virus, activityType: "Indoor", characterID: 15)
let grandiskuwagamon = addDigimon(name: "GrandisKuwagamon", dim: dim, stage: 6, imageName: "grandiskuwagamon", imageNameSplash: "grandiskuwagamon-splash", type: virus, activityType: "Stotic", characterID: 14)
let murmukusmon = addDigimon(name: "Murmukusmon", dim: dim, stage: 6, imageName: "murmukusmon", imageNameSplash: "murmukusmon-splash", type: virus, activityType: "Normal", adventureMode: true, adventureStage: 15, characterID: 16)
// MARK: - Evolutions
// MARK: - Stage 1 to 2
addEvolution(from: choromon, to: kapurimon, minutes: evo1Hour)
// MARK: - Stage 2 to 3
addEvolution(from: kapurimon, to: kokabuterimon, vitalValues: 1200, minutes: evo3Hours)
addEvolution(from: kapurimon, to: kokuwamon, minutes: evo3Hours)
// MARK: - Stage 3 to 4
addEvolution(from: kokabuterimon, to: beetlemon, trophies: 10, vitalValues: 1300, battles: 8, minutes: evo16Hours)
addEvolution(from: kokuwamon, to: bladekuwagamon, minutes: evo16Hours)
addEvolution(from: kokuwamon, to: mercurymon, trophies: 10, vitalValues: 1300, battles: 8, minutes: evo16Hours)
addEvolution(from: kokabuterimon, to: thundermon, minutes: evo16Hours)
// MARK: - Stage 4 to 5
addEvolution(from: beetlemon, to: metalkabuterimon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: thundermon, to: metalkabuterimon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: thundermon, to: metallifekuwagamon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: bladekuwagamon, to: metallifekuwagamon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: beetlemon, to: rhinokabuterimon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: mercurymon, to: sephirothmon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: mercurymon, to: wisemon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: bladekuwagamon, to: wisemon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
// MARK: - Stage 5 to 6
addEvolution(from: rhinokabuterimon, to: ancientbeatmon, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: metalkabuterimon, to: ancientbeatmon, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: metallifekuwagamon, to: ancientbeatmon, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: sephirothmon, to: ancientwisemon, trophies: 20, vitalValues: 5000, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: wisemon, to: ancientwisemon, trophies: 20, vitalValues: 5000, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: rhinokabuterimon, to: grandiskuwagamon, trophies: 10, vitalValues: 4500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: metalkabuterimon, to: grandiskuwagamon, trophies: 10, vitalValues: 4500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: metallifekuwagamon, to: grandiskuwagamon, trophies: 10, vitalValues: 4500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: sephirothmon, to: murmukusmon, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: wisemon, to: murmukusmon, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
// MARK: - Adventure Mode
addAdventureMode(stage : 1, steps: 500, digimon : kokuwamon, dim : dim)
addAdventureMode(stage : 2, steps: 1000, digimon : kokabuterimon, dim : dim)
addAdventureMode(stage : 3, steps: 1000, digimon : bladekuwagamon, dim : dim)
addAdventureMode(stage : 4, steps: 1000, digimon : thundermon, dim : dim)
addAdventureMode(stage : 5, steps: 1000, digimon : mercurymon, dim : dim)
addAdventureMode(stage : 6, steps: 1500, digimon : beetlemon, dim : dim)
addAdventureMode(stage : 7, steps: 1500, digimon : wisemon, dim : dim)
addAdventureMode(stage : 8, steps: 1500, digimon : metallifekuwagamon, dim : dim)
addAdventureMode(stage : 9, steps: 1500, digimon : sephirothmon, dim : dim)
addAdventureMode(stage : 10, steps: 1500, digimon : metalkabuterimon, dim : dim)
addAdventureMode(stage : 11, steps: 1500, digimon : rhinokabuterimon, dim : dim)
addAdventureMode(stage : 12, steps: 2000, digimon : grandiskuwagamon, dim : dim)
addAdventureMode(stage : 13, steps: 2000, digimon : ancientwisemon, dim : dim)
addAdventureMode(stage : 14, steps: 2000, digimon : ancientbeatmon, dim : dim)
addAdventureMode(stage : 15, steps: 2500, digimon : murmukusmon, unlock : true, dim : dim)
}
}