Class: Battle::Move::PainSplit
Overview
Move that share HP between targets
Instance Method Summary collapse
-
#adjust_hp(target, average_hp)
Adjusts the HP of the target based on the calculated average HP.
-
#bypass_chance_of_hit?(_user, _target) ⇒ Boolean
Check if the move bypass chance of hit and cannot fail.
-
#deal_effect(user, actual_targets)
Function that deals the effect to the pokemon.
-
#message ⇒ String
Get the message.
Instance Method Details
#adjust_hp(target, average_hp)
Adjusts the HP of the target based on the calculated average HP
5069 5070 |
# File 'docs/5_Battle_10_Move.rb', line 5069 def adjust_hp(target, average_hp) end |
#bypass_chance_of_hit?(_user, _target) ⇒ Boolean
Check if the move bypass chance of hit and cannot fail
5055 5056 |
# File 'docs/5_Battle_10_Move.rb', line 5055 def bypass_chance_of_hit?(_user, _target) end |
#deal_effect(user, actual_targets)
Function that deals the effect to the pokemon
5060 5061 |
# File 'docs/5_Battle_10_Move.rb', line 5060 def deal_effect(user, actual_targets) end |