diff --git a/Scripts/Abilities/IncreasedSTAB.as b/Scripts/Abilities/IncreasedSTAB.as index b56a26d..18ae054 100644 --- a/Scripts/Abilities/IncreasedSTAB.as +++ b/Scripts/Abilities/IncreasedSTAB.as @@ -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; } };