Class: Battle::Effects::Ability::Unaware

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

Overview

Class describing the Unaware ability

Instance Method Summary collapse

Instance Method Details

#chance_of_hit_multiplier(user, target, move) ⇒ Float

Return the chance of hit multiplier

Parameters:

Returns:

  • (Float)


4000
4001
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 4000

def chance_of_hit_multiplier(user, target, move)
end

#sp_atk_multiplier(user, target, move) ⇒ Float, Integer

Give the move [Spe]atk mutiplier

Parameters:

Returns:

  • (Float, Integer) —

    multiplier



3986
3987
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 3986

def sp_atk_multiplier(user, target, move)
end

#sp_def_multiplier(user, target, move) ⇒ Float, Integer

Give the move [Spe]def mutiplier

Parameters:

Returns:

  • (Float, Integer) —

    multiplier



3993
3994
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 3993

def sp_def_multiplier(user, target, move)
end