12 lines
377 B
C#
12 lines
377 B
C#
namespace PkmnLib.Plugin.Gen7.Scripts.Moves;
|
|
|
|
[Script(ScriptCategory.Move, "psyshock")]
|
|
public class Psyshock : Script
|
|
{
|
|
/// <inheritdoc />
|
|
public override void ChangeDefensiveStatValue(IExecutingMove move, IPokemon target, byte hit, uint offensiveStat,
|
|
ImmutableStatisticSet<uint> targetStats, ref uint value)
|
|
{
|
|
value = targetStats.Defense;
|
|
}
|
|
} |