Class: Battle::Move::HeavySlam

Inherits:
Basic show all
Defined in:
docs/5_Battle_10_Move.rb

Overview

Class describing the Heavy Slam move

Constant Summary collapse

MINIMUM_WEIGHT_PERCENT =

Minimum weight percentages for damage calculation

Returns:

  • (Array<Float>)
[0.5, 0.3334, 0.25, 0.20]

Instance Method Summary collapse

Methods inherited from Basic

#deal_damage, #effect_working?

Instance Method Details

#bypass_chance_of_hit?(user, target) ⇒ Boolean

Check if the move bypass chance of hit and cannot fail

Parameters:

Returns:

  • (Boolean)


3908
3909
# File 'docs/5_Battle_10_Move.rb', line 3908

def bypass_chance_of_hit?(user, target)
end

#real_base_power(user, target) ⇒ Integer

Get the real base power of the move (taking in account all parameter)

Parameters:

Returns:

  • (Integer)


3902
3903
# File 'docs/5_Battle_10_Move.rb', line 3902

def real_base_power(user, target)
end