Class: Battle::Move::MagicPowder
- Inherits:
-
ChangeType
- Object
- Move
- ChangeType
- Battle::Move::MagicPowder
- Defined in:
- docs/5_Battle_10_Move.rb
Overview
Move that give a third type to an enemy
Constant Summary
Constants inherited from ChangeType
ChangeType::ABILITY_EXCEPTION, ChangeType::TYPES
Instance Method Summary collapse
-
#target_immune?(user, target) ⇒ Boolean
Test if the target is immune.
-
#type_check(target) ⇒ Boolean
Method that tells if the target already has the type.
Methods inherited from ChangeType
#condition, #deal_effect, #message, #move_usable_by_user, #new_type
Instance Method Details
#target_immune?(user, target) ⇒ Boolean
Test if the target is immune
4472 4473 |
# File 'docs/5_Battle_10_Move.rb', line 4472 def target_immune?(user, target) end |
#type_check(target) ⇒ Boolean
Method that tells if the target already has the type
4477 4478 |
# File 'docs/5_Battle_10_Move.rb', line 4477 def type_check(target) end |