Merge pull request #1467 from LOuroboros/gravity_acc

Added Gravity's missing acc boost
This commit is contained in:
ghoulslash 2021-05-04 09:32:58 -06:00 committed by GitHub
commit e803b42827
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1573,6 +1573,9 @@ u32 GetTotalAccuracy(u32 battlerAtk, u32 battlerDef, u32 move)
calc = (calc * 120) / 100; // 20% acc boost
}
if (gFieldStatuses & STATUS_FIELD_GRAVITY)
calc = (calc * 5) / 3; // 1.66 Gravity acc boost
return calc;
}