Class: Battle::Effects::Ability::Opportunist
- Defined in:
- docs/5_Battle_06_Effects_04_Ability_Effects.rb
Overview
Class describing the Opportunist ability effect
Constant Summary collapse
- COPIED_EFFECTS =
Effects that can be copied by Opportunist
{focus_energy: {effect_class: Effects::FocusEnergy, text_id: 1047}, dragon_cheer: {effect_class: Effects::DragonCheer, text_id: 1047}}
Instance Method Summary collapse
-
#activated? ⇒ Boolean
If the ability is currently activated.
-
#initialize(logic, target, db_symbol) ⇒ Opportunist
constructor
Create a new Opportunist effect.
-
#on_post_action_event(logic, scene, battlers)
Function called at the end of an action.
-
#on_stat_change_post(handler, stat, power, target, launcher, skill) ⇒ Integer?
Function called when a stat_change has been applied.
Constructor Details
#initialize(logic, target, db_symbol) ⇒ Opportunist
Create a new Opportunist effect
2332 2333 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 2332 def initialize(logic, target, db_symbol) end |
Instance Method Details
#activated? ⇒ Boolean
Returns if the ability is currently activated.
2335 2336 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 2335 def activated? end |
#on_post_action_event(logic, scene, battlers)
Function called at the end of an action
2351 2352 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 2351 def on_post_action_event(logic, scene, battlers) end |
#on_stat_change_post(handler, stat, power, target, launcher, skill) ⇒ Integer?
Function called when a stat_change has been applied
2345 2346 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 2345 def on_stat_change_post(handler, stat, power, target, launcher, skill) end |