namespace PkmnLib.Plugin.Gen7.Scripts.Abilities;
///
/// Shell Armor is an ability that prevents the Pokémon from receiving critical hits.
///
/// Bulbapedia - Shell Armor
///
[Script(ScriptCategory.Ability, "shell_armor")]
public class ShellArmor : Script
{
///
public override void BlockIncomingCriticalHit(IExecutingMove move, IPokemon target, byte hit, ref bool block)
{
block = true;
}
}