import UIKit
import CoreData
class ImportD3WhiteandYellow: ImportProtocol {
var moc: NSManagedObjectContext
required init(viewContext: NSManagedObjectContext) {
moc = viewContext
}
func importDIM() {
// MARK: - DIM
let dim = addDIM(name: "D3 White and Yellow", franchise: "Digimon", imageName: "D3WhiteandYellow-Header", dimType: "Vital Bracelet BE", id: "134", eggImage: "D3WhiteandYellow-Egg", dimImage: "D3WhiteandYellow-DIM", adventureIcon: "D3WhiteandYellow-Adventure")
// MARK: - Digimon
// MARK: - Stage 1
let tsubumon = addDigimon(name: "Tsubumon", dim: dim, stage: 1, imageName: "tsubumon", imageNameSplash: "tsubumon-splash", type: free, activityType: "Normal", characterID: 1)
// MARK: - Stage 2
let upamon = addDigimon(name: "Upamon", dim: dim, stage: 2, imageName: "upamon", imageNameSplash: "upamon-splash", type: free, activityType: "Normal", characterID: 0)
// MARK: - Stage 3
let armadillomon = addDigimon(name: "Armadillomon", dim: dim, stage: 3, imageName: "armadillomon", imageNameSplash: "armadillomon-splash", type: free, activityType: "Normal", characterID: 2)
let patamon = addDigimon(name: "Patamon", dim: dim, stage: 3, imageName: "patamon", imageNameSplash: "patamon-splash", type: data, activityType: "Lazy", characterID: 3)
let veemon = addDigimon(name: "Veemon", dim: dim, stage: 3, imageName: "veemon", imageNameSplash: "veemon-splash", type: free, activityType: "Active", characterID: 4)
// MARK: - Stage 4
let angemon = addDigimon(name: "Angemon", dim: dim, stage: 4, imageName: "angemon", imageNameSplash: "angemon-splash", type: vaccine, activityType: "Stotic", characterID: 6)
let ankylomon = addDigimon(name: "Ankylomon", dim: dim, stage: 4, imageName: "ankylomon", imageNameSplash: "ankylomon-splash", type: free, activityType: "Lazy", characterID: 5)
let digmon = addDigimon(name: "Digmon", dim: dim, stage: 4, imageName: "digmon", imageNameSplash: "digmon-splash", type: free, activityType: "Indoor", characterID: 8)
let exveemon = addDigimon(name: "ExVeemon", dim: dim, stage: 4, imageName: "exveemon", imageNameSplash: "exveemon-splash", type: free, activityType: "Active", characterID: 7)
let flamedramon = addDigimon(name: "Flamedramon", dim: dim, stage: 4, imageName: "flamedramon", imageNameSplash: "flamedramon-splash", type: free, activityType: "Normal", characterID: 11)
let pegasusmon = addDigimon(name: "Pegasusmon", dim: dim, stage: 4, imageName: "pegasusmon", imageNameSplash: "pegasusmon-splash", type: free, activityType: "Active", characterID: 10)
let raidramon = addDigimon(name: "Raidramon", dim: dim, stage: 4, imageName: "raidramon", imageNameSplash: "raidramon-splash", type: free, activityType: "Normal", characterID: 12)
let submarimon = addDigimon(name: "Submarimon", dim: dim, stage: 4, imageName: "submarimon", imageNameSplash: "submarimon-splash", type: free, activityType: "Stotic", characterID: 9)
// MARK: - Stage 5
let arukenimon = addDigimon(name: "Arukenimon", dim: dim, stage: 5, imageName: "arukenimon", imageNameSplash: "arukenimon-splash", type: virus, activityType: "Active", adventureMode: true, adventureStage: 9, characterID: 29)
let magnaangemon = addDigimon(name: "MagnaAngemon", dim: dim, stage: 5, imageName: "magnaangemon", imageNameSplash: "magnaangemon-splash", type: vaccine, activityType: "Stotic", characterID: 14)
let paildramon = addDigimon(name: "Paildramon", dim: dim, stage: 5, imageName: "paildramon", imageNameSplash: "paildramon-splash", type: free, activityType: "Normal", characterID: 15)
let shakkoumon = addDigimon(name: "Shakkoumon", dim: dim, stage: 5, imageName: "shakkoumon", imageNameSplash: "shakkoumon-splash", type: free, activityType: "Normal", characterID: 13)
// MARK: - Stage 6
let blackwargreymon = addDigimon(name: "BlackWarGreymon", dim: dim, stage: 6, imageName: "blackwargreymon", imageNameSplash: "blackwargreymon-splash", type: virus, activityType: "Active", adventureMode: true, adventureStage: 11, characterID: 22)
let imperialdramondragon_mode = addDigimon(name: "Imperialdramon: Dragon Mode", dim: dim, stage: 6, imageName: "imperialdramondragon_mode", imageNameSplash: "imperialdramondragon_mode-splash", type: free, activityType: "Normal", characterID: 18)
let magnamon = addDigimon(name: "Magnamon", dim: dim, stage: 6, imageName: "magnamon", imageNameSplash: "magnamon-splash", type: free, activityType: "Normal", characterID: 19)
let malomyotismon = addDigimon(name: "MaloMyotismon", dim: dim, stage: 6, imageName: "malomyotismon", imageNameSplash: "malomyotismon-splash", type: virus, activityType: "Stotic", adventureMode: true, adventureStage: 12, characterID: 21)
let seraphimon = addDigimon(name: "Seraphimon", dim: dim, stage: 6, imageName: "seraphimon", imageNameSplash: "seraphimon-splash", type: vaccine, activityType: "Stotic", characterID: 17)
let vikemon = addDigimon(name: "Vikemon", dim: dim, stage: 6, imageName: "vikemon", imageNameSplash: "vikemon-splash", type: free, activityType: "Lazy", characterID: 16)
// MARK: - Evolutions
// MARK: - Stage 1 to 2
addEvolution(from: tsubumon, to: upamon, minutes: evo1Hour)
// MARK: - Stage 2 to 3
addEvolution(from: upamon, to: armadillomon, trophies: 5, vitalValues: 500, minutes: evo3Hours)
addEvolution(from: upamon, to: patamon, trophies: 3, vitalValues: 500, minutes: evo3Hours)
addEvolution(from: upamon, to: veemon, minutes: evo3Hours)
// MARK: - Stage 3 to 4
addEvolution(from: patamon, to: angemon, trophies: 10, vitalValues: 1000, battles: 8, minutes: evo12Hours)
addEvolution(from: armadillomon, to: ankylomon, trophies: 12, vitalValues: 1500, battles: 10, minutes: evo12Hours)
addEvolution(from: patamon, to: ankylomon, trophies: 12, vitalValues: 1500, battles: 10, minutes: evo12Hours)
addEvolution(from: armadillomon, to: digmon, trophies: 10, vitalValues: 1000, battles: 8, minutes: evo12Hours)
addEvolution(from: veemon, to: exveemon, trophies: 10, vitalValues: 1000, battles: 8, minutes: evo12Hours)
addEvolution(from: veemon, to: flamedramon, trophies: 8, vitalValues: 1000, battles: 5, minutes: evo12Hours)
addEvolution(from: patamon, to: pegasusmon, trophies: 8, vitalValues: 1000, battles: 5, minutes: evo12Hours)
addEvolution(from: veemon, to: raidramon, minutes: evo12Hours)
addEvolution(from: armadillomon, to: submarimon, trophies: 8, vitalValues: 1000, battles: 5, minutes: evo12Hours)
// MARK: - Stage 4 to 5
addEvolution(from: pegasusmon, to: arukenimon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 60, minutes: evo24Hours)
addEvolution(from: submarimon, to: arukenimon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 60, minutes: evo24Hours)
addEvolution(from: angemon, to: arukenimon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 60, minutes: evo24Hours)
addEvolution(from: ankylomon, to: arukenimon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 60, minutes: evo24Hours)
addEvolution(from: raidramon, to: magnaangemon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: angemon, to: magnaangemon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: flamedramon, to: magnaangemon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 40, minutes: evo24Hours)
addEvolution(from: exveemon, to: magnaangemon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: digmon, to: magnaangemon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 40, minutes: evo24Hours)
addEvolution(from: pegasusmon, to: magnaangemon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 40, minutes: evo24Hours)
addEvolution(from: flamedramon, to: paildramon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: raidramon, to: paildramon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 40, minutes: evo24Hours)
addEvolution(from: digmon, to: paildramon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: exveemon, to: paildramon, trophies: 8, vitalValues: 2500, battles: 10, winRatio: 40, minutes: evo24Hours)
addEvolution(from: ankylomon, to: paildramon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: submarimon, to: paildramon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 40, minutes: evo24Hours)
addEvolution(from: angemon, to: shakkoumon, isJogress: true, jogressAnotherDIM: true, jogressDIM: 134, jogressCharacterID: 5, minutes: evo24Hours)
addEvolution(from: ankylomon, to: shakkoumon, isJogress: true, jogressCharacterID: 6, minutes: evo24Hours)
// MARK: - Stage 5 to 6
addEvolution(from: shakkoumon, to: blackwargreymon, trophies: 18, vitalValues: 3500, battles: 20, winRatio: 60, minutes: evo24Hours)
addEvolution(from: arukenimon, to: blackwargreymon, trophies: 18, vitalValues: 3500, battles: 20, winRatio: 60, minutes: evo24Hours)
addEvolution(from: arukenimon, to: imperialdramondragon_mode, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 60, minutes: evo24Hours)
addEvolution(from: paildramon, to: imperialdramondragon_mode, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 60, minutes: evo24Hours)
addEvolution(from: magnaangemon, to: magnamon, trophies: 10, vitalValues: 2500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: paildramon, to: magnamon, trophies: 10, vitalValues: 2500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: arukenimon, to: malomyotismon, trophies: 20, vitalValues: 4000, battles: 20, winRatio: 60, minutes: evo24Hours)
addEvolution(from: shakkoumon, to: malomyotismon, trophies: 20, vitalValues: 4000, battles: 20, winRatio: 60, minutes: evo24Hours)
addEvolution(from: magnaangemon, to: seraphimon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: paildramon, to: seraphimon, trophies: 15, vitalValues: 3500, battles: 20, winRatio: 60, minutes: evo24Hours)
addEvolution(from: magnaangemon, to: vikemon, trophies: 15, vitalValues: 3500, battles: 20, winRatio: 60, minutes: evo24Hours)
addEvolution(from: shakkoumon, to: vikemon, trophies: 15, vitalValues: 3000, battles: 15, winRatio: 50, minutes: evo24Hours)
// MARK: - Adventure Mode
addAdventureMode(stage : 1, steps: 500, digimon : veemon, dim : dim)
addAdventureMode(stage : 2, steps: 500, digimon : paildramon, dim : dim)
addAdventureMode(stage : 3, steps: 500, digimon : armadillomon, dim : dim)
addAdventureMode(stage : 4, steps: 1000, digimon : exveemon, dim : dim)
addAdventureMode(stage : 5, steps: 1000, digimon : angemon, dim : dim)
addAdventureMode(stage : 6, steps: 1000, digimon : ankylomon, dim : dim)
addAdventureMode(stage : 7, steps: 1500, digimon : paildramon, dim : dim)
addAdventureMode(stage : 8, steps: 1500, digimon : magnaangemon, dim : dim)
addAdventureMode(stage : 9, steps: 1500, digimon : arukenimon, unlock : true, dim : dim)
addAdventureMode(stage : 10, steps: 2000, digimon : seraphimon, dim : dim)
addAdventureMode(stage : 11, steps: 2000, digimon : blackwargreymon, unlock : true, dim : dim)
addAdventureMode(stage : 12, steps: 2500, digimon : malomyotismon, unlock : true, dim : dim)
}
}