Implements cheek pouch
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-02-19 15:59:27 +01:00
parent 00e20953b8
commit 06d1da3d3c
5 changed files with 15 additions and 4 deletions

View File

@@ -0,0 +1,10 @@
namespace Gen7 {
[Ability effect=CheekPouch]
class CheekPouch : PkmnScript {
void OnAfterHeldItemConsume(Pokemon@ pokemon, const Item@ item) override {
if (item.HasFlag("berry")){
pokemon.Heal(pokemon.MaxHealth / 4);
}
};
}
}