19 lines
493 B
C#
19 lines
493 B
C#
namespace PkmnLib.Plugin.Gen7.Scripts.Moves;
|
|
|
|
[Script(ScriptCategory.Move, "low_kick")]
|
|
public class LowKick : Script, IScriptChangeBasePower
|
|
{
|
|
/// <inheritdoc />
|
|
public void ChangeBasePower(IExecutingMove move, IPokemon target, byte hit, ref ushort basePower)
|
|
{
|
|
basePower = target.WeightInKg switch
|
|
{
|
|
< 10 => 20,
|
|
< 25 => 40,
|
|
< 50 => 60,
|
|
< 100 => 80,
|
|
< 200 => 100,
|
|
_ => 120,
|
|
};
|
|
}
|
|
} |