import UIKit
import CoreData
class ImportBatman: ImportProtocol {
var moc: NSManagedObjectContext
required init(viewContext: NSManagedObjectContext) {
moc = viewContext
}
func importDIM() {
// MARK: - DIM
let dim = addDIM(name: "Batman", franchise: "DC Comics", imageName: "Batman-Header", dimType: "Vital Bracelet/Hero", id: "57", eggImage: "Batman-Egg", dimImage: "Batman-DIM")
// MARK: - Digimon
// MARK: - Stage 1
let icon_1 = addDigimon(name: "Icon 1", dim: dim, stage: 1, imageName: "icon_1", imageNameSplash: "icon_1-splash", type: free, activityType: "Normal", characterID: 0)
// MARK: - Stage 2
let icon_2 = addDigimon(name: "Icon 2", dim: dim, stage: 2, imageName: "icon_2", imageNameSplash: "icon_2-splash", type: free, activityType: "Normal", characterID: 1)
// MARK: - Stage 3
let batman = addDigimon(name: "Batman", dim: dim, stage: 3, imageName: "batman", imageNameSplash: "batman-splash", type: vaccine, activityType: "Active", characterID: 2)
// MARK: - Stage 4
let batmobile = addDigimon(name: "Batmobile", dim: dim, stage: 4, imageName: "batmobile", imageNameSplash: "batmobile-splash", type: virus, activityType: "Stotic", characterID: 5)
let batwing = addDigimon(name: "Batwing", dim: dim, stage: 4, imageName: "batwing", imageNameSplash: "batwing-splash", type: virus, activityType: "Active", characterID: 3)
let robber_a = addDigimon(name: "Robber A", dim: dim, stage: 4, imageName: "robber_a", imageNameSplash: "robber_a-splash", type: virus, activityType: "Lazy", characterID: 11, obtainable: false)
let robber_b = addDigimon(name: "Robber B", dim: dim, stage: 4, imageName: "robber_b", imageNameSplash: "robber_b-splash", type: data, activityType: "Normal", characterID: 12, obtainable: false)
let robin = addDigimon(name: "Robin", dim: dim, stage: 4, imageName: "robin", imageNameSplash: "robin-splash", type: data, activityType: "Indoor", characterID: 4)
// MARK: - Stage 5
let batman_beyond = addDigimon(name: "Batman - Beyond", dim: dim, stage: 5, imageName: "batman_beyond", imageNameSplash: "batman_beyond-splash", type: vaccine, activityType: "Indoor", characterID: 7)
let batman_flashpoint = addDigimon(name: "Batman - Flashpoint", dim: dim, stage: 5, imageName: "batman_flashpoint", imageNameSplash: "batman_flashpoint-splash", type: data, activityType: "Normal", characterID: 8)
let catwoman = addDigimon(name: "Catwoman", dim: dim, stage: 5, imageName: "catwoman", imageNameSplash: "catwoman-splash", type: free, activityType: "Active", characterID: 13, obtainable: false)
let harley_quinn = addDigimon(name: "Harley Quinn", dim: dim, stage: 5, imageName: "harley_quinn", imageNameSplash: "harley_quinn-splash", type: virus, activityType: "Normal", characterID: 14, obtainable: false)
let nightwing = addDigimon(name: "Nightwing", dim: dim, stage: 5, imageName: "nightwing", imageNameSplash: "nightwing-splash", type: data, activityType: "Active", characterID: 6)
let penguin = addDigimon(name: "Penguin", dim: dim, stage: 5, imageName: "penguin", imageNameSplash: "penguin-splash", type: vaccine, activityType: "Indoor", characterID: 15, obtainable: false)
let red_hood = addDigimon(name: "Red Hood", dim: dim, stage: 5, imageName: "red_hood", imageNameSplash: "red_hood-splash", type: vaccine, activityType: "Stotic", characterID: 9)
// MARK: - Stage 6
let batman_exclusive_suits = addDigimon(name: "Batman Exclusive Suits", dim: dim, stage: 6, imageName: "batman_exclusive_suits", imageNameSplash: "batman_exclusive_suits-splash", type: free, activityType: "Normal", adventureMode: true, adventureStage: 15, characterID: 10)
let joker = addDigimon(name: "Joker", dim: dim, stage: 6, imageName: "joker", imageNameSplash: "joker-splash", type: virus, activityType: "Active", characterID: 16, obtainable: false)
// MARK: - Evolutions
// MARK: - Stage 1 to 2
addEvolution(from: icon_1, to: icon_2, minutes: evo1Hour)
// MARK: - Stage 2 to 3
addEvolution(from: icon_2, to: batman, minutes: evo1Hour)
// MARK: - Stage 3 to 4
addEvolution(from: batman, to: batmobile, trophies: 6, vitalValues: 1500, battles: 6, minutes: evo16Hours)
addEvolution(from: batman, to: batwing, trophies: 4, vitalValues: 1000, battles: 4, minutes: evo16Hours)
addEvolution(from: batman, to: robin, trophies: 3, vitalValues: 500, battles: 2, minutes: evo16Hours)
// MARK: - Stage 4 to 5
addEvolution(from: batwing, to: batman_beyond, trophies: 11, vitalValues: 2000, battles: 11, winRatio: 50, minutes: evo24Hours)
addEvolution(from: batmobile, to: batman_beyond, trophies: 11, vitalValues: 2000, battles: 11, winRatio: 50, minutes: evo24Hours)
addEvolution(from: batwing, to: batman_flashpoint, trophies: 12, vitalValues: 2300, battles: 12, winRatio: 60, minutes: evo24Hours)
addEvolution(from: batmobile, to: batman_flashpoint, trophies: 12, vitalValues: 2300, battles: 12, winRatio: 60, minutes: evo24Hours)
addEvolution(from: robin, to: nightwing, trophies: 8, vitalValues: 1000, battles: 8, winRatio: 40, minutes: evo24Hours)
addEvolution(from: robin, to: red_hood, trophies: 10, vitalValues: 1500, battles: 10, winRatio: 50, minutes: evo24Hours)
// MARK: - Stage 5 to 6
addEvolution(from: batman_beyond, to: batman_exclusive_suits, trophies: 12, vitalValues: 2500, battles: 12, winRatio: 50, minutes: evo24Hours)
addEvolution(from: batman_flashpoint, to: batman_exclusive_suits, trophies: 12, vitalValues: 2500, battles: 12, winRatio: 50, minutes: evo24Hours)
// MARK: - Adventure Mode
addAdventureMode(stage : 1, steps: 500, digimon : robber_a, dim : dim)
addAdventureMode(stage : 2, steps: 1000, digimon : robber_b, dim : dim)
addAdventureMode(stage : 3, steps: 1000, digimon : catwoman, dim : dim)
addAdventureMode(stage : 4, steps: 1000, digimon : catwoman, dim : dim)
addAdventureMode(stage : 5, steps: 1000, digimon : robber_a, dim : dim)
addAdventureMode(stage : 6, steps: 1500, digimon : robber_b, dim : dim)
addAdventureMode(stage : 7, steps: 1500, digimon : harley_quinn, dim : dim)
addAdventureMode(stage : 8, steps: 1500, digimon : harley_quinn, dim : dim)
addAdventureMode(stage : 9, steps: 1500, digimon : robber_a, dim : dim)
addAdventureMode(stage : 10, steps: 1500, digimon : robber_b, dim : dim)
addAdventureMode(stage : 11, steps: 1500, digimon : penguin, dim : dim)
addAdventureMode(stage : 12, steps: 2000, digimon : penguin, dim : dim)
addAdventureMode(stage : 13, steps: 2000, digimon : robber_b, dim : dim)
addAdventureMode(stage : 14, steps: 2000, digimon : joker, dim : dim)
addAdventureMode(stage : 15, steps: 2500, digimon : joker, unlock : true, dim : dim)
}
}