namespace Gen7 { class AngerPoint : PkmnScript { void OnIncomingHit(ExecutingMove@ move, Pokemon@ target, uint8 hit) override { if (move.GetHitData(target, hit).IsCritical){ target.ChangeStatBoost(Statistic::Attack, 12); } } } }