Implements several more moves

This commit is contained in:
Deukhoofd committed 2025-01-10 13:45:29 +01:00
1 parent 0ad692a921
commit ecdc9c7654
12 files changed
+206 -16

No files matched your search

+2
View File
@@ -242,6 +242,8 @@ public class BattleImpl : ScriptSource, IBattle
if (!TargetResolver.IsValidTarget(moveChoice.TargetSide, moveChoice.TargetPosition,
moveChoice.ChosenMove.MoveData.Target, moveChoice.User))
return false;
var preventMove = false;
choice.RunScriptHook(script => script.PreventMoveSelection(moveChoice, ref preventMove));
}
return true;