Adds a lot more move effects

This commit is contained in:
Deukhoofd committed 2025-01-26 11:55:13 +01:00
1 parent 802481c1f5
commit 549b92048a
75 files changed
+563 -230

No files matched your search

@@ -0,0 +1,17 @@
using System;
using PkmnLib.Static.Utils;
namespace PkmnLib.Plugin.Gen7.Scripts.Moves;
[Script(ScriptCategory.Move, "brine")]
public class Brine : Script
{
/// <inheritdoc />
public override void ChangeBasePower(IExecutingMove move, IPokemon target, byte hit, ref byte basePower)
{
if (target.CurrentHealth <= target.BoostedStats.Hp / 2)
{
basePower = basePower.MultiplyOrMax(2);
}
}
}