namespace PkmnLib.Plugin.Gen7.Scripts.Abilities;
///
/// Water Veil is an ability that prevents the Pokémon from being burned.
///
/// Bulbapedia - Water Veil
///
[Script(ScriptCategory.Ability, "water_veil")]
public class WaterVeil : Script
{
///
public override void PreventStatusChange(IPokemon pokemon, StringKey status, bool selfInflicted,
ref bool preventStatus)
{
if (status == ScriptUtils.ResolveName())
preventStatus = true;
}
}