10 files changed
+207
-9
No files matched your search
@@ -0,0 +1,17 @@
|
||||
namespace PkmnLib.Plugin.Gen7.Scripts.Abilities;
|
||||
|
||||
/// <summary>
|
||||
/// Own Tempo is an ability that prevents the Pokémon from becoming confused.
|
||||
///
|
||||
/// <see href="https://bulbapedia.bulbagarden.net/wiki/Own_Tempo_(Ability)">Bulbapedia - Own Tempo</see>
|
||||
/// </summary>
|
||||
[Script(ScriptCategory.Ability, "own_tempo")]
|
||||
public class OwnTempo : Script
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public override void PreventVolatileAdd(Script script, ref bool preventVolatileAdd)
|
||||
{
|
||||
if (script is Pokemon.Confusion)
|
||||
preventVolatileAdd = true;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user