16 lines
570 B
C#
16 lines
570 B
C#
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, IScriptPreventIncomingSecondaryEffect
|
|
{
|
|
/// <inheritdoc />
|
|
public void PreventIncomingSecondaryEffect(IExecutingMove move, IPokemon target, byte hit, ref bool prevent)
|
|
{
|
|
prevent = true;
|
|
}
|
|
} |