Class: Battle::Move::Incinerate
- Inherits:
-
BasicWithSuccessfulEffect
- Object
- Move
- Basic
- BasicWithSuccessfulEffect
- Battle::Move::Incinerate
- Defined in:
- docs/5_Battle_10_Move.rb
Overview
Class managing the Incinerate move
Constant Summary collapse
- DESTROYABLE_ITEMS =
List of items that can be destroyed by Incinerate
%i[fire_gem water_gem electric_gem grass_gem ice_gem fighting_gem poison_gem ground_gem flying_gem psychic_gem bug_gem rock_gem ghost_gem dragon_gem dark_gem steel_gem normal_gem fairy_gem]
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
4117 4118 |
# File 'docs/5_Battle_10_Move.rb', line 4117 def damages(user, target) end |