Surprisingly, more moves

This commit is contained in:
Deukhoofd committed 2025-04-17 17:51:42 +02:00
1 parent d02c05874b
commit c22ad1a793
17 files changed
+298 -43

No files matched your search

@@ -1,3 +1,4 @@
using PkmnLib.Static;
using PkmnLib.Static.Moves;
namespace PkmnLib.Plugin.Gen7.Scripts.Moves;
@@ -7,7 +8,7 @@ public class FoulPlay : Script
{
/// <inheritdoc />
public override void ChangeOffensiveStatValue(IExecutingMove move, IPokemon target, byte hit, uint _,
ref uint value)
ImmutableStatisticSet<uint> targetStats, ref uint value)
{
value = move.UseMove.Category == MoveCategory.Physical
? target.BoostedStats.Attack