Class: Battle::Move::IvyCudgel
- Includes:
- Mechanics::TypesBasedOnItem
- Defined in:
- docs/5_Battle_10_Move.rb
Overview
Class describing the Ivy Cudgel move
Constant Summary collapse
- IVYCUDGEL_TABLE =
Table of move type depending on item
{wellspring_mask: :water, hearthflame_mask: :fire, cornerstone_mask: :rock}
Instance Method Summary collapse
-
#consume_item? ⇒ Boolean
Tell if the item is consumed during the attack.
-
#get_types_by_item(name) ⇒ Array<Integer>
Get the real types of the move depending on the item If the item is a special mask, change the type accordingly, else default to grass type.
-
#valid_held_item?(name) ⇒ Boolean
Test if the held item is valid.
Methods included from Mechanics::TypesBasedOnItem
Methods included from Mechanics::ItemBased
Methods inherited from Basic
#deal_damage, #effect_working?
Instance Method Details
#consume_item? ⇒ Boolean
Tell if the item is consumed during the attack
4194 4195 |
# File 'docs/5_Battle_10_Move.rb', line 4194 def consume_item? end |
#get_types_by_item(name) ⇒ Array<Integer>
Get the real types of the move depending on the item If the item is a special mask, change the type accordingly, else default to grass type
4205 4206 |
# File 'docs/5_Battle_10_Move.rb', line 4205 def get_types_by_item(name) end |
#valid_held_item?(name) ⇒ Boolean
Test if the held item is valid
4199 4200 |
# File 'docs/5_Battle_10_Move.rb', line 4199 def valid_held_item?(name) end |