import UIKit
import CoreData
class ImportInfiniteTide: ImportProtocol {
var moc: NSManagedObjectContext
required init(viewContext: NSManagedObjectContext) {
moc = viewContext
}
func importDIM() {
// MARK: - DIM
let dim = addDIM(name: "Infinite Tide", franchise: "Digimon", imageName: "InfiniteTide-Header", dimType: "Vital Bracelet/Hero", id: "2", eggImage: "InfiniteTide-Egg", dimImage: "InfiniteTide-DIM")
// MARK: - Digimon
// MARK: - Stage 1
let pitimon = addDigimon(name: "Pitimon", dim: dim, stage: 1, imageName: "pitimon", imageNameSplash: "pitimon-splash", type: free, activityType: "Normal", characterID: 0)
// MARK: - Stage 2
let bukamon = addDigimon(name: "Bukamon", dim: dim, stage: 2, imageName: "bukamon", imageNameSplash: "bukamon-splash", type: free, activityType: "Normal", characterID: 1)
// MARK: - Stage 3
let sangomon = addDigimon(name: "Sangomon", dim: dim, stage: 3, imageName: "sangomon", imageNameSplash: "sangomon-splash", type: data, activityType: "Normal", characterID: 2)
// MARK: - Stage 4
let octomon = addDigimon(name: "Octomon", dim: dim, stage: 4, imageName: "octomon", imageNameSplash: "octomon-splash", type: virus, activityType: "Lazy", characterID: 6)
let seadramon = addDigimon(name: "Seadramon", dim: dim, stage: 4, imageName: "seadramon", imageNameSplash: "seadramon-splash", type: data, activityType: "Active", characterID: 4)
let shellmon = addDigimon(name: "Shellmon", dim: dim, stage: 4, imageName: "shellmon", imageNameSplash: "shellmon-splash", type: data, activityType: "Indoor", characterID: 5)
let tobiumon = addDigimon(name: "Tobiumon", dim: dim, stage: 4, imageName: "tobiumon", imageNameSplash: "tobiumon-splash", type: vaccine, activityType: "Stotic", characterID: 3)
// MARK: - Stage 5
let dragomon = addDigimon(name: "Dragomon", dim: dim, stage: 5, imageName: "dragomon", imageNameSplash: "dragomon-splash", type: virus, activityType: "Lazy", characterID: 12)
let gusokumon = addDigimon(name: "Gusokumon", dim: dim, stage: 5, imageName: "gusokumon", imageNameSplash: "gusokumon-splash", type: vaccine, activityType: "Indoor", characterID: 7)
let marinekimeramon = addDigimon(name: "MarineKimeramon", dim: dim, stage: 5, imageName: "marinekimeramon", imageNameSplash: "marinekimeramon-splash", type: vaccine, activityType: "Active", characterID: 8)
let megaseadramon = addDigimon(name: "MegaSeadramon", dim: dim, stage: 5, imageName: "megaseadramon", imageNameSplash: "megaseadramon-splash", type: data, activityType: "Active", characterID: 10)
let mermaimon = addDigimon(name: "Mermaimon", dim: dim, stage: 5, imageName: "mermaimon", imageNameSplash: "mermaimon-splash", type: data, activityType: "Normal", characterID: 9)
let piranimon = addDigimon(name: "Piranimon", dim: dim, stage: 5, imageName: "piranimon", imageNameSplash: "piranimon-splash", type: virus, activityType: "Stotic", characterID: 11)
// MARK: - Stage 6
let metalseadramon = addDigimon(name: "MetalSeadramon", dim: dim, stage: 6, imageName: "metalseadramon", imageNameSplash: "metalseadramon-splash", type: data, activityType: "Active", characterID: 14)
let neptunemon = addDigimon(name: "Neptunemon", dim: dim, stage: 6, imageName: "neptunemon", imageNameSplash: "neptunemon-splash", type: vaccine, activityType: "Stotic", characterID: 13)
let plesiomon = addDigimon(name: "Plesiomon", dim: dim, stage: 6, imageName: "plesiomon", imageNameSplash: "plesiomon-splash", type: data, activityType: "Active", adventureMode: true, adventureStage: 15, characterID: 16)
let regalecusmon = addDigimon(name: "Regalecusmon", dim: dim, stage: 6, imageName: "regalecusmon", imageNameSplash: "regalecusmon-splash", type: virus, activityType: "Normal", characterID: 15)
// MARK: - Evolutions
// MARK: - Stage 1 to 2
addEvolution(from: pitimon, to: bukamon, minutes: evo1Hour)
// MARK: - Stage 2 to 3
addEvolution(from: bukamon, to: sangomon, minutes: evo3Hours)
// MARK: - Stage 3 to 4
addEvolution(from: sangomon, to: octomon, trophies: 5, vitalValues: 600, battles: 3, minutes: evo16Hours)
addEvolution(from: sangomon, to: seadramon, trophies: 8, vitalValues: 900, battles: 5, minutes: evo16Hours)
addEvolution(from: sangomon, to: shellmon, minutes: evo16Hours)
addEvolution(from: sangomon, to: tobiumon, trophies: 10, vitalValues: 1300, battles: 8, minutes: evo16Hours)
// MARK: - Stage 4 to 5
addEvolution(from: octomon, to: dragomon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: shellmon, to: dragomon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: tobiumon, to: gusokumon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: shellmon, to: gusokumon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: octomon, to: marinekimeramon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: seadramon, to: marinekimeramon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: seadramon, to: megaseadramon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: octomon, to: megaseadramon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: shellmon, to: mermaimon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: tobiumon, to: mermaimon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: tobiumon, to: piranimon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: seadramon, to: piranimon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
// MARK: - Stage 5 to 6
addEvolution(from: dragomon, to: metalseadramon, trophies: 20, vitalValues: 5000, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: megaseadramon, to: metalseadramon, trophies: 20, vitalValues: 5000, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: mermaimon, to: metalseadramon, trophies: 20, vitalValues: 5000, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: mermaimon, to: neptunemon, trophies: 10, vitalValues: 4500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: gusokumon, to: neptunemon, trophies: 10, vitalValues: 4500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: piranimon, to: neptunemon, trophies: 10, vitalValues: 4500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: marinekimeramon, to: plesiomon, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: megaseadramon, to: plesiomon, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: dragomon, to: plesiomon, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: marinekimeramon, to: regalecusmon, trophies: 15, vitalValues: 4500, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: piranimon, to: regalecusmon, trophies: 15, vitalValues: 4500, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: gusokumon, to: regalecusmon, trophies: 15, vitalValues: 4500, battles: 15, winRatio: 70, minutes: evo24Hours)
// MARK: - Adventure Mode
addAdventureMode(stage : 1, steps: 500, digimon : sangomon, dim : dim)
addAdventureMode(stage : 2, steps: 1000, digimon : shellmon, dim : dim)
addAdventureMode(stage : 3, steps: 1000, digimon : octomon, dim : dim)
addAdventureMode(stage : 4, steps: 1000, digimon : seadramon, dim : dim)
addAdventureMode(stage : 5, steps: 1000, digimon : tobiumon, dim : dim)
addAdventureMode(stage : 6, steps: 1500, digimon : dragomon, dim : dim)
addAdventureMode(stage : 7, steps: 1500, digimon : marinekimeramon, dim : dim)
addAdventureMode(stage : 8, steps: 1500, digimon : megaseadramon, dim : dim)
addAdventureMode(stage : 9, steps: 1500, digimon : mermaimon, dim : dim)
addAdventureMode(stage : 10, steps: 1500, digimon : piranimon, dim : dim)
addAdventureMode(stage : 11, steps: 1500, digimon : gusokumon, dim : dim)
addAdventureMode(stage : 12, steps: 2000, digimon : neptunemon, dim : dim)
addAdventureMode(stage : 13, steps: 2000, digimon : regalecusmon, dim : dim)
addAdventureMode(stage : 14, steps: 2000, digimon : metalseadramon, dim : dim)
addAdventureMode(stage : 15, steps: 2500, digimon : plesiomon, unlock : true, dim : dim)
}
}