using PkmnLib.Plugin.Gen7.Scripts.Pokemon;
namespace PkmnLib.Plugin.Gen7.Scripts.Abilities;
///
/// Truant is an ability that causes the Pokémon to only be able to move every other turn.
///
/// Bulbapedia - Truant
///
[Script(ScriptCategory.Ability, "truant")]
public class Truant : Script, IScriptOnAfterMove
{
///
public void OnAfterMove(IExecutingMove move)
{
move.User.Volatile.Add(new TruantEffect(move.User));
}
}