Merge pull request #1467 from LOuroboros/gravity_acc
Added Gravity's missing acc boost
This commit is contained in:
commit
e803b42827
1 changed files with 3 additions and 0 deletions
|
@ -1573,6 +1573,9 @@ u32 GetTotalAccuracy(u32 battlerAtk, u32 battlerDef, u32 move)
|
||||||
calc = (calc * 120) / 100; // 20% acc boost
|
calc = (calc * 120) / 100; // 20% acc boost
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (gFieldStatuses & STATUS_FIELD_GRAVITY)
|
||||||
|
calc = (calc * 5) / 3; // 1.66 Gravity acc boost
|
||||||
|
|
||||||
return calc;
|
return calc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue