This commit is contained in:
13
Plugins/PkmnLib.Plugin.Gen7/Scripts/Moves/StealthRock.cs
Normal file
13
Plugins/PkmnLib.Plugin.Gen7/Scripts/Moves/StealthRock.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using PkmnLib.Plugin.Gen7.Scripts.Side;
|
||||
|
||||
namespace PkmnLib.Plugin.Gen7.Scripts.Moves;
|
||||
|
||||
[Script(ScriptCategory.Move, "stealth_rock")]
|
||||
public class StealthRock : Script
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public override void OnSecondaryEffect(IExecutingMove move, IPokemon target, byte hit)
|
||||
{
|
||||
target.BattleData?.BattleSide.VolatileScripts.Add(new StealthRockEffect());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user