namespace PkmnLib.Plugin.Gen7.Scripts.Abilities;

/// <summary>
/// Long Reach is an ability that allows the Pokémon to use contact moves without making contact.
///
/// <see href="https://bulbapedia.bulbagarden.net/wiki/Long_Reach_(Ability)">Bulbapedia - Long Reach</see>
/// </summary>
[Script(ScriptCategory.Ability, "long_reach")]
public class LongReach : Script, IScriptModifyIsContact
{
    /// <inheritdoc />
    public void ModifyIsContact(IExecutingMove executingMove, IPokemon target, byte hitIndex, ref bool isContact)
    {
        isContact = false;
    }
}