import UIKit
import CoreData
class ImportRampageoftheBeast: ImportProtocol {
var moc: NSManagedObjectContext
required init(viewContext: NSManagedObjectContext) {
moc = viewContext
}
func importDIM() {
// MARK: - DIM
let dim = addDIM(name: "Rampage of the Beast", franchise: "Digimon", imageName: "RampageoftheBeast-Header", dimType: "Vital Bracelet BE", id: "130", eggImage: "RampageoftheBeast-Egg", dimImage: "RampageoftheBeast-DIM", adventureIcon: "RampageoftheBeast-Adventure")
// MARK: - Digimon
// MARK: - Stage 1
let botamon = addDigimon(name: "Botamon", dim: dim, stage: 1, imageName: "botamon", imageNameSplash: "botamon-splash", type: free, activityType: "Normal", characterID: 0)
// MARK: - Stage 2
let wanyamon = addDigimon(name: "Wanyamon", dim: dim, stage: 2, imageName: "wanyamon", imageNameSplash: "wanyamon-splash", type: free, activityType: "Normal", characterID: 1)
// MARK: - Stage 3
let coronamon = addDigimon(name: "Coronamon", dim: dim, stage: 3, imageName: "coronamon", imageNameSplash: "coronamon-splash", type: vaccine, activityType: "Normal", characterID: 3)
let gaomon = addDigimon(name: "Gaomon", dim: dim, stage: 3, imageName: "gaomon", imageNameSplash: "gaomon-splash", type: data, activityType: "Active", characterID: 2)
let lunamon = addDigimon(name: "Lunamon", dim: dim, stage: 3, imageName: "lunamon", imageNameSplash: "lunamon-splash", type: data, activityType: "Indoor", characterID: 4)
let phascomon = addDigimon(name: "Phascomon", dim: dim, stage: 3, imageName: "phascomon", imageNameSplash: "phascomon-splash", type: virus, activityType: "Lazy", adventureMode: true, adventureStage: 3, characterID: 19)
// MARK: - Stage 4
let firamon = addDigimon(name: "Firamon", dim: dim, stage: 4, imageName: "firamon", imageNameSplash: "firamon-splash", type: vaccine, activityType: "Normal", characterID: 6)
let gaogamon = addDigimon(name: "Gaogamon", dim: dim, stage: 4, imageName: "gaogamon", imageNameSplash: "gaogamon-splash", type: data, activityType: "Active", characterID: 5)
let lekismon = addDigimon(name: "Lekismon", dim: dim, stage: 4, imageName: "lekismon", imageNameSplash: "lekismon-splash", type: data, activityType: "Indoor", characterID: 7)
let leomon = addDigimon(name: "Leomon", dim: dim, stage: 4, imageName: "leomon", imageNameSplash: "leomon-splash", type: vaccine, activityType: "Stotic", characterID: 8)
let madleomon = addDigimon(name: "MadLeomon", dim: dim, stage: 4, imageName: "madleomon", imageNameSplash: "madleomon-splash", type: virus, activityType: "Indoor", adventureMode: true, adventureStage: 6, characterID: 20)
// MARK: - Stage 5
let astamon = addDigimon(name: "Astamon", dim: dim, stage: 5, imageName: "astamon", imageNameSplash: "astamon-splash", type: virus, activityType: "Active", adventureMode: true, adventureStage: 9, characterID: 21)
let crescemon = addDigimon(name: "Crescemon", dim: dim, stage: 5, imageName: "crescemon", imageNameSplash: "crescemon-splash", type: data, activityType: "Active", characterID: 11)
let flaremon = addDigimon(name: "Flaremon", dim: dim, stage: 5, imageName: "flaremon", imageNameSplash: "flaremon-splash", type: vaccine, activityType: "Active", characterID: 10)
let grapleomon = addDigimon(name: "GrapLeomon", dim: dim, stage: 5, imageName: "grapleomon", imageNameSplash: "grapleomon-splash", type: vaccine, activityType: "Active", characterID: 12)
let machgaogamon = addDigimon(name: "MachGaogamon", dim: dim, stage: 5, imageName: "machgaogamon", imageNameSplash: "machgaogamon-splash", type: data, activityType: "Active", characterID: 9)
// MARK: - Stage 6
let apollomon = addDigimon(name: "Apollomon", dim: dim, stage: 6, imageName: "apollomon", imageNameSplash: "apollomon-splash", type: vaccine, activityType: "Normal", characterID: 14)
let belphemonrage_mode = addDigimon(name: "Belphemon: Rage Mode", dim: dim, stage: 6, imageName: "belphemonrage_mode", imageNameSplash: "belphemonrage_mode-splash", type: virus, activityType: "Lazy", adventureMode: true, adventureStage: 12, characterID: 22)
let dianamon = addDigimon(name: "Dianamon", dim: dim, stage: 6, imageName: "dianamon", imageNameSplash: "dianamon-splash", type: data, activityType: "Indoor", characterID: 15)
let heavyleomon = addDigimon(name: "HeavyLeomon", dim: dim, stage: 6, imageName: "heavyleomon", imageNameSplash: "heavyleomon-splash", type: vaccine, activityType: "Active", characterID: 16)
let mirage_gaogamonburst_mode = addDigimon(name: "Mirage Gaogamon: Burst Mode", dim: dim, stage: 6, imageName: "mirage_gaogamonburst_mode", imageNameSplash: "mirage_gaogamonburst_mode-splash", type: data, activityType: "Stotic", adventureMode: true, adventureStage: 11, characterID: 18)
let miragegaogamon = addDigimon(name: "MirageGaogamon", dim: dim, stage: 6, imageName: "miragegaogamon", imageNameSplash: "miragegaogamon-splash", type: data, activityType: "Stotic", characterID: 13)
// MARK: - Stage 7
let gracenovamon = addDigimon(name: "GraceNovamon", dim: dim, stage: 7, imageName: "gracenovamon", imageNameSplash: "gracenovamon-splash", type: vaccine, activityType: "Normal", characterID: 17)
// MARK: - Evolutions
// MARK: - Stage 1 to 2
addEvolution(from: botamon, to: wanyamon, minutes: evo1Hour)
// MARK: - Stage 2 to 3
addEvolution(from: wanyamon, to: coronamon, trophies: 5, vitalValues: 500, minutes: evo3Hours)
addEvolution(from: wanyamon, to: gaomon, trophies: 3, vitalValues: 500, minutes: evo3Hours)
addEvolution(from: wanyamon, to: lunamon, minutes: evo3Hours)
addEvolution(from: wanyamon, to: phascomon, trophies: 5, vitalValues: 1000, minutes: evo3Hours)
// MARK: - Stage 3 to 4
addEvolution(from: gaomon, to: firamon, trophies: 10, vitalValues: 1000, battles: 8, minutes: evo12Hours)
addEvolution(from: coronamon, to: firamon, trophies: 10, vitalValues: 1000, battles: 8, minutes: evo12Hours)
addEvolution(from: gaomon, to: gaogamon, trophies: 8, vitalValues: 1000, battles: 5, minutes: evo12Hours)
addEvolution(from: coronamon, to: gaogamon, trophies: 8, vitalValues: 1000, battles: 5, minutes: evo12Hours)
addEvolution(from: lunamon, to: gaogamon, trophies: 8, vitalValues: 1000, battles: 5, minutes: evo12Hours)
addEvolution(from: lunamon, to: lekismon, trophies: 5, vitalValues: 1000, battles: 3, minutes: evo12Hours)
addEvolution(from: gaomon, to: lekismon, trophies: 5, vitalValues: 1000, battles: 3, minutes: evo12Hours)
addEvolution(from: coronamon, to: leomon, minutes: evo12Hours)
addEvolution(from: phascomon, to: leomon, minutes: evo12Hours)
addEvolution(from: lunamon, to: madleomon, trophies: 12, vitalValues: 1500, battles: 10, minutes: evo12Hours)
addEvolution(from: phascomon, to: madleomon, trophies: 12, vitalValues: 1500, battles: 10, minutes: evo12Hours)
// MARK: - Stage 4 to 5
addEvolution(from: madleomon, to: astamon, trophies: 12, vitalValues: 3000, battles: 12, winRatio: 60, minutes: evo24Hours)
addEvolution(from: leomon, to: astamon, trophies: 12, vitalValues: 3000, battles: 12, winRatio: 60, minutes: evo24Hours)
addEvolution(from: gaogamon, to: crescemon, trophies: 10, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: lekismon, to: crescemon, trophies: 10, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: firamon, to: flaremon, trophies: 12, vitalValues: 2500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: leomon, to: flaremon, trophies: 12, vitalValues: 3000, battles: 12, winRatio: 60, minutes: evo24Hours)
addEvolution(from: madleomon, to: grapleomon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 40, minutes: evo24Hours)
addEvolution(from: gaogamon, to: grapleomon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 40, minutes: evo24Hours)
addEvolution(from: leomon, to: grapleomon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 40, minutes: evo24Hours)
addEvolution(from: lekismon, to: machgaogamon, trophies: 12, vitalValues: 2500, battles: 12, winRatio: 50, minutes: evo24Hours)
addEvolution(from: gaogamon, to: machgaogamon, trophies: 12, vitalValues: 2500, battles: 12, winRatio: 50, minutes: evo24Hours)
addEvolution(from: firamon, to: machgaogamon, trophies: 12, vitalValues: 2500, battles: 12, winRatio: 50, minutes: evo24Hours)
// MARK: - Stage 5 to 6
addEvolution(from: grapleomon, to: apollomon, trophies: 30, vitalValues: 3000, battles: 20, winRatio: 60, minutes: evo24Hours)
addEvolution(from: flaremon, to: apollomon, trophies: 30, vitalValues: 3000, battles: 20, winRatio: 60, minutes: evo24Hours)
addEvolution(from: crescemon, to: belphemonrage_mode, trophies: 35, vitalValues: 3500, battles: 20, winRatio: 60, minutes: evo24Hours)
addEvolution(from: astamon, to: belphemonrage_mode, trophies: 35, vitalValues: 3500, battles: 20, winRatio: 60, minutes: evo24Hours)
addEvolution(from: machgaogamon, to: dianamon, trophies: 20, vitalValues: 2500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: crescemon, to: dianamon, trophies: 20, vitalValues: 2500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: flaremon, to: heavyleomon, trophies: 20, vitalValues: 2500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: grapleomon, to: heavyleomon, trophies: 20, vitalValues: 2500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: astamon, to: heavyleomon, trophies: 20, vitalValues: 2500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: machgaogamon, to: mirage_gaogamonburst_mode, trophies: 35, vitalValues: 3500, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: flaremon, to: miragegaogamon, trophies: 30, vitalValues: 3000, battles: 15, winRatio: 60, minutes: evo24Hours)
addEvolution(from: crescemon, to: miragegaogamon, trophies: 30, vitalValues: 3000, battles: 15, winRatio: 60, minutes: evo24Hours)
addEvolution(from: machgaogamon, to: miragegaogamon, trophies: 30, vitalValues: 3000, battles: 15, winRatio: 60, minutes: evo24Hours)
// MARK: - Stage 6 to 7
addEvolution(from: apollomon, to: gracenovamon, isJogress: true, jogressCharacterID: 15, minutes: evo3Hours)
addEvolution(from: dianamon, to: gracenovamon, isJogress: true, jogressCharacterID: 14, minutes: evo3Hours)
// MARK: - Adventure Mode
addAdventureMode(stage : 1, steps: 500, digimon : coronamon, dim : dim)
addAdventureMode(stage : 2, steps: 500, digimon : lekismon, dim : dim)
addAdventureMode(stage : 3, steps: 500, digimon : phascomon, unlock : true, dim : dim)
addAdventureMode(stage : 4, steps: 1000, digimon : firamon, dim : dim)
addAdventureMode(stage : 5, steps: 1000, digimon : lekismon, dim : dim)
addAdventureMode(stage : 6, steps: 1000, digimon : madleomon, unlock : true, dim : dim)
addAdventureMode(stage : 7, steps: 1500, digimon : flaremon, dim : dim)
addAdventureMode(stage : 8, steps: 1500, digimon : crescemon, dim : dim)
addAdventureMode(stage : 9, steps: 2000, digimon : astamon, unlock : true, dim : dim)
addAdventureMode(stage : 10, steps: 2000, digimon : apollomon, dim : dim)
addAdventureMode(stage : 11, steps: 2000, digimon : dianamon, dim : dim)
addAdventureMode(stage : 12, steps: 2000, digimon : belphemonrage_mode, unlock : true, dim : dim)
}
}