Class: Battle::Move::Present
- Inherits:
-
BasicWithSuccessfulEffect
- Object
- Move
- Basic
- BasicWithSuccessfulEffect
- Battle::Move::Present
- Defined in:
- docs/5_Battle_10_Move.rb
Overview
Class describing the Present move
Instance Method Summary collapse
-
#deal_damage(user, actual_targets)
Function that deals the damage to the pokemon.
-
#deal_effect(user, actual_targets)
Function that deals the effect to the pokemon.
-
#power ⇒ Integer
Override power to use the real_base_power calculated before dealing damage.
-
#real_base_power(user, target) ⇒ Integer
Get the real base power of the move (taking in account all parameter).
Methods inherited from BasicWithSuccessfulEffect
Methods inherited from Basic
Instance Method Details
#deal_damage(user, actual_targets)
Function that deals the damage to the pokemon
5404 5405 |
# File 'docs/5_Battle_10_Move.rb', line 5404 def deal_damage(user, actual_targets) end |
#deal_effect(user, actual_targets)
Function that deals the effect to the pokemon
5409 5410 |
# File 'docs/5_Battle_10_Move.rb', line 5409 def deal_effect(user, actual_targets) end |
#power ⇒ Integer
Override power to use the real_base_power calculated before dealing damage
5399 5400 |
# File 'docs/5_Battle_10_Move.rb', line 5399 def power end |
#real_base_power(user, target) ⇒ Integer
Get the real base power of the move (taking in account all parameter)
5395 5396 |
# File 'docs/5_Battle_10_Move.rb', line 5395 def real_base_power(user, target) end |