Adds a bunch of abilities
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2021-11-19 18:12:10 +01:00
parent 67762af0e7
commit 6302ca9809
14 changed files with 378 additions and 3 deletions

View File

@@ -0,0 +1,21 @@
namespace Gen7 {
[Battle effect=SuppressWeather]
class SuppressWeather : PkmnScript {
int num = 1;
void Stack() override {
num++;
}
void Unstack() {
num--;
if (num == 0){
cast<Battle@>(GetOwner()).RemoveVolatile("SuppressWeather");
}
}
void BlockWeather(Battle@, bool &inout block){
block = true;
};
}
}