Class: Battle::Move::BurnUp
- Inherits:
-
BasicWithSuccessfulEffect
- Object
- Move
- Basic
- BasicWithSuccessfulEffect
- Battle::Move::BurnUp
- Defined in:
- docs/5_Battle_10_Move.rb
Overview
Implement the Burn Up move
Constant Summary collapse
- TEXTS_IDS =
Text of the loss of our type after launching the attack
{burn_up: [:parse_text_with_pokemon, 59, 1856], double_shock: [:parse_text_with_pokemon, 66, 1606]}
Instance Method Summary collapse
-
#deal_effect(user, actual_targets)
Function that deals the effect to the pokemon.
-
#move_usable_by_user(user, targets) ⇒ Boolean
Function that tests if the user is able to use the move.
-
#turn_count
Return the number of turns the effect works.
Methods inherited from BasicWithSuccessfulEffect
Methods inherited from Basic
#deal_damage, #effect_working?
Instance Method Details
#deal_effect(user, actual_targets)
Function that deals the effect to the pokemon
2219 2220 |
# File 'docs/5_Battle_10_Move.rb', line 2219 def deal_effect(user, actual_targets) end |
#move_usable_by_user(user, targets) ⇒ Boolean
Note:
Thing that prevents the move from being used should be defined by :move_prevention_user Hook
Function that tests if the user is able to use the move
2214 2215 |
# File 'docs/5_Battle_10_Move.rb', line 2214 def move_usable_by_user(user, targets) end |
#turn_count
Return the number of turns the effect works
2223 2224 |
# File 'docs/5_Battle_10_Move.rb', line 2223 def turn_count end |