Adds Battle Armor effect

This commit is contained in:
2022-02-12 14:28:05 +01:00
parent 669a0094d5
commit 6f7b88ab19
4 changed files with 36 additions and 1 deletions

View File

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