Move experience gain from species to forme.
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:
@@ -7,7 +7,7 @@ void PkmnLib::Battling::ExperienceLibrary::HandleExperienceGain(
|
||||
const std::unordered_set<CreatureLib::Battling::Creature*>& opponents) const {
|
||||
|
||||
auto fainted = dynamic_cast<Pokemon*>(faintedMon);
|
||||
auto expGain = fainted->GetPokemonSpecies()->GetExperienceGains();
|
||||
auto expGain = fainted->GetForme()->GetBaseExperience();
|
||||
auto level = fainted->GetLevel();
|
||||
// TODO exp share
|
||||
|
||||
|
||||
Reference in New Issue
Block a user