Surprisingly, more moves
This commit is contained in:
14
Plugins/PkmnLib.Plugin.Gen7/Scripts/Moves/Psyshock.cs
Normal file
14
Plugins/PkmnLib.Plugin.Gen7/Scripts/Moves/Psyshock.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using PkmnLib.Static;
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user