Gen7Data/Scripts/Abilities/AuraBreak.as

10 lines
329 B
ActionScript

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