13 lines
379 B
C#
13 lines
379 B
C#
using PkmnLib.Plugin.Gen7.Scripts.Battle;
|
|
|
|
namespace PkmnLib.Plugin.Gen7.Scripts.Moves;
|
|
|
|
[Script(ScriptCategory.Move, "ion_deluge")]
|
|
public class IonDeluge : Script, IScriptOnSecondaryEffect
|
|
{
|
|
/// <inheritdoc />
|
|
public void OnSecondaryEffect(IExecutingMove move, IBattlePokemon target, byte hit)
|
|
{
|
|
move.User.Battle.Volatile.Add(new IonDelugeEffect());
|
|
}
|
|
} |