19 lines
637 B
C#
19 lines
637 B
C#
namespace PkmnLib.Plugin.Gen7.Scripts.Pokemon;
|
|
|
|
[Script(ScriptCategory.Pokemon, "power_trick")]
|
|
public class PowerTrickEffect : Script
|
|
{
|
|
/// <inheritdoc />
|
|
public override void ChangeOffensiveStatValue(IExecutingMove move, IPokemon target, byte hit, uint defensiveStat,
|
|
ImmutableStatisticSet<uint> targetStats, ref uint value)
|
|
{
|
|
value = defensiveStat;
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
public override void ChangeDefensiveStatValue(IExecutingMove move, IPokemon target, byte hit, uint offensiveStat,
|
|
ImmutableStatisticSet<uint> targetStats, ref uint value)
|
|
{
|
|
value = offensiveStat;
|
|
}
|
|
} |