Class: Battle::Move::TerrainBoosting

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

Overview

Class managing the moves that get empowered by a specific field terrain

Constant Summary collapse

TERRAIN_MOVE =

Mapping of moves to their corresponding terrain effects

Returns:

  • (Hash{Symbol => Symbol})
{psyblade: :electric_terrain}

Instance Method Summary collapse

Methods inherited from Basic

#deal_damage, #effect_working?

Instance Method Details

#real_base_power(user, target) ⇒ Integer

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

Parameters:

Returns:

  • (Integer)


7097
7098
# File 'docs/5_Battle_10_Move.rb', line 7097

def real_base_power(user, target)
end