Disable miss reporting for buffing moves

This commit is contained in:
Kyle Coburn 2015-04-24 21:28:36 -07:00
parent 9d27c87308
commit 2bb69af27c
3 changed files with 4 additions and 0 deletions

View File

@ -281,8 +281,10 @@ end
function Battle.redeployNidoking()
if Pokemon.isDeployed("nidoking") then
Control.ignoreMiss = false
return false
end
Control.ignoreMiss = true
if Menu.onPokemonSelect() then
Pokemon.select("nidoking")
elseif Menu.hasTextbox() and Menu.getCol() == 1 then

View File

@ -595,6 +595,7 @@ strategyFunctions.fightBrock = function()
Bridge.chat("got Bided the same turn as Bubble. It'll need to last 3 turns (1 in 2 chance) for us to finish him before it hits...")
end
end
Control.ignoreMiss = forced ~= nil
Battle.fight(forced)
else
Input.cancel()

View File

@ -234,6 +234,7 @@ function Strategies.buffTo(buff, defLevel)
if defLevel and Memory.double("battle", "opponent_defense") > defLevel then
forced = buff
end
Control.ignoreMiss = forced ~= nil
Battle.automate(forced, true)
elseif status.foughtTrainer then
return true