Class: Battle::Effects::Ability::Hustle

Inherits:
Ability
  • Object
show all
Defined in:
docs/5_Battle_06_Effects_04_Ability_Effects.rb

Overview

Class describing the Hustle ability effect

Instance Method Summary collapse

Instance Method Details

#atk_modifier ⇒ Float, Integer

Give the atk modifier over given to the Pokemon with this effect

Returns:

  • (Float, Integer) —

    multiplier



1672
1673
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 1672

def atk_modifier
end

#chance_of_hit_multiplier(user, target, move) ⇒ Float

Return the chance of hit multiplier

Parameters:

Returns:

  • (Float)


1679
1680
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 1679

def chance_of_hit_multiplier(user, target, move)
end