Gen7Data/Scripts/Abilities/AuraBreak.as

10 lines
329 B
ActionScript
Raw Normal View History

2021-11-20 14:31:52 +00:00
namespace Gen7 {
class AuraBreakAbility : PkmnScript {
void OnSecondaryEffect(ExecutingMove@, Pokemon@ target, uint8){
auto battle = target.Battle;
battle.RemoveVolatile("FairyAura");
battle.RemoveVolatile("DarkAura");
battle.AddVolatile("AuraBreak");
}
}
}