Fix invalid call in IncreasedStab
This commit is contained in:
parent
6302ca9809
commit
7857f5c35a
|
@ -2,7 +2,7 @@ namespace Gen7 {
|
|||
[Ability effect=IncreasedStab]
|
||||
class IncreasedStab : PkmnScript {
|
||||
void OverrideSTABModifier(ExecutingMove@ move, Pokemon@ target, uint8 hit, float &inout stabMod) override {
|
||||
if (move.User.HasType(move.GetHit(target, hit).Type)){
|
||||
if (move.User.HasType(move.GetHitData(target, hit).Type)){
|
||||
stabMod = 2;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue