Deukhoofd 4326794611
All checks were successful
Build / Build (push) Successful in 49s
More abilities
2025-06-09 18:16:29 +02:00

17 lines
564 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
{
/// <inheritdoc />
public override void ModifyIsContact(IExecutingMove executingMove, IPokemon target, byte hitIndex,
ref bool isContact)
{
isContact = false;
}
}