namespace PkmnLib.Plugin.Gen7.Scripts.Abilities;
///
/// Super Luck is an ability that increases the critical hit ratio of the Pokémon's moves.
///
/// Bulbapedia - Super Luck
///
[Script(ScriptCategory.Ability, "super_luck")]
public class SuperLuck : Script, IScriptChangeCriticalStage
{
///
public void ChangeCriticalStage(IExecutingMove move, IPokemon target, byte hit, ref byte stage)
{
if (stage == byte.MaxValue)
return;
stage++;
}
}