import UIKit
import CoreData
class ImportDragonicBlaze: ImportProtocol {
var moc: NSManagedObjectContext
required init(viewContext: NSManagedObjectContext) {
moc = viewContext
}
func importDIM() {
// MARK: - DIM
let dim = addDIM(name: "Dragonic Blaze", franchise: "Digimon", imageName: "DragonicBlaze-Header", dimType: "Vital Bracelet BE", id: "129", eggImage: "DragonicBlaze-Egg", dimImage: "DragonicBlaze-DIM", adventureIcon: "DragonicBlaze-Adventure")
// MARK: - Digimon
// MARK: - Stage 1
let petitmon = addDigimon(name: "Petitmon", dim: dim, stage: 1, imageName: "petitmon", imageNameSplash: "petitmon-splash", type: free, activityType: "Normal", characterID: 0)
// MARK: - Stage 2
let babydmon = addDigimon(name: "Babydmon", dim: dim, stage: 2, imageName: "babydmon", imageNameSplash: "babydmon-splash", type: free, activityType: "Normal", characterID: 1)
// MARK: - Stage 3
let agumon_2006 = addDigimon(name: "Agumon (2006)", dim: dim, stage: 3, imageName: "agumon_2006", imageNameSplash: "agumon_2006-splash", type: vaccine, activityType: "Normal", characterID: 2)
let dracomon = addDigimon(name: "Dracomon", dim: dim, stage: 3, imageName: "dracomon", imageNameSplash: "dracomon-splash", type: data, activityType: "Indoor", characterID: 3)
let gumdramon = addDigimon(name: "Gumdramon", dim: dim, stage: 3, imageName: "gumdramon", imageNameSplash: "gumdramon-splash", type: vaccine, activityType: "Active", adventureMode: true, adventureStage: 2, characterID: 19)
let huckmon = addDigimon(name: "Huckmon", dim: dim, stage: 3, imageName: "huckmon", imageNameSplash: "huckmon-splash", type: data, activityType: "Active", characterID: 4)
// MARK: - Stage 4
let arresterdramon = addDigimon(name: "Arresterdramon", dim: dim, stage: 4, imageName: "arresterdramon", imageNameSplash: "arresterdramon-splash", type: vaccine, activityType: "Active", adventureMode: true, adventureStage: 5, characterID: 20)
let baohuckmon = addDigimon(name: "BaoHuckmon", dim: dim, stage: 4, imageName: "baohuckmon", imageNameSplash: "baohuckmon-splash", type: data, activityType: "Active", characterID: 7)
let coredramon_blue = addDigimon(name: "Coredramon (Blue)", dim: dim, stage: 4, imageName: "coredramon_blue", imageNameSplash: "coredramon_blue-splash", type: vaccine, activityType: "Active", characterID: 6)
let coredramon_green = addDigimon(name: "Coredramon (Green)", dim: dim, stage: 4, imageName: "coredramon_green", imageNameSplash: "coredramon_green-splash", type: vaccine, activityType: "Indoor", characterID: 8)
let geogreymon = addDigimon(name: "GeoGreymon", dim: dim, stage: 4, imageName: "geogreymon", imageNameSplash: "geogreymon-splash", type: vaccine, activityType: "Normal", characterID: 5)
// MARK: - Stage 5
let arresterdramonsuperior_mode = addDigimon(name: "Arresterdramon: Superior Mode", dim: dim, stage: 5, imageName: "arresterdramonsuperior_mode", imageNameSplash: "arresterdramonsuperior_mode-splash", type: vaccine, activityType: "Active", adventureMode: true, adventureStage: 8, characterID: 21)
let groundramon = addDigimon(name: "Groundramon", dim: dim, stage: 5, imageName: "groundramon", imageNameSplash: "groundramon-splash", type: vaccine, activityType: "Active", characterID: 12)
let rizegreymon = addDigimon(name: "RizeGreymon", dim: dim, stage: 5, imageName: "rizegreymon", imageNameSplash: "rizegreymon-splash", type: vaccine, activityType: "Normal", characterID: 9)
let saviorhuckmon = addDigimon(name: "SaviorHuckmon", dim: dim, stage: 5, imageName: "saviorhuckmon", imageNameSplash: "saviorhuckmon-splash", type: data, activityType: "Active", characterID: 11)
let wingdramon = addDigimon(name: "Wingdramon", dim: dim, stage: 5, imageName: "wingdramon", imageNameSplash: "wingdramon-splash", type: vaccine, activityType: "Active", characterID: 10)
// MARK: - Stage 6
let breakdramon = addDigimon(name: "Breakdramon", dim: dim, stage: 6, imageName: "breakdramon", imageNameSplash: "breakdramon-splash", type: vaccine, activityType: "Indoor", characterID: 16)
let jesmon = addDigimon(name: "Jesmon", dim: dim, stage: 6, imageName: "jesmon", imageNameSplash: "jesmon-splash", type: data, activityType: "Active", characterID: 15)
let magnakidmon = addDigimon(name: "MagnaKidmon", dim: dim, stage: 6, imageName: "magnakidmon", imageNameSplash: "magnakidmon-splash", type: vaccine, activityType: "Normal", adventureMode: true, adventureStage: 12, characterID: 22)
let shinegreymon = addDigimon(name: "ShineGreymon", dim: dim, stage: 6, imageName: "shinegreymon", imageNameSplash: "shinegreymon-splash", type: vaccine, activityType: "Normal", characterID: 13)
let shinegreymon_burst_mode = addDigimon(name: "ShineGreymon: Burst Mode", dim: dim, stage: 6, imageName: "shinegreymon_burst_mode", imageNameSplash: "shinegreymon_burst_mode-splash", type: vaccine, activityType: "Active", adventureMode: true, adventureStage: 11, characterID: 18)
let slayerdramon = addDigimon(name: "Slayerdramon", dim: dim, stage: 6, imageName: "slayerdramon", imageNameSplash: "slayerdramon-splash", type: vaccine, activityType: "Active", characterID: 14)
// MARK: - Stage 7
let examon = addDigimon(name: "Examon", dim: dim, stage: 7, imageName: "examon", imageNameSplash: "examon-splash", type: data, activityType: "Normal", characterID: 17)
// MARK: - Evolutions
// MARK: - Stage 1 to 2
addEvolution(from: petitmon, to: babydmon, minutes: evo1Hour)
// MARK: - Stage 2 to 3
addEvolution(from: babydmon, to: agumon_2006, trophies: 3, vitalValues: 500, minutes: evo3Hours)
addEvolution(from: babydmon, to: dracomon, minutes: evo3Hours)
addEvolution(from: babydmon, to: gumdramon, trophies: 5, vitalValues: 1000, minutes: evo3Hours)
addEvolution(from: babydmon, to: huckmon, trophies: 5, vitalValues: 500, minutes: evo3Hours)
// MARK: - Stage 3 to 4
addEvolution(from: huckmon, to: arresterdramon, trophies: 12, vitalValues: 1500, battles: 10, minutes: evo12Hours)
addEvolution(from: gumdramon, to: arresterdramon, trophies: 12, vitalValues: 1500, battles: 10, minutes: evo12Hours)
addEvolution(from: agumon_2006, to: baohuckmon, trophies: 10, vitalValues: 1000, battles: 8, minutes: evo12Hours)
addEvolution(from: huckmon, to: baohuckmon, trophies: 10, vitalValues: 1000, battles: 8, minutes: evo12Hours)
addEvolution(from: gumdramon, to: baohuckmon, trophies: 10, vitalValues: 1000, battles: 8, minutes: evo12Hours)
addEvolution(from: dracomon, to: coredramon_blue, trophies: 8, vitalValues: 1000, battles: 5, minutes: evo12Hours)
addEvolution(from: huckmon, to: coredramon_blue, trophies: 8, vitalValues: 1000, battles: 5, minutes: evo12Hours)
addEvolution(from: agumon_2006, to: coredramon_green, minutes: evo12Hours)
addEvolution(from: dracomon, to: coredramon_green, minutes: evo12Hours)
addEvolution(from: agumon_2006, to: geogreymon, trophies: 5, vitalValues: 1000, battles: 3, minutes: evo12Hours)
addEvolution(from: dracomon, to: geogreymon, trophies: 5, vitalValues: 1000, battles: 3, minutes: evo12Hours)
// MARK: - Stage 4 to 5
addEvolution(from: arresterdramon, to: arresterdramonsuperior_mode, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 60, minutes: evo24Hours)
addEvolution(from: baohuckmon, to: arresterdramonsuperior_mode, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 60, minutes: evo24Hours)
addEvolution(from: coredramon_green, to: groundramon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 40, minutes: evo24Hours)
addEvolution(from: baohuckmon, to: groundramon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 40, minutes: evo3Hours)
addEvolution(from: coredramon_blue, to: rizegreymon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: geogreymon, to: rizegreymon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: arresterdramon, to: saviorhuckmon, trophies: 12, vitalValues: 2500, battles: 12, winRatio: 50, minutes: evo24Hours)
addEvolution(from: coredramon_green, to: saviorhuckmon, trophies: 12, vitalValues: 2500, battles: 12, winRatio: 50, minutes: evo24Hours)
addEvolution(from: baohuckmon, to: saviorhuckmon, trophies: 12, vitalValues: 2500, battles: 12, winRatio: 50, minutes: evo24Hours)
addEvolution(from: geogreymon, to: wingdramon, trophies: 12, vitalValues: 2500, battles: 12, winRatio: 50, minutes: evo24Hours)
addEvolution(from: coredramon_blue, to: wingdramon, trophies: 12, vitalValues: 2500, battles: 12, winRatio: 50, minutes: evo24Hours)
// MARK: - Stage 5 to 6
addEvolution(from: groundramon, to: breakdramon, trophies: 20, vitalValues: 2500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: saviorhuckmon, to: breakdramon, trophies: 20, vitalValues: 2500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: arresterdramonsuperior_mode, to: jesmon, trophies: 30, vitalValues: 3500, battles: 20, winRatio: 60, minutes: evo24Hours)
addEvolution(from: groundramon, to: jesmon, trophies: 30, vitalValues: 3500, battles: 20, winRatio: 60, minutes: evo24Hours)
addEvolution(from: saviorhuckmon, to: jesmon, trophies: 30, vitalValues: 3500, battles: 20, winRatio: 60, minutes: evo24Hours)
addEvolution(from: arresterdramonsuperior_mode, to: magnakidmon, trophies: 35, vitalValues: 3500, battles: 20, winRatio: 60, minutes: evo24Hours)
addEvolution(from: saviorhuckmon, to: magnakidmon, trophies: 35, vitalValues: 3500, battles: 20, winRatio: 60, minutes: evo24Hours)
addEvolution(from: rizegreymon, to: shinegreymon, trophies: 12, vitalValues: 2500, battles: 12, winRatio: 50, minutes: evo24Hours)
addEvolution(from: wingdramon, to: shinegreymon, trophies: 25, vitalValues: 3000, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: rizegreymon, to: shinegreymon_burst_mode, trophies: 35, vitalValues: 3500, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: wingdramon, to: slayerdramon, trophies: 30, vitalValues: 3000, battles: 15, winRatio: 60, minutes: evo24Hours)
addEvolution(from: rizegreymon, to: slayerdramon, trophies: 30, vitalValues: 3000, battles: 15, winRatio: 60, minutes: evo24Hours)
// MARK: - Stage 6 to 7
addEvolution(from: slayerdramon, to: examon, isJogress: true, jogressCharacterID: 16, minutes: evo3Hours)
addEvolution(from: breakdramon, to: examon, isJogress: true, jogressCharacterID: 14, minutes: evo3Hours)
// MARK: - Adventure Mode
addAdventureMode(stage : 1, steps: 500, digimon : dracomon, dim : dim)
addAdventureMode(stage : 2, steps: 500, digimon : gumdramon, unlock : true, dim : dim)
addAdventureMode(stage : 3, steps: 1000, digimon : coredramon_blue, dim : dim)
addAdventureMode(stage : 4, steps: 1000, digimon : coredramon_green, dim : dim)
addAdventureMode(stage : 5, steps: 1000, digimon : arresterdramon, unlock : true, dim : dim)
addAdventureMode(stage : 6, steps: 1500, digimon : wingdramon, dim : dim)
addAdventureMode(stage : 7, steps: 1500, digimon : geogreymon, dim : dim)
addAdventureMode(stage : 8, steps: 1500, digimon : arresterdramonsuperior_mode, unlock : true, dim : dim)
addAdventureMode(stage : 9, steps: 1500, digimon : slayerdramon, dim : dim)
addAdventureMode(stage : 10, steps: 1500, digimon : breakdramon, dim : dim)
addAdventureMode(stage : 11, steps: 2000, digimon : shinegreymon_burst_mode, unlock : true, dim : dim)
addAdventureMode(stage : 12, steps: 2500, digimon : magnakidmon, unlock : true, dim : dim)
}
}