Reworks nature library to be simpler.
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:
@@ -13,7 +13,7 @@ namespace PkmnLib::Battling {
|
||||
std::string _nickname = "";
|
||||
|
||||
Arbutils::CaseInsensitiveConstString _ability = ""_cnc;
|
||||
uint8_t _nature = 255;
|
||||
Arbutils::CaseInsensitiveConstString _nature;
|
||||
CreatureLib::Library::Gender _gender = static_cast<CreatureLib::Library::Gender>(-1);
|
||||
Arbutils::CaseInsensitiveConstString _heldItem = ""_cnc;
|
||||
uint32_t _identifier = 0;
|
||||
@@ -54,7 +54,7 @@ namespace PkmnLib::Battling {
|
||||
CreatePokemon* WithEffortValues(uint8_t hp, uint8_t att, uint8_t def, uint8_t spAtt, uint8_t spDef,
|
||||
uint8_t speed);
|
||||
|
||||
CreatePokemon* WithNature(const std::string& nature);
|
||||
CreatePokemon* WithNature(const Arbutils::CaseInsensitiveConstString& nature);
|
||||
|
||||
Pokemon* Build();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user