9 lines
292 B
ActionScript
9 lines
292 B
ActionScript
|
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);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|