mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Mankey Paw fix
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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.
Reference in New Issue
Block a user