This commit is contained in:
16
Plugins/PkmnLib.Plugin.Gen7/Scripts/Abilities/Levitate.cs
Normal file
16
Plugins/PkmnLib.Plugin.Gen7/Scripts/Abilities/Levitate.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
namespace PkmnLib.Plugin.Gen7.Scripts.Abilities;
|
||||
|
||||
/// <summary>
|
||||
/// Levitate is an ability that gives full immunity to all Ground-type moves.
|
||||
///
|
||||
/// <see href="https://bulbapedia.bulbagarden.net/wiki/Levitate_(Ability)">Bulbapedia - Levitate</see>
|
||||
/// </summary>
|
||||
[Script(ScriptCategory.Ability, "levitate")]
|
||||
public class Levitate : Script
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public override void IsFloating(IPokemon pokemon, ref bool isFloating)
|
||||
{
|
||||
isFloating = true;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user