This commit is contained in:
17
Plugins/PkmnLib.Plugin.Gen7/Scripts/Abilities/LongReach.cs
Normal file
17
Plugins/PkmnLib.Plugin.Gen7/Scripts/Abilities/LongReach.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user