import UIKit
import CoreData
class ImportDCHeros: ImportProtocol {
var moc: NSManagedObjectContext
required init(viewContext: NSManagedObjectContext) {
moc = viewContext
}
func importDIM() {
// MARK: - DIM
let dim = addDIM(name: "DC Heros", franchise: "DC Comics", imageName: "DCHeros-Header", dimType: "Vital Bracelet/Hero", id: "58", eggImage: "DCHeros-Egg", dimImage: "DCHeros-DIM")
// MARK: - Digimon
// MARK: - Stage 1
let dc_heros_icon_1 = addDigimon(name: "Icon 1", dim: dim, stage: 1, imageName: "dc_heros_icon_1", imageNameSplash: "dc_heros_icon_1-splash", type: free, activityType: "Normal", characterID: 0)
// MARK: - Stage 2
let dc_heros_icon_2 = addDigimon(name: "Icon 2", dim: dim, stage: 2, imageName: "dc_heros_icon_2", imageNameSplash: "dc_heros_icon_2-splash", type: free, activityType: "Normal", characterID: 1)
// MARK: - Stage 3
let superman = addDigimon(name: "Superman", dim: dim, stage: 3, imageName: "superman", imageNameSplash: "superman-splash", type: vaccine, activityType: "Normal", characterID: 2)
// MARK: - Stage 4
let aquaman = addDigimon(name: "Aquaman", dim: dim, stage: 4, imageName: "aquaman", imageNameSplash: "aquaman-splash", type: vaccine, activityType: "Active", characterID: 6)
let cyborg = addDigimon(name: "Cyborg", dim: dim, stage: 4, imageName: "cyborg", imageNameSplash: "cyborg-splash", type: vaccine, activityType: "Normal", characterID: 5)
let green_lantern = addDigimon(name: "Green Lantern", dim: dim, stage: 4, imageName: "green_lantern", imageNameSplash: "green_lantern-splash", type: data, activityType: "Active", characterID: 3)
let dc_heros_robber_a = addDigimon(name: "Robber A", dim: dim, stage: 4, imageName: "dc_heros_robber_a", imageNameSplash: "dc_heros_robber_a-splash", type: virus, activityType: "Lazy", characterID: 11, obtainable: false)
let dc_heros_robber_b = addDigimon(name: "Robber B", dim: dim, stage: 4, imageName: "dc_heros_robber_b", imageNameSplash: "dc_heros_robber_b-splash", type: data, activityType: "Normal", characterID: 12, obtainable: false)
let the_flash = addDigimon(name: "The Flash", dim: dim, stage: 4, imageName: "the_flash", imageNameSplash: "the_flash-splash", type: virus, activityType: "Stotic", characterID: 4)
// MARK: - Stage 5
let black_adam = addDigimon(name: "Black Adam", dim: dim, stage: 5, imageName: "black_adam", imageNameSplash: "black_adam-splash", type: data, activityType: "Indoor", characterID: 14, obtainable: false)
let dc_heros_joker = addDigimon(name: "Joker", dim: dim, stage: 5, imageName: "dc_heros_joker", imageNameSplash: "dc_heros_joker-splash", type: data, activityType: "Active", characterID: 13, obtainable: false)
let shazam = addDigimon(name: "Shazam", dim: dim, stage: 5, imageName: "shazam", imageNameSplash: "shazam-splash", type: virus, activityType: "Normal", characterID: 7)
let supergirl = addDigimon(name: "Supergirl", dim: dim, stage: 5, imageName: "supergirl", imageNameSplash: "supergirl-splash", type: data, activityType: "Active", characterID: 9)
let wonder_woman = addDigimon(name: "Wonder Woman", dim: dim, stage: 5, imageName: "wonder_woman", imageNameSplash: "wonder_woman-splash", type: data, activityType: "Indoor", characterID: 8)
// MARK: - Stage 6
let darkseid = addDigimon(name: "Darkseid", dim: dim, stage: 6, imageName: "darkseid", imageNameSplash: "darkseid-splash", type: vaccine, activityType: "Normal", characterID: 16, obtainable: false)
let lex_luthor = addDigimon(name: "Lex Luthor", dim: dim, stage: 6, imageName: "lex_luthor", imageNameSplash: "lex_luthor-splash", type: free, activityType: "Stotic", characterID: 15, obtainable: false)
let superman_exclusive_suits = addDigimon(name: "Superman - Exclusive Suits", dim: dim, stage: 6, imageName: "superman_exclusive_suits", imageNameSplash: "superman_exclusive_suits-splash", type: free, activityType: "Stotic", adventureMode: true, adventureStage: 15, characterID: 10)
// MARK: - Evolutions
// MARK: - Stage 1 to 2
addEvolution(from: dc_heros_icon_1, to: dc_heros_icon_2, minutes: evo1Hour)
// MARK: - Stage 2 to 3
addEvolution(from: dc_heros_icon_2, to: superman, minutes: evo1Hour)
// MARK: - Stage 3 to 4
addEvolution(from: superman, to: aquaman, trophies: 6, vitalValues: 1500, battles: 6, minutes: evo16Hours)
addEvolution(from: superman, to: cyborg, trophies: 4, vitalValues: 1000, battles: 4, minutes: evo16Hours)
addEvolution(from: superman, to: green_lantern, trophies: 1, vitalValues: 200, battles: 2, minutes: evo16Hours)
addEvolution(from: superman, to: the_flash, trophies: 3, vitalValues: 500, battles: 2, minutes: evo16Hours)
// MARK: - Stage 4 to 5
addEvolution(from: cyborg, to: shazam, trophies: 9, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: green_lantern, to: shazam, trophies: 9, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: the_flash, to: shazam, trophies: 9, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: green_lantern, to: supergirl, trophies: 12, vitalValues: 2300, battles: 12, winRatio: 60, minutes: evo24Hours)
addEvolution(from: the_flash, to: supergirl, trophies: 12, vitalValues: 2300, battles: 12, winRatio: 60, minutes: evo24Hours)
addEvolution(from: cyborg, to: supergirl, trophies: 12, vitalValues: 2300, battles: 12, winRatio: 60, minutes: evo24Hours)
addEvolution(from: the_flash, to: wonder_woman, trophies: 10, vitalValues: 2300, battles: 9, winRatio: 60, minutes: evo24Hours)
addEvolution(from: cyborg, to: wonder_woman, trophies: 10, vitalValues: 2300, battles: 9, winRatio: 60, minutes: evo24Hours)
addEvolution(from: green_lantern, to: wonder_woman, trophies: 10, vitalValues: 2300, battles: 9, winRatio: 60, minutes: evo24Hours)
// MARK: - Stage 5 to 6
addEvolution(from: aquaman, to: shazam, trophies: 9, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: aquaman, to: supergirl, trophies: 12, vitalValues: 2300, battles: 12, winRatio: 60, minutes: evo24Hours)
addEvolution(from: shazam, to: superman_exclusive_suits, trophies: 12, vitalValues: 2500, battles: 12, winRatio: 50, minutes: evo24Hours)
addEvolution(from: wonder_woman, to: superman_exclusive_suits, trophies: 12, vitalValues: 2500, battles: 12, winRatio: 50, minutes: evo24Hours)
addEvolution(from: supergirl, to: superman_exclusive_suits, trophies: 12, vitalValues: 2500, battles: 12, winRatio: 50, minutes: evo24Hours)
addEvolution(from: aquaman, to: wonder_woman, trophies: 10, vitalValues: 2300, battles: 9, winRatio: 60, minutes: evo24Hours)
// MARK: - Adventure Mode
addAdventureMode(stage : 1, steps: 500, digimon : dc_heros_robber_a, dim : dim)
addAdventureMode(stage : 2, steps: 1000, digimon : dc_heros_robber_b, dim : dim)
addAdventureMode(stage : 3, steps: 1000, digimon : dc_heros_joker, dim : dim)
addAdventureMode(stage : 4, steps: 1000, digimon : dc_heros_joker, dim : dim)
addAdventureMode(stage : 5, steps: 1000, digimon : dc_heros_robber_a, dim : dim)
addAdventureMode(stage : 6, steps: 1500, digimon : dc_heros_robber_b, dim : dim)
addAdventureMode(stage : 7, steps: 1500, digimon : black_adam, dim : dim)
addAdventureMode(stage : 8, steps: 1500, digimon : black_adam, dim : dim)
addAdventureMode(stage : 9, steps: 1500, digimon : dc_heros_robber_a, dim : dim)
addAdventureMode(stage : 10, steps: 1500, digimon : dc_heros_robber_b, dim : dim)
addAdventureMode(stage : 11, steps: 1500, digimon : lex_luthor, dim : dim)
addAdventureMode(stage : 12, steps: 2000, digimon : lex_luthor, dim : dim)
addAdventureMode(stage : 13, steps: 2000, digimon : dc_heros_robber_b, dim : dim)
addAdventureMode(stage : 14, steps: 2000, digimon : darkseid, dim : dim)
addAdventureMode(stage : 15, steps: 2500, digimon : darkseid, unlock : true, dim : dim)
}
}