Class: Battle::Logic::FleeHandler
- Inherits:
-
ChangeHandlerBase
- Object
- ChangeHandlerBase
- Battle::Logic::FleeHandler
- Defined in:
- docs/5_Battle_04_Logic.rb
Overview
Handler responsible for processing flee attempt
Instance Attribute Summary
Attributes inherited from ChangeHandlerBase
#logic, #pre_checked_effects, #scene
Instance Method Summary collapse
-
#attempt(index) ⇒ Symbol
Try to flee.
-
#can_flee?(target) ⇒ Boolean
Can you flee?.
Methods inherited from ChangeHandlerBase
#initialize, #pass_change, #prevent_change, #process_reason, #reset_reason
Constructor Details
This class inherits a constructor from Battle::Logic::ChangeHandlerBase
Instance Method Details
#attempt(index) ⇒ Symbol
Try to flee
1327 1328 |
# File 'docs/5_Battle_04_Logic.rb', line 1327 def attempt(index) end |
#can_flee?(target) ⇒ Boolean
Can you flee?
1322 1323 |
# File 'docs/5_Battle_04_Logic.rb', line 1322 def can_flee?(target) end |