This commit is contained in:
@@ -76,9 +76,16 @@ public static class MoveTurnExecutor
|
||||
if (failed)
|
||||
{
|
||||
// TODO: fail handling
|
||||
executingMove.MoveChoice.Fail();
|
||||
return;
|
||||
}
|
||||
ExecuteMove(executingMove);
|
||||
|
||||
if (executingMove.Hits.All(x => x.HasFailed) || (executingMove.UseMove.Category != MoveCategory.Status &&
|
||||
executingMove.Hits.All(x => x.Damage == 0)))
|
||||
{
|
||||
executingMove.MoveChoice.Fail();
|
||||
}
|
||||
}
|
||||
|
||||
public static void ExecuteMove(IExecutingMove executingMove)
|
||||
|
||||
Reference in New Issue
Block a user