17 lines
564 B
C#
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;
|
|
}
|
|
} |