16 lines
490 B
C#
16 lines
490 B
C#
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, IScriptIsFloating
|
|
{
|
|
/// <inheritdoc />
|
|
public void IsFloating(IPokemon pokemon, ref bool isFloating)
|
|
{
|
|
isFloating = true;
|
|
}
|
|
} |