|
namespace Gen7 {
|
|
class AuraBreakAbility : PkmnScript {
|
|
void OnSecondaryEffect(ExecutingMove@, Pokemon@ target, uint8){
|
|
auto battle = target.Battle;
|
|
battle.RemoveVolatile("FairyAura");
|
|
battle.RemoveVolatile("DarkAura");
|
|
battle.AddVolatile("AuraBreak");
|
|
}
|
|
}
|
|
} |