mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 05:34:58 +00:00
Mankey Paw fix
This commit is contained in:
@@ -512,6 +512,9 @@ class PokeBattle_Battler
|
|||||||
miss = true if !move.hitsFlyingTargets?
|
miss = true if !move.hitsFlyingTargets?
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
if user.hasActiveItem?(:MANKEYPAW)
|
||||||
|
miss = true if rand(2)==1
|
||||||
|
end
|
||||||
if !miss
|
if !miss
|
||||||
# Called by another move
|
# Called by another move
|
||||||
return true if skipAccuracyCheck
|
return true if skipAccuracyCheck
|
||||||
|
|||||||
@@ -192,6 +192,7 @@ class PokeBattle_Move
|
|||||||
when -1 then return false
|
when -1 then return false
|
||||||
end
|
end
|
||||||
# Other effects
|
# Other effects
|
||||||
|
return true if user.hasActiveItem?(:MANKEYPAW)
|
||||||
return true if c>50 # Merciless
|
return true if c>50 # Merciless
|
||||||
return true if user.effects[PBEffects::LaserFocus]>0
|
return true if user.effects[PBEffects::LaserFocus]>0
|
||||||
c += 1 if highCriticalRate?
|
c += 1 if highCriticalRate?
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user