This commit is contained in:
34 files changed
+733
-50
No files matched your search
@@ -0,0 +1,9 @@
|
||||
namespace PkmnLib.Plugin.Gen7.Scripts.Abilities;
|
||||
|
||||
[Script(ScriptCategory.Ability, "prevent_critical")]
|
||||
public class PreventCritical : Script
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public override void BlockIncomingCriticalHit(IExecutingMove move, IPokemon target, byte hit, ref bool block) =>
|
||||
block = true;
|
||||
}
|
||||
Reference in new issue
Block a user