Implemented and fixed all code required to run at least a single turn.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2019-12-05 12:56:41 +01:00
parent 5d6ac316eb
commit 6f32d1245b
17 changed files with 171 additions and 58 deletions

View File

@@ -9,7 +9,7 @@ namespace CreatureLib::Battling {
class AttackTurnChoice : public BaseTurnChoice {
LearnedAttack* _attack;
CreatureIndex _target;
Script* _attackScript;
Script* _attackScript = nullptr;
public:
AttackTurnChoice(Creature* user, LearnedAttack* attack, const CreatureIndex& target)