2025-03-08 15:48:33 +01:00

13 lines
368 B
C#

using PkmnLib.Plugin.Gen7.Scripts.Battle;
namespace PkmnLib.Plugin.Gen7.Scripts.Moves;
[Script(ScriptCategory.Move, "ion_deluge")]
public class IonDeluge : Script
{
/// <inheritdoc />
public override void OnSecondaryEffect(IExecutingMove move, IPokemon target, byte hit)
{
move.User.BattleData?.Battle.Volatile.Add(new IonDelugeEffect());
}
}