import UIKit
import CoreData
class ImportMonodramonGP: ImportProtocol {
var moc: NSManagedObjectContext
required init(viewContext: NSManagedObjectContext) {
moc = viewContext
}
func importDIM() {
// MARK: - DIM
let dim = addDIM(name: "Monodramon GP", franchise: "Digimon", imageName: "MonodramonGP-Header", dimType: "Vital Bracelet/Hero", id: "22", eggImage: "MonodramonGP-Egg", dimImage: "MonodramonGP-DIM")
// MARK: - Digimon
// MARK: - Stage 1
let ketomon = addDigimon(name: "Ketomon", dim: dim, stage: 1, imageName: "ketomon", imageNameSplash: "ketomon-splash", type: free, activityType: "Normal", characterID: 0)
// MARK: - Stage 2
let hopmon = addDigimon(name: "Hopmon", dim: dim, stage: 2, imageName: "hopmon", imageNameSplash: "hopmon-splash", type: free, activityType: "Normal", characterID: 1)
// MARK: - Stage 3
let monodramon = addDigimon(name: "Monodramon", dim: dim, stage: 3, imageName: "monodramon", imageNameSplash: "monodramon-splash", type: vaccine, activityType: "Normal", characterID: 2)
// MARK: - Stage 4
let strikedramon = addDigimon(name: "Strikedramon", dim: dim, stage: 4, imageName: "strikedramon", imageNameSplash: "strikedramon-splash", type: vaccine, activityType: "Normal", characterID: 3)
// MARK: - Stage 5
let cyberdramon = addDigimon(name: "Cyberdramon", dim: dim, stage: 5, imageName: "cyberdramon", imageNameSplash: "cyberdramon-splash", type: vaccine, activityType: "Normal", characterID: 4)
// MARK: - Stage 6
let justimonaccel_arm = addDigimon(name: "Justimon: Accel Arm", dim: dim, stage: 6, imageName: "justimonaccel_arm", imageNameSplash: "justimonaccel_arm-splash", type: vaccine, activityType: "Active", characterID: 5)
let justimonblitz_arm = addDigimon(name: "Justimon: Blitz Arm", dim: dim, stage: 6, imageName: "justimonblitz_arm", imageNameSplash: "justimonblitz_arm-splash", type: vaccine, activityType: "Normal", characterID: 6)
let justimoncritical_arm = addDigimon(name: "Justimon: Critical Arm", dim: dim, stage: 6, imageName: "justimoncritical_arm", imageNameSplash: "justimoncritical_arm-splash", type: vaccine, activityType: "Indoor", characterID: 7)
// MARK: - Evolutions
// MARK: - Stage 1 to 2
addEvolution(from: ketomon, to: hopmon, minutes: evo1Hour)
// MARK: - Stage 2 to 3
addEvolution(from: hopmon, to: monodramon, minutes: evo3Hours)
// MARK: - Stage 3 to 4
addEvolution(from: monodramon, to: strikedramon, trophies: 10, vitalValues: 1300, battles: 8, minutes: evo16Hours)
// MARK: - Stage 4 to 5
addEvolution(from: strikedramon, to: cyberdramon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
// MARK: - Stage 5 to 6
addEvolution(from: cyberdramon, to: justimonaccel_arm, trophies: 30, vitalValues: 4500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: cyberdramon, to: justimonblitz_arm, trophies: 10, vitalValues: 4500, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: cyberdramon, to: justimoncritical_arm, trophies: 10, vitalValues: 7000, battles: 10, winRatio: 70, minutes: evo24Hours)
// MARK: - Adventure Mode
addAdventureMode(stage : 1, steps: 500, digimon : monodramon, dim : dim)
addAdventureMode(stage : 2, steps: 1000, digimon : monodramon, dim : dim)
addAdventureMode(stage : 3, steps: 1000, digimon : strikedramon, dim : dim)
addAdventureMode(stage : 4, steps: 1000, digimon : strikedramon, dim : dim)
addAdventureMode(stage : 5, steps: 1000, digimon : cyberdramon, dim : dim)
addAdventureMode(stage : 6, steps: 1500, digimon : cyberdramon, dim : dim)
addAdventureMode(stage : 7, steps: 1500, digimon : strikedramon, dim : dim)
addAdventureMode(stage : 8, steps: 1500, digimon : cyberdramon, dim : dim)
addAdventureMode(stage : 9, steps: 1500, digimon : cyberdramon, dim : dim)
addAdventureMode(stage : 10, steps: 1500, digimon : strikedramon, dim : dim)
addAdventureMode(stage : 11, steps: 1500, digimon : cyberdramon, dim : dim)
addAdventureMode(stage : 12, steps: 2000, digimon : cyberdramon, dim : dim)
addAdventureMode(stage : 13, steps: 2000, digimon : justimonaccel_arm, dim : dim)
addAdventureMode(stage : 14, steps: 2000, digimon : justimonblitz_arm, dim : dim)
addAdventureMode(stage : 15, steps: 2500, digimon : justimoncritical_arm, dim : dim)
}
}