Class: Battle::Effects::Ability::BoostingMoveType
- Defined in:
- docs/5_Battle_06_Effects_04_Ability_Effects.rb
Overview
Class describing the Boosting Move Type ability effect
Direct Known Subclasses
Constant Summary collapse
- POWER_INCREASE_CONDITION =
Initial condition to give the power increase
Hash.new(proc {true })
- TYPE_CONDITION =
Type condition to give the power increase
Hash.new(:normal)
- POWER_INCREASE =
Power increase if all condition are met
Hash.new(1.5)
Class Method Summary collapse
-
.register(db_symbol, type, multiplier = nil, &block) {|user, target, move| ... }
Register a BoostingMoveType ability.
Instance Method Summary collapse
-
#base_power_multiplier(user, target, move) ⇒ Float
Get the base power multiplier of this move.
Class Method Details
.register(db_symbol, type, multiplier = nil, &block) {|user, target, move| ... }
Register a BoostingMoveType ability
63 64 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 63 def register(db_symbol, type, multiplier = nil, &block) end |
Instance Method Details
#base_power_multiplier(user, target, move) ⇒ Float
Get the base power multiplier of this move
51 52 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 51 def base_power_multiplier(user, target, move) end |