Mankey Paw fix

This commit is contained in:
infinitefusion
2022-11-01 20:02:10 -04:00
parent cddcf22096
commit 48e1f57ad4
3 changed files with 4 additions and 0 deletions

View File

@@ -512,6 +512,9 @@ class PokeBattle_Battler
miss = true if !move.hitsFlyingTargets?
end
end
if user.hasActiveItem?(:MANKEYPAW)
miss = true if rand(2)==1
end
if !miss
# Called by another move
return true if skipAccuracyCheck

View File

@@ -192,6 +192,7 @@ class PokeBattle_Move
when -1 then return false
end
# Other effects
return true if user.hasActiveItem?(:MANKEYPAW)
return true if c>50 # Merciless
return true if user.effects[PBEffects::LaserFocus]>0
c += 1 if highCriticalRate?

Binary file not shown.