More move scripts

This commit is contained in:
2025-04-04 10:33:06 +02:00
parent 85b513092a
commit 35b9832bda
8 changed files with 172 additions and 9 deletions

View File

@@ -0,0 +1,19 @@
namespace PkmnLib.Plugin.Gen7.Scripts.Moves;
[Script(ScriptCategory.Move, "low_kick")]
public class LowKick : Script
{
/// <inheritdoc />
public override void ChangeBasePower(IExecutingMove move, IPokemon target, byte hit, ref byte basePower)
{
basePower = target.WeightInKg switch
{
< 10 => 20,
< 25 => 40,
< 50 => 60,
< 100 => 80,
< 200 => 100,
_ => 120,
};
}
}