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