Added layout for CreatureParty

This commit is contained in:
2019-11-28 12:16:03 +01:00
parent aa356d74d7
commit 3b685ae782
3 changed files with 39 additions and 1 deletions

View File

@@ -66,7 +66,6 @@ void TurnHandler::ExecuteAttackChoice(AttackTurnChoice *choice) {
auto target = choice->GetUser()->GetBattle()->GetTarget(choice->GetTarget());
std::vector<Creature*> targets = {target};
//TODO: Set ExecutingAttack data
auto attack = new ExecutingAttack(targets, 1, choice->GetUser(), choice->GetAttack(), choice->GetAttackScript());
bool prevented = false;
HOOK(PreventAttack, attack, attack, prevented);