Deukhoofd 9ff4745c0a
All checks were successful
Build / Build (push) Successful in 49s
Finishes the last few moves
2025-05-18 12:20:21 +02:00

13 lines
354 B
C#

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