Class: Battle::Effects::Item::MentalHerb
- Defined in:
- docs/5_Battle_06_Effects_05_Item_Effects.rb
Overview
Class describing the Mental Herb item effect
Constant Summary collapse
- MENTAL_EFFECTS =
List the db_symbol for every Mental effect
%i[attract encore taunt torment heal_block disable]
Instance Method Summary collapse
-
#apply_common_effects_with_fling(scene, target, launcher = nil, skill = nil)
Apply the common effects of the item with Fling move effect.
-
#initialize(logic, target, db_symbol) ⇒ MentalHerb
constructor
Create a new item effect.
-
#on_post_action_event(logic, scene, battlers)
Function called at the end of an action.
Constructor Details
#initialize(logic, target, db_symbol) ⇒ MentalHerb
Create a new item effect
1249 1250 |
# File 'docs/5_Battle_06_Effects_05_Item_Effects.rb', line 1249 def initialize(logic, target, db_symbol) end |
Instance Method Details
#apply_common_effects_with_fling(scene, target, launcher = nil, skill = nil)
Apply the common effects of the item with Fling move effect
1262 1263 |
# File 'docs/5_Battle_06_Effects_05_Item_Effects.rb', line 1262 def apply_common_effects_with_fling(scene, target, launcher = nil, skill = nil) end |
#on_post_action_event(logic, scene, battlers)
Function called at the end of an action
1255 1256 |
# File 'docs/5_Battle_06_Effects_05_Item_Effects.rb', line 1255 def on_post_action_event(logic, scene, battlers) end |