Class: Battle::Effects::Ability::WaterBubble

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

Overview

Class describing the Water Bubble ability

Instance Method Summary collapse

Instance Method Details

#on_status_prevention(handler, status, target, launcher, skill) ⇒ :prevent?

Function called when a status_prevention is checked

Parameters:

Returns:

  • (:prevent, nil) —

    :prevent if the status cannot be applied



4093
4094
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 4093

def on_status_prevention(handler, status, target, launcher, skill)
end

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

Give the move [Spe]atk mutiplier

Parameters:

Returns:

  • (Float, Integer) —

    multiplier



4077
4078
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 4077

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



4084
4085
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 4084

def sp_def_multiplier(user, target, move)
end