Fix invalid call in IncreasedStab

This commit is contained in:
Deukhoofd 2021-11-20 10:10:09 +01:00
parent 6302ca9809
commit 7857f5c35a
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ namespace Gen7 {
[Ability effect=IncreasedStab] [Ability effect=IncreasedStab]
class IncreasedStab : PkmnScript { class IncreasedStab : PkmnScript {
void OverrideSTABModifier(ExecutingMove@ move, Pokemon@ target, uint8 hit, float &inout stabMod) override { 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; stabMod = 2;
} }
}; };