More abilities
All checks were successful
Build / Build (push) Successful in 48s

This commit is contained in:
2025-06-13 15:39:08 +02:00
parent 4385f0afaa
commit 24712fbb0d
16 changed files with 238 additions and 16 deletions

View File

@@ -76,7 +76,8 @@ public static class MoveTurnExecutor
return;
byte ppUsed = 1;
// TODO: Modify the PP used by the move.
executingMove.RunScriptHook(x => x.ModifyPPUsed(executingMove, ref ppUsed));
targets.WhereNotNull().RunScriptHook(x => x.ModifyPPUsedForIncomingMove(executingMove, ref ppUsed));
if (!executingMove.ChosenMove.TryUse(ppUsed))
return;