More abilities
Build / Build (push) Successful in 48s

This commit is contained in:
Deukhoofd committed 2025-06-13 15:39:08 +02:00
1 parent 4385f0afaa
commit 24712fbb0d
16 files changed
+238 -16

No files matched your search

@@ -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;