Adds Battle Armor effect
This commit is contained in:
8
Scripts/Abilities/PreventCritical.as
Normal file
8
Scripts/Abilities/PreventCritical.as
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace Gen7 {
|
||||
[Ability effect=PreventCritical]
|
||||
class PreventCriticalAbility : PkmnScript {
|
||||
void PreventIncomingCritical(ExecutingMove@, Pokemon@, uint8, bool &inout prevent) override {
|
||||
prevent = true;
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user