Even more abilities
Build / Build (push) Successful in 51s

This commit is contained in:
Deukhoofd committed 2025-06-14 13:24:38 +02:00
1 parent 4b07f36176
commit 5961bb746e
31 files changed
+787 -157

No files matched your search

@@ -0,0 +1,17 @@
namespace PkmnLib.Plugin.Gen7.Scripts.Abilities;
/// <summary>
/// Shield Dust is an ability that blocks the additional effects of attacks taken.
///
/// <see href="https://bulbapedia.bulbagarden.net/wiki/Shield_Dust_(Ability)">Bulbapedia - Shield Dust</see>
/// </summary>
[Script(ScriptCategory.Ability, "shield_dust")]
public class ShieldDust : Script
{
/// <inheritdoc />
public override void PreventIncomingSecondaryEffect(IExecutingMove move, IPokemon target, byte hit,
ref bool prevent)
{
prevent = true;
}
}