import UIKit
import CoreData
class ImportTitanOfDust: ImportProtocol {
var moc: NSManagedObjectContext
required init(viewContext: NSManagedObjectContext) {
moc = viewContext
}
func importDIM() {
// MARK: - DIM
let dim = addDIM(name: "Titan Of Dust", franchise: "Digimon", imageName: "TitanOfDust-Header", dimType: "Vital Bracelet/Hero", id: "1", eggImage: "TitanOfDust-Egg", dimImage: "TitanOfDust-DIM")
// MARK: - Digimon
// MARK: - Stage 1
let sunamon = addDigimon(name: "Sunamon", dim: dim, stage: 1, imageName: "sunamon", imageNameSplash: "sunamon-splash", type: free, activityType: "Normal", characterID: 0)
// MARK: - Stage 2
let goromon = addDigimon(name: "Goromon", dim: dim, stage: 2, imageName: "goromon", imageNameSplash: "goromon-splash", type: free, activityType: "Normal", characterID: 1)
// MARK: - Stage 3
let sunarizamon = addDigimon(name: "Sunarizamon", dim: dim, stage: 3, imageName: "sunarizamon", imageNameSplash: "sunarizamon-splash", type: virus, activityType: "Indoor", characterID: 2)
// MARK: - Stage 4
let digmon = addDigimon(name: "Digmon", dim: dim, stage: 4, imageName: "digmon", imageNameSplash: "digmon-splash", type: free, activityType: "Indoor", characterID: 6)
let rockmon = addDigimon(name: "Rockmon", dim: dim, stage: 4, imageName: "rockmon", imageNameSplash: "rockmon-splash", type: virus, activityType: "Lazy", characterID: 5)
let togemon = addDigimon(name: "Togemon", dim: dim, stage: 4, imageName: "togemon", imageNameSplash: "togemon-splash", type: data, activityType: "Active", characterID: 4)
let tortomon = addDigimon(name: "Tortomon", dim: dim, stage: 4, imageName: "tortomon", imageNameSplash: "tortomon-splash", type: vaccine, activityType: "Normal", characterID: 3)
// MARK: - Stage 5
let gogmamon = addDigimon(name: "Gogmamon", dim: dim, stage: 5, imageName: "gogmamon", imageNameSplash: "gogmamon-splash", type: vaccine, activityType: "Indoor", characterID: 7)
let jagamon = addDigimon(name: "Jagamon", dim: dim, stage: 5, imageName: "jagamon", imageNameSplash: "jagamon-splash", type: vaccine, activityType: "Active", characterID: 8)
let mummymon = addDigimon(name: "Mummymon", dim: dim, stage: 5, imageName: "mummymon", imageNameSplash: "mummymon-splash", type: virus, activityType: "Lazy", characterID: 12)
let skullscorpiomon = addDigimon(name: "SkullScorpiomon", dim: dim, stage: 5, imageName: "skullscorpiomon", imageNameSplash: "skullscorpiomon-splash", type: data, activityType: "Normal", characterID: 10)
let triceramon = addDigimon(name: "Triceramon", dim: dim, stage: 5, imageName: "triceramon", imageNameSplash: "triceramon-splash", type: data, activityType: "Stotic", characterID: 9)
let vulturemon = addDigimon(name: "Vulturemon", dim: dim, stage: 5, imageName: "vulturemon", imageNameSplash: "vulturemon-splash", type: virus, activityType: "Indoor", characterID: 11)
// MARK: - Stage 6
let ancientsphinxmon = addDigimon(name: "AncientSphinxmon", dim: dim, stage: 6, imageName: "ancientsphinxmon", imageNameSplash: "ancientsphinxmon-splash", type: virus, activityType: "Indoor", adventureMode: true, adventureStage: 15, characterID: 16)
let blastmon = addDigimon(name: "Blastmon", dim: dim, stage: 6, imageName: "blastmon", imageNameSplash: "blastmon-splash", type: vaccine, activityType: "Active", characterID: 13)
let dinorexmon = addDigimon(name: "DinoRexmon", dim: dim, stage: 6, imageName: "dinorexmon", imageNameSplash: "dinorexmon-splash", type: data, activityType: "Stotic", characterID: 14)
let pharaohmon = addDigimon(name: "Pharaohmon", dim: dim, stage: 6, imageName: "pharaohmon", imageNameSplash: "pharaohmon-splash", type: virus, activityType: "Normal", characterID: 15)
// MARK: - Evolutions
// MARK: - Stage 1 to 2
addEvolution(from: sunamon, to: goromon, minutes: evo1Hour)
// MARK: - Stage 2 to 3
addEvolution(from: goromon, to: sunarizamon, minutes: evo3Hours)
// MARK: - Stage 3 to 4
addEvolution(from: sunarizamon, to: digmon, trophies: 5, vitalValues: 600, battles: 3, minutes: evo16Hours)
addEvolution(from: sunarizamon, to: rockmon, minutes: evo16Hours)
addEvolution(from: sunarizamon, to: togemon, trophies: 8, vitalValues: 900, battles: 5, minutes: evo16Hours)
addEvolution(from: sunarizamon, to: tortomon, trophies: 10, vitalValues: 1300, battles: 8, minutes: evo16Hours)
// MARK: - Stage 4 to 5
addEvolution(from: tortomon, to: gogmamon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: rockmon, to: gogmamon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: digmon, to: jagamon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: togemon, to: jagamon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: tortomon, to: mummymon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: digmon, to: mummymon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: tortomon, to: skullscorpiomon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: digmon, to: skullscorpiomon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: togemon, to: triceramon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: rockmon, to: triceramon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: togemon, to: vulturemon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: rockmon, to: vulturemon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
// MARK: - Stage 5 to 6
addEvolution(from: mummymon, to: ancientsphinxmon, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: jagamon, to: ancientsphinxmon, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: skullscorpiomon, to: ancientsphinxmon, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: gogmamon, to: blastmon, trophies: 10, vitalValues: 4500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: skullscorpiomon, to: blastmon, trophies: 10, vitalValues: 4500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: jagamon, to: blastmon, trophies: 10, vitalValues: 4500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: vulturemon, to: digmon, trophies: 5, vitalValues: 600, battles: 3, minutes: evo24Hours)
addEvolution(from: triceramon, to: dinorexmon, trophies: 20, vitalValues: 5000, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: gogmamon, to: dinorexmon, trophies: 20, vitalValues: 5000, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: triceramon, to: pharaohmon, trophies: 15, vitalValues: 4500, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: vulturemon, to: pharaohmon, trophies: 15, vitalValues: 4500, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: mummymon, to: pharaohmon, trophies: 15, vitalValues: 4500, battles: 15, winRatio: 70, minutes: evo24Hours)
// MARK: - Adventure Mode
addAdventureMode(stage : 1, steps: 500, digimon : sunarizamon, dim : dim)
addAdventureMode(stage : 2, steps: 1000, digimon : rockmon, dim : dim)
addAdventureMode(stage : 3, steps: 1000, digimon : digmon, dim : dim)
addAdventureMode(stage : 4, steps: 1000, digimon : togemon, dim : dim)
addAdventureMode(stage : 5, steps: 1000, digimon : tortomon, dim : dim)
addAdventureMode(stage : 6, steps: 1500, digimon : mummymon, dim : dim)
addAdventureMode(stage : 7, steps: 1500, digimon : jagamon, dim : dim)
addAdventureMode(stage : 8, steps: 1500, digimon : skullscorpiomon, dim : dim)
addAdventureMode(stage : 9, steps: 1500, digimon : triceramon, dim : dim)
addAdventureMode(stage : 10, steps: 1500, digimon : vulturemon, dim : dim)
addAdventureMode(stage : 11, steps: 1500, digimon : gogmamon, dim : dim)
addAdventureMode(stage : 12, steps: 2000, digimon : blastmon, dim : dim)
addAdventureMode(stage : 13, steps: 2000, digimon : pharaohmon, dim : dim)
addAdventureMode(stage : 14, steps: 2000, digimon : dinorexmon, dim : dim)
addAdventureMode(stage : 15, steps: 2500, digimon : ancientsphinxmon, unlock : true, dim : dim)
}
}