Class: Battle::Move::StoneAxe
- Inherits:
-
BasicWithSuccessfulEffect
- Object
- Move
- Basic
- BasicWithSuccessfulEffect
- Battle::Move::StoneAxe
- Defined in:
- docs/5_Battle_10_Move.rb
Overview
Class describing the Stone Axe move Adds a layer of Stealth Rocks to the target if it lands.
Instance Method Summary collapse
-
#calc_factor(target) ⇒ Integer, Float
Calculate the multiplier needed to get the damage factor of the Stealth Rock.
-
#deal_effect(user, actual_targets)
Function that deals the effect to the pokemon.
Methods inherited from BasicWithSuccessfulEffect
Methods inherited from Basic
#deal_damage, #effect_working?
Instance Method Details
#calc_factor(target) ⇒ Integer, Float
Calculate the multiplier needed to get the damage factor of the Stealth Rock
3790 3791 |
# File 'docs/5_Battle_10_Move.rb', line 3790 def calc_factor(target) end |
#deal_effect(user, actual_targets)
Function that deals the effect to the pokemon
3785 3786 |
# File 'docs/5_Battle_10_Move.rb', line 3785 def deal_effect(user, actual_targets) end |