13 lines
369 B
C#
13 lines
369 B
C#
using PkmnLib.Plugin.Gen7.Scripts.Side;
|
|
|
|
namespace PkmnLib.Plugin.Gen7.Scripts.Moves;
|
|
|
|
[Script(ScriptCategory.Move, "toxic_spikes")]
|
|
public class ToxicSpikes : Script
|
|
{
|
|
/// <inheritdoc />
|
|
public override void OnSecondaryEffect(IExecutingMove move, IPokemon target, byte hit)
|
|
{
|
|
target.BattleData?.Battle.Volatile.Add(new ToxicSpikesEffect());
|
|
}
|
|
} |