Fixed actually checking for Sheer Cold instead of affecting all OHKO moves
This commit is contained in:
parent
dde65d5cea
commit
5e9767e067
1 changed files with 1 additions and 1 deletions
|
@ -10729,7 +10729,7 @@ static void Cmd_tryKO(void)
|
|||
{
|
||||
u16 odds = gBattleMoves[gCurrentMove].accuracy + (gBattleMons[gBattlerAttacker].level - gBattleMons[gBattlerTarget].level);
|
||||
#if B_SHEER_COLD_ACC >= GEN_7
|
||||
if (!IS_BATTLER_OF_TYPE(gBattlerAttacker, TYPE_ICE))
|
||||
if (gCurrentMove == MOVE_SHEER_COLD && !IS_BATTLER_OF_TYPE(gBattlerAttacker, TYPE_ICE))
|
||||
odds -= 10;
|
||||
#endif
|
||||
if (Random() % 100 + 1 < odds && gBattleMons[gBattlerAttacker].level >= gBattleMons[gBattlerTarget].level)
|
||||
|
|
Loading…
Reference in a new issue