Class: Battle::Move::Hex
- Inherits:
-
BasicWithSuccessfulEffect
- Object
- Move
- Basic
- BasicWithSuccessfulEffect
- Battle::Move::Hex
- Defined in:
- docs/5_Battle_10_Move.rb
Overview
Move that inflict Hex to the enemy
Instance Method Summary collapse
-
#damages(user, target) ⇒ Integer
Method calculating the damages done by the actual move.
Methods inherited from BasicWithSuccessfulEffect
Methods inherited from Basic
#deal_damage, #effect_working?
Instance Method Details
#damages(user, target) ⇒ Integer
Note:
: I used the 4th Gen formula : https://www.smogon.com/dp/articles/damage_formula
Method calculating the damages done by the actual move
3959 3960 |
# File 'docs/5_Battle_10_Move.rb', line 3959 def damages(user, target) end |