import UIKit
import CoreData
class ImportGabumon: ImportProtocol {
var moc: NSManagedObjectContext
required init(viewContext: NSManagedObjectContext) {
moc = viewContext
}
func importDIM() {
// MARK: - DIM
let dim = addDIM(name: "Gabumon", franchise: "Digimon", imageName: "Gabumon-Header", dimType: "Vital Bracelet/Hero", id: "13", eggImage: "Gabumon-Egg", dimImage: "Gabumon-DIM")
// MARK: - Digimon
// MARK: - Stage 1
let punimon = addDigimon(name: "Punimon", dim: dim, stage: 1, imageName: "punimon", imageNameSplash: "punimon-splash", type: free, activityType: "Normal", characterID: 0)
// MARK: - Stage 2
let tsunomon = addDigimon(name: "Tsunomon", dim: dim, stage: 2, imageName: "tsunomon", imageNameSplash: "tsunomon-splash", type: free, activityType: "Normal", characterID: 1)
// MARK: - Stage 3
let gabumon = addDigimon(name: "Gabumon", dim: dim, stage: 3, imageName: "gabumon", imageNameSplash: "gabumon-splash", type: data, activityType: "Active", characterID: 2)
// MARK: - Stage 4
let argomon_champion = addDigimon(name: "Argomon (Champion)", dim: dim, stage: 4, imageName: "argomon_champion", imageNameSplash: "argomon_champion-splash", type: virus, activityType: "Lazy", characterID: 6)
let dokugumon = addDigimon(name: "Dokugumon", dim: dim, stage: 4, imageName: "dokugumon", imageNameSplash: "dokugumon-splash", type: virus, activityType: "Stotic", characterID: 5)
let garurumon = addDigimon(name: "Garurumon", dim: dim, stage: 4, imageName: "garurumon", imageNameSplash: "garurumon-splash", type: vaccine, activityType: "Active", characterID: 3)
let gorimon = addDigimon(name: "Gorimon", dim: dim, stage: 4, imageName: "gorimon", imageNameSplash: "gorimon-splash", type: data, activityType: "Normal", characterID: 4)
// MARK: - Stage 5
let bigmamemon = addDigimon(name: "BigMamemon", dim: dim, stage: 5, imageName: "bigmamemon", imageNameSplash: "bigmamemon-splash", type: data, activityType: "Normal", characterID: 10)
let orochimon = addDigimon(name: "Orochimon", dim: dim, stage: 5, imageName: "orochimon", imageNameSplash: "orochimon-splash", type: virus, activityType: "Stotic", characterID: 11)
let parrotmon = addDigimon(name: "Parrotmon", dim: dim, stage: 5, imageName: "parrotmon", imageNameSplash: "parrotmon-splash", type: vaccine, activityType: "Indoor", characterID: 8)
let valvemon = addDigimon(name: "Valvemon", dim: dim, stage: 5, imageName: "valvemon", imageNameSplash: "valvemon-splash", type: data, activityType: "Lazy", characterID: 9)
let waruseadramon = addDigimon(name: "WaruSeadramon", dim: dim, stage: 5, imageName: "waruseadramon", imageNameSplash: "waruseadramon-splash", type: virus, activityType: "Normal", characterID: 12)
let weregarurumon = addDigimon(name: "WereGarurumon", dim: dim, stage: 5, imageName: "weregarurumon", imageNameSplash: "weregarurumon-splash", type: vaccine, activityType: "Active", characterID: 7)
// MARK: - Stage 6
let cresgarurumon = addDigimon(name: "CresGarurumon", dim: dim, stage: 6, imageName: "cresgarurumon", imageNameSplash: "cresgarurumon-splash", type: data, activityType: "Indoor", characterID: 15)
let metal_garurumon = addDigimon(name: "Metal Garurumon", dim: dim, stage: 6, imageName: "metal_garurumon", imageNameSplash: "metal_garurumon-splash", type: data, activityType: "Active", characterID: 13)
let nidhoggmon = addDigimon(name: "Nidhoggmon", dim: dim, stage: 6, imageName: "nidhoggmon", imageNameSplash: "nidhoggmon-splash", type: virus, activityType: "Stotic", adventureMode: true, adventureStage: 15, characterID: 16)
let omnimon = addDigimon(name: "Omnimon", dim: dim, stage: 6, imageName: "omnimon", imageNameSplash: "omnimon-splash", type: vaccine, activityType: "Normal", characterID: 14)
// MARK: - Evolutions
// MARK: - Stage 1 to 2
addEvolution(from: punimon, to: tsunomon, minutes: evo1Hour)
// MARK: - Stage 2 to 3
addEvolution(from: tsunomon, to: gabumon, minutes: evo3Hours)
// MARK: - Stage 3 to 4
addEvolution(from: gabumon, to: argomon_champion, minutes: evo16Hours)
addEvolution(from: gabumon, to: dokugumon, trophies: 3, vitalValues: 500, minutes: evo16Hours)
addEvolution(from: gabumon, to: garurumon, trophies: 5, vitalValues: 1200, battles: 8, minutes: evo16Hours)
addEvolution(from: gabumon, to: gorimon, trophies: 5, vitalValues: 800, battles: 3, minutes: evo16Hours)
// MARK: - Stage 4 to 5
addEvolution(from: argomon_champion, to: bigmamemon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: dokugumon, to: bigmamemon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: gorimon, to: orochimon, trophies: 6, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: dokugumon, to: orochimon, trophies: 6, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: gorimon, to: parrotmon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: dokugumon, to: parrotmon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: gorimon, to: valvemon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: garurumon, to: valvemon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: garurumon, to: waruseadramon, trophies: 6, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: argomon_champion, to: waruseadramon, trophies: 6, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: argomon_champion, to: weregarurumon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: garurumon, to: weregarurumon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
// MARK: - Stage 5 to 6
addEvolution(from: weregarurumon, to: cresgarurumon, trophies: 15, vitalValues: 4500, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: valvemon, to: cresgarurumon, trophies: 15, vitalValues: 4500, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: bigmamemon, to: cresgarurumon, trophies: 15, vitalValues: 4500, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: orochimon, to: cresgarurumon, trophies: 15, vitalValues: 4500, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: waruseadramon, to: cresgarurumon, trophies: 15, vitalValues: 4500, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: weregarurumon, to: metal_garurumon, trophies: 20, vitalValues: 5000, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: parrotmon, to: metal_garurumon, trophies: 20, vitalValues: 5000, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: valvemon, to: metal_garurumon, trophies: 20, vitalValues: 5000, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: waruseadramon, to: metal_garurumon, trophies: 20, vitalValues: 5000, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: parrotmon, to: nidhoggmon, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: bigmamemon, to: nidhoggmon, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: orochimon, to: nidhoggmon, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
// MARK: - Stage 6 to 7
addEvolution(from: metal_garurumon, to: omnimon, isJogress: true, jogressAnotherDIM: true, jogressDIM: 12, jogressCharacterID: 13, minutes: evo3Hours)
// MARK: - Adventure Mode
addAdventureMode(stage : 1, steps: 500, digimon : gabumon, dim : dim)
addAdventureMode(stage : 2, steps: 1000, digimon : argomon_champion, dim : dim)
addAdventureMode(stage : 3, steps: 1000, digimon : dokugumon, dim : dim)
addAdventureMode(stage : 4, steps: 1000, digimon : gorimon, dim : dim)
addAdventureMode(stage : 5, steps: 1000, digimon : garurumon, dim : dim)
addAdventureMode(stage : 6, steps: 1500, digimon : waruseadramon, dim : dim)
addAdventureMode(stage : 7, steps: 1500, digimon : bigmamemon, dim : dim)
addAdventureMode(stage : 8, steps: 1500, digimon : parrotmon, dim : dim)
addAdventureMode(stage : 9, steps: 1500, digimon : orochimon, dim : dim)
addAdventureMode(stage : 10, steps: 1500, digimon : valvemon, dim : dim)
addAdventureMode(stage : 11, steps: 1500, digimon : weregarurumon, dim : dim)
addAdventureMode(stage : 12, steps: 2000, digimon : metal_garurumon, dim : dim)
addAdventureMode(stage : 13, steps: 2000, digimon : cresgarurumon, dim : dim)
addAdventureMode(stage : 14, steps: 2000, digimon : omnimon, dim : dim)
addAdventureMode(stage : 15, steps: 2500, digimon : nidhoggmon, unlock : true, dim : dim)
}
}