Deukhoofd 7c270a6d52
All checks were successful
Build / Build (push) Successful in 1m1s
Finish script interface refactor
2025-07-06 10:27:56 +02:00

16 lines
571 B
C#

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;
}
}