namespace PkmnLib.Plugin.Gen7.Scripts.Abilities;
///
/// Serene Grace is an ability that doubles the chance of additional effects occurring when attacking.
///
/// Bulbapedia - Serene Grace
///
[Script(ScriptCategory.Ability, "serene_grace")]
public class SereneGrace : Script, IScriptChangeEffectChance
{
///
public void ChangeEffectChance(IExecutingMove move, IPokemon target, byte hit, ref float chance)
{
chance *= 2;
}
}