import UIKit
import CoreData
class ImportDCVillains: ImportProtocol {
var moc: NSManagedObjectContext
required init(viewContext: NSManagedObjectContext) {
moc = viewContext
}
func importDIM() {
// MARK: - DIM
let dim = addDIM(name: "DC Villains", franchise: "DC Comics", imageName: "DCVillains-Header", dimType: "Vital Bracelet/Hero", id: "59", eggImage: "DCVillains-Egg", dimImage: "DCVillains-DIM")
// MARK: - Digimon
// MARK: - Stage 1
let dc_villain_icon_1 = addDigimon(name: "Icon 1", dim: dim, stage: 1, imageName: "dc_villain_icon_1", imageNameSplash: "dc_villain_icon_1-splash", type: free, activityType: "Normal", characterID: 0)
// MARK: - Stage 2
let dc_villain_icon_2 = addDigimon(name: "Icon 2", dim: dim, stage: 2, imageName: "dc_villain_icon_2", imageNameSplash: "dc_villain_icon_2-splash", type: free, activityType: "Normal", characterID: 1)
// MARK: - Stage 3
let joker = addDigimon(name: "Joker", dim: dim, stage: 3, imageName: "joker", imageNameSplash: "joker-splash", type: data, activityType: "Active", characterID: 2)
// MARK: - Stage 4
let black_mantis = addDigimon(name: "Black Mantis", dim: dim, stage: 4, imageName: "black_mantis", imageNameSplash: "black_mantis-splash", type: virus, activityType: "Stotic", characterID: 4)
let catwoman = addDigimon(name: "Catwoman", dim: dim, stage: 4, imageName: "catwoman", imageNameSplash: "catwoman-splash", type: free, activityType: "Active", characterID: 6)
let harley_quinn = addDigimon(name: "Harley Quinn", dim: dim, stage: 4, imageName: "harley_quinn", imageNameSplash: "harley_quinn-splash", type: virus, activityType: "Normal", characterID: 3)
let king_shark = addDigimon(name: "King Shark", dim: dim, stage: 4, imageName: "king_shark", imageNameSplash: "king_shark-splash", type: vaccine, activityType: "Normal", characterID: 5)
let police_a = addDigimon(name: "Police A", dim: dim, stage: 4, imageName: "police_a", imageNameSplash: "police_a-splash", type: free, activityType: "Lazy", characterID: 11, obtainable: false)
let police_b = addDigimon(name: "Police B", dim: dim, stage: 4, imageName: "police_b", imageNameSplash: "police_b-splash", type: data, activityType: "Normal", characterID: 12, obtainable: false)
// MARK: - Stage 5
let batman = addDigimon(name: "Batman", dim: dim, stage: 5, imageName: "batman", imageNameSplash: "batman-splash", type: vaccine, activityType: "Active", characterID: 13, obtainable: false)
let black_adam = addDigimon(name: "Black Adam", dim: dim, stage: 5, imageName: "black_adam", imageNameSplash: "black_adam-splash", type: data, activityType: "Indoor", characterID: 8)
let darkseid = addDigimon(name: "Darkseid", dim: dim, stage: 5, imageName: "darkseid", imageNameSplash: "darkseid-splash", type: vaccine, activityType: "Normal", characterID: 7)
let reverse_flash = addDigimon(name: "Reverse Flash", dim: dim, stage: 5, imageName: "reverse_flash", imageNameSplash: "reverse_flash-splash", type: data, activityType: "Active", characterID: 10)
let the_flash = addDigimon(name: "The Flash", dim: dim, stage: 5, imageName: "the_flash", imageNameSplash: "the_flash-splash", type: virus, activityType: "Stotic", characterID: 14, obtainable: false)
// MARK: - Stage 6
let aquaman = addDigimon(name: "Aquaman", dim: dim, stage: 6, imageName: "aquaman", imageNameSplash: "aquaman-splash", type: vaccine, activityType: "Active", characterID: 15, obtainable: false)
let lex_luthor = addDigimon(name: "Lex Luthor", dim: dim, stage: 6, imageName: "lex_luthor", imageNameSplash: "lex_luthor-splash", type: free, activityType: "Stotic", adventureMode: true, adventureStage: 15, characterID: 9)
let superman = addDigimon(name: "Superman", dim: dim, stage: 6, imageName: "superman", imageNameSplash: "superman-splash", type: virus, activityType: "Normal", characterID: 16, obtainable: false)
// MARK: - Evolutions
// MARK: - Stage 1 to 2
addEvolution(from: dc_villain_icon_1, to: dc_villain_icon_2, minutes: evo1Hour)
// MARK: - Stage 2 to 3
addEvolution(from: dc_villain_icon_2, to: joker, minutes: evo1Hour)
// MARK: - Stage 3 to 4
addEvolution(from: joker, to: black_mantis, trophies: 6, vitalValues: 1500, battles: 6, minutes: evo16Hours)
addEvolution(from: joker, to: catwoman, trophies: 3, vitalValues: 500, battles: 2, minutes: evo16Hours)
addEvolution(from: joker, to: harley_quinn, trophies: 4, vitalValues: 1000, battles: 4, minutes: evo16Hours)
addEvolution(from: joker, to: king_shark, trophies: 1, vitalValues: 200, battles: 2, minutes: evo16Hours)
// MARK: - Stage 4 to 5
addEvolution(from: black_mantis, to: black_adam, trophies: 10, vitalValues: 2300, battles: 9, winRatio: 60, minutes: evo24Hours)
addEvolution(from: catwoman, to: black_adam, trophies: 10, vitalValues: 2300, battles: 9, winRatio: 60, minutes: evo24Hours)
addEvolution(from: king_shark, to: black_adam, trophies: 10, vitalValues: 2300, battles: 9, winRatio: 60, minutes: evo24Hours)
addEvolution(from: harley_quinn, to: black_adam, trophies: 10, vitalValues: 2300, battles: 9, winRatio: 60, minutes: evo24Hours)
addEvolution(from: harley_quinn, to: darkseid, trophies: 9, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: black_mantis, to: darkseid, trophies: 9, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: king_shark, to: darkseid, trophies: 9, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: catwoman, to: darkseid, trophies: 9, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: black_mantis, to: reverse_flash, trophies: 12, vitalValues: 2300, battles: 12, winRatio: 60, minutes: evo24Hours)
addEvolution(from: king_shark, to: reverse_flash, trophies: 12, vitalValues: 2300, battles: 12, winRatio: 60, minutes: evo24Hours)
addEvolution(from: catwoman, to: reverse_flash, trophies: 12, vitalValues: 2300, battles: 12, winRatio: 60, minutes: evo24Hours)
addEvolution(from: harley_quinn, to: reverse_flash, trophies: 12, vitalValues: 2300, battles: 12, winRatio: 60, minutes: evo24Hours)
// MARK: - Stage 5 to 6
addEvolution(from: darkseid, to: lex_luthor, trophies: 12, vitalValues: 2500, battles: 12, winRatio: 50, minutes: evo24Hours)
addEvolution(from: black_adam, to: lex_luthor, trophies: 12, vitalValues: 2500, battles: 12, winRatio: 50, minutes: evo24Hours)
addEvolution(from: reverse_flash, to: lex_luthor, trophies: 12, vitalValues: 2500, battles: 12, winRatio: 50, minutes: evo24Hours)
// MARK: - Adventure Mode
addAdventureMode(stage : 1, steps: 500, digimon : police_a, dim : dim)
addAdventureMode(stage : 2, steps: 1000, digimon : police_b, dim : dim)
addAdventureMode(stage : 3, steps: 1000, digimon : batman, dim : dim)
addAdventureMode(stage : 4, steps: 1000, digimon : batman, dim : dim)
addAdventureMode(stage : 5, steps: 1000, digimon : police_a, dim : dim)
addAdventureMode(stage : 6, steps: 1500, digimon : police_b, dim : dim)
addAdventureMode(stage : 7, steps: 1500, digimon : the_flash, dim : dim)
addAdventureMode(stage : 8, steps: 1500, digimon : the_flash, dim : dim)
addAdventureMode(stage : 9, steps: 1500, digimon : police_a, dim : dim)
addAdventureMode(stage : 10, steps: 1500, digimon : police_b, dim : dim)
addAdventureMode(stage : 11, steps: 1500, digimon : aquaman, dim : dim)
addAdventureMode(stage : 12, steps: 2000, digimon : aquaman, dim : dim)
addAdventureMode(stage : 13, steps: 2000, digimon : police_b, dim : dim)
addAdventureMode(stage : 14, steps: 2000, digimon : superman, dim : dim)
addAdventureMode(stage : 15, steps: 2500, digimon : superman, unlock : true, dim : dim)
}
}