More move scripts

This commit is contained in:
Deukhoofd committed 2025-05-03 17:52:50 +02:00
1 parent f8c43b6ba0
commit 1973ff50fa
52 files changed
+704 -78

No files matched your search

@@ -0,0 +1,14 @@
namespace PkmnLib.Plugin.Gen7.Scripts.Moves;
[Script(ScriptCategory.Move, "self_destruct")]
public class SelfDestruct : Script
{
/// <inheritdoc />
public override void OnAfterMove(IExecutingMove move)
{
if (move.User.IsFainted)
return;
move.User.Faint(DamageSource.Misc);
}
}