-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dazzling.cs
41 lines (38 loc) · 2.21 KB
/
Dazzling.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Onyx.Data.Abilities
{
/// <summary>
/// Surprises the opposing Pokémon, making it unable to attack using priority moves.
/// </summary>
/// <remarks>
/// If an opponent uses a priority move (including moves boosted by Prankster, Gale Wings, or Triage) that targets the Pokémon with Dazzling or its allies,
/// Dazzling prevents the Pokémon from executing that move (PP is still consumed). When this occurs, the text "[Pokémon] cannot use [Move]!" is displayed.
/// nupara
/// Moves that target all Pokémon (except Perish Song, Flower Shield, and Rototiller) and moves that target all foes cannot be blocked by Dazzling even if
/// they become priority moves. Dazzling has no effect on allies' priority moves.
/// nupara
/// Mold Breaker will ignore this ability.
/// nupara
/// Dazzling has no effect outside of battle.
/// </remarks>
[Complete, NeedsImplementation]
public sealed class Dazzling : Ability
{
public override string Name => "Dazzling";
public override string Description => "Surprises the opposing Pokémon, making it unable to attack using priority moves.";
public override string TechnicalInformation => this
.Sentence("If an opponent uses a priority move (including moves boosted by Prankster, Gale Wings, or Triage) that targets the Pokémon with Dazzling or its allies,")
.Sentence("Dazzling prevents the Pokémon from executing that move (PP is still consumed). When this occurs, the text \"[Pokémon] cannot use [Move]!\" is displayed.")
.NewParagraph()
.Sentence("Moves that target all Pokémon (except Perish Song, Flower Shield, and Rototiller) and moves that target all foes cannot be blocked by Dazzling even if")
.Sentence("they become priority moves. Dazzling has no effect on allies' priority moves.")
.NewParagraph()
.Sentence("Mold Breaker will ignore this ability.")
.NewParagraph()
.Sentence("Dazzling has no effect outside of battle.");
}
}