Gen7Data/Scripts/Abilities/PreventCritical.as

8 lines
250 B
ActionScript

namespace Gen7 {
[Ability effect=PreventCritical]
class PreventCriticalAbility : PkmnScript {
void PreventIncomingCritical(ExecutingMove@, Pokemon@, uint8, bool &inout prevent) override {
prevent = true;
};
}
}