This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#include "CreatePokemon.hpp"
|
||||
#include "../../Library/Statistic.hpp"
|
||||
|
||||
PkmnLib::Battling::CreatePokemon* PkmnLib::Battling::CreatePokemon::WithRandomIndividualValues(CreatureLib::Core::Random rand) {
|
||||
_ivHp = rand.Get(0, 32);
|
||||
_ivAttack = rand.Get(0, 32);
|
||||
|
||||
@@ -30,10 +30,10 @@ namespace PkmnLib::Battling {
|
||||
_individualValues(individualValues), _effortValues(effortValues), _nature(nature) {}
|
||||
|
||||
const Library::Nature& GetNature() const;
|
||||
const uint8_t GetIndividualValue(CreatureLib::Core::Statistic stat) const {
|
||||
uint8_t GetIndividualValue(CreatureLib::Core::Statistic stat) const {
|
||||
return _individualValues.GetStat(stat);
|
||||
}
|
||||
const uint8_t GetEffortValue(CreatureLib::Core::Statistic stat) const { return _effortValues.GetStat(stat); }
|
||||
uint8_t GetEffortValue(CreatureLib::Core::Statistic stat) const { return _effortValues.GetStat(stat); }
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user