Class: Battle::Move::BellyDrum
Overview
Class describing the Belly Drum move
Direct Known Subclasses
Instance Method Summary collapse
-
#deal_effect(user, actual_targets)
Function that deals the effect to the pokemon.
-
#factor ⇒ Integer
The divisor used to calculate the HP cost.
-
#message(user, target) ⇒ String?
Parse a text from the text database with specific informations and a pokemon.
-
#move_usable_by_user(user, targets) ⇒ Boolean
Function that tests if the user is able to use the move.
-
#stat_changeable?(stat, user) ⇒ Boolean
Check if a stat is changeable.
-
#stats ⇒ Hash{Symbol => Integer}
Method containing stats and the power to raise them.
Instance Method Details
#deal_effect(user, actual_targets)
Function that deals the effect to the pokemon
2014 2015 |
# File 'docs/5_Battle_10_Move.rb', line 2014 def deal_effect(user, actual_targets) end |
#factor ⇒ Integer
The divisor used to calculate the HP cost
2024 2025 |
# File 'docs/5_Battle_10_Move.rb', line 2024 def factor end |
#message(user, target) ⇒ String?
Parse a text from the text database with specific informations and a pokemon
2034 2035 |
# File 'docs/5_Battle_10_Move.rb', line 2034 def (user, target) 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
2009 2010 |
# File 'docs/5_Battle_10_Move.rb', line 2009 def move_usable_by_user(user, targets) end |
#stat_changeable?(stat, user) ⇒ Boolean
Check if a stat is changeable
2020 2021 |
# File 'docs/5_Battle_10_Move.rb', line 2020 def stat_changeable?(stat, user) end |
#stats ⇒ Hash{Symbol => Integer}
Method containing stats and the power to raise them
2028 2029 |
# File 'docs/5_Battle_10_Move.rb', line 2028 def stats end |