More moves
This commit is contained in:
@@ -13,7 +13,7 @@ public static class LibraryHelpers
|
||||
var types = TypeDataLoader.LoadTypeLibrary(typesFile);
|
||||
using var naturesFile = File.Open("Data/Natures.csv", FileMode.Open, FileAccess.Read, FileShare.Read);
|
||||
var natures = NatureDataLoader.LoadNatureLibrary(naturesFile);
|
||||
using var movesFile = File.Open("Data/Moves.json", FileMode.Open, FileAccess.Read, FileShare.Read);
|
||||
using var movesFile = File.Open("Data/Moves.jsonc", FileMode.Open, FileAccess.Read, FileShare.Read);
|
||||
var moves = MoveDataLoader.LoadMoves(movesFile, types);
|
||||
using var itemsFile = File.Open("Data/Items.json", FileMode.Open, FileAccess.Read, FileShare.Read);
|
||||
var items = ItemDataLoader.LoadItems(itemsFile);
|
||||
@@ -24,14 +24,14 @@ public static class LibraryHelpers
|
||||
using var speciesFile = File.Open("Data/Pokemon.json", FileMode.Open, FileAccess.Read, FileShare.Read);
|
||||
var species = SpeciesDataLoader.LoadSpecies(speciesFile, types);
|
||||
|
||||
var staticLibrary = new StaticLibraryImpl(new LibrarySettings()
|
||||
var staticLibrary = new StaticLibraryImpl(new LibrarySettings
|
||||
{
|
||||
MaxLevel = 100,
|
||||
ShinyRate = 4096,
|
||||
}, species, moves, abilities, types, natures, growthRates, items);
|
||||
|
||||
var dynamicLibrary = DynamicLibraryImpl.Create(staticLibrary, [
|
||||
new Gen7Plugin(new Gen7PluginConfiguration()
|
||||
new Gen7Plugin(new Gen7PluginConfiguration
|
||||
{
|
||||
DamageCalculatorHasRandomness = false,
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user