Class: Battle::Effects::Ability::KeenEye
- Defined in:
- docs/5_Battle_06_Effects_04_Ability_Effects.rb
Overview
Class describing the Keen Eye ability effect
Instance Method Summary collapse
-
#chance_of_hit_multiplier(user, target, move) ⇒ Float
Return the chance of hit multiplier.
-
#on_stat_decrease_prevention(handler, stat, target, launcher, skill) ⇒ :prevent?
Function called when a stat_decrease_prevention is checked.
Instance Method Details
#chance_of_hit_multiplier(user, target, move) ⇒ Float
Return the chance of hit multiplier
1887 1888 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 1887 def chance_of_hit_multiplier(user, target, move) end |
#on_stat_decrease_prevention(handler, stat, target, launcher, skill) ⇒ :prevent?
Function called when a stat_decrease_prevention is checked
1880 1881 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 1880 def on_stat_decrease_prevention(handler, stat, target, launcher, skill) end |