Support for learnable moves
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -11,7 +11,8 @@ static SpeciesLibrary* BuildSpeciesLibrary(){
|
||||
l->LoadSpecies("testSpecies1", new CreatureSpecies(0, "testSpecies1",
|
||||
new SpeciesVariant("default", 1,1, 10, {"fire", "water"},
|
||||
StatisticSet<uint16_t >(10,10,10,10,10,10),
|
||||
{"testTalent"}, {"testSecretTalent"}),
|
||||
{"testTalent"}, {"testSecretTalent"},
|
||||
new LearnableAttacks(100)),
|
||||
0.5f, "testGrowthRate", 5, 100));
|
||||
return l;
|
||||
}
|
||||
@@ -33,7 +34,8 @@ static GrowthRateLibrary* BuildGrowthRateLibrary(){
|
||||
|
||||
|
||||
static DataLibrary* BuildLibrary(){
|
||||
auto l = new DataLibrary(BuildSpeciesLibrary(), BuildAttackLibrary(), BuildItemLibrary(), BuildGrowthRateLibrary());
|
||||
auto l = new DataLibrary(LibrarySettings(100, 4), BuildSpeciesLibrary(), BuildAttackLibrary(),
|
||||
BuildItemLibrary(), BuildGrowthRateLibrary());
|
||||
return l;
|
||||
}
|
||||
|
||||
@@ -44,9 +46,4 @@ static DataLibrary* GetLibrary(){
|
||||
}
|
||||
return __library;
|
||||
}
|
||||
|
||||
#ifndef LIBRARY_BUILD_TESTS
|
||||
#define LIBRARY_BUILD_TESTS
|
||||
|
||||
#endif
|
||||
#endif
|
||||
Reference in New Issue
Block a user