Handle executing moves.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2019-11-03 13:47:50 +01:00
parent fc675efdf5
commit b4e08049ce
7 changed files with 183 additions and 2 deletions

View File

@@ -4,6 +4,7 @@
#include "../../GenericTemplates.cpp"
#include "../Library/BattleLibrary.hpp"
#include "LearnedAttack.hpp"
#include "DamageSource.hpp"
namespace CreatureLib::Battling{
// Forward declare battle class
@@ -45,11 +46,10 @@ namespace CreatureLib::Battling{
const std::string& GetNickname() const;
const std::string& GetTalent() const;
void ChangeLevel(int8_t amount);
void Damage(uint32_t damage, DamageSource source);
void SetBattleData(Battle* battle, BattleSide* side);
Battle* GetBattle() const;
BattleSide* GetBattleSide() const;
@@ -71,6 +71,8 @@ namespace CreatureLib::Battling{
void RecalculateFlatStat(Core::Statistic);
void RecalculateBoostedStat(Core::Statistic);
//endregion
};
}