Class: Battle::Move::FixedDamages

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

Overview

Class managing fixed damages moves

Constant Summary collapse

FIXED_DMG_PARAM =

Fixed damages values for the moves

Returns:

  • (Hash{Symbol => Integer})
{sonic_boom: 20, dragon_rage: 40}

Instance Method Summary collapse

Methods inherited from Basic

#deal_damage, #effect_working?

Instance Method Details

#damages(user, target) ⇒ Integer

Method calculating the damages done by the actual move

Parameters:

Returns:

  • (Integer)


3168
3169
# File 'docs/5_Battle_10_Move.rb', line 3168

def damages(user, target)
end