2021-11-19 17:12:10 +00:00
|
|
|
namespace Gen7 {
|
|
|
|
class AngerPoint : PkmnScript {
|
|
|
|
void OnIncomingHit(ExecutingMove@ move, Pokemon@ target, uint8 hit) override {
|
|
|
|
if (move.GetHitData(target, hit).IsCritical){
|
2022-03-12 10:45:18 +00:00
|
|
|
target.ChangeStatBoost(Statistic::Attack, 12, true);
|
2021-11-19 17:12:10 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|