More moves

This commit is contained in:
2025-04-17 13:07:45 +02:00
parent 1b54c78b07
commit d02c05874b
31 changed files with 682 additions and 65 deletions

View File

@@ -173,7 +173,9 @@ internal static class MoveTurnExecutor
break;
if (executingMove.GetHitData(target, hitIndex).HasFailed)
break;
if (useMove.Category == MoveCategory.Status)
var category = useMove.Category;
executingMove.RunScriptHook(x => x.ChangeCategory(executingMove, target, hitIndex, ref category));
if (category == MoveCategory.Status)
{
var secondaryEffect = useMove.SecondaryEffect;
if (secondaryEffect != null)