Class: Battle::Move::MagicPowder

Inherits:
ChangeType show all
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

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

Parameters:

Returns:

  • (Boolean)


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

Parameters:

Returns:

  • (Boolean)


4477
4478
# File 'docs/5_Battle_10_Move.rb', line 4477

def type_check(target)
end