Adds a lot more move effects
This commit is contained in:
11
Plugins/PkmnLib.Plugin.Gen7/Scripts/Pokemon/BlockEffect.cs
Normal file
11
Plugins/PkmnLib.Plugin.Gen7/Scripts/Pokemon/BlockEffect.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace PkmnLib.Plugin.Gen7.Scripts.Pokemon;
|
||||
|
||||
[Script(ScriptCategory.Pokemon, "block")]
|
||||
public class BlockEffect : Script
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public override void PreventSelfRunAway(IFleeChoice choice, ref bool prevent) => prevent = true;
|
||||
|
||||
/// <inheritdoc />
|
||||
public override void PreventSelfSwitch(ISwitchChoice choice, ref bool prevent) => prevent = true;
|
||||
}
|
||||
Reference in New Issue
Block a user