Added layout for CreatureParty
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user