Class: Battle::Effects::Item::SmokeBall

Inherits:
Item
  • Object
show all
Defined in:
docs/5_Battle_06_Effects_05_Item_Effects.rb

Overview

Class describing the Smoke Ball item effect

Instance Method Summary collapse

Instance Method Details

#on_flee_passthrough(handler, target) ⇒ :passthrough?

Function called when testing if a battler can flee regardless of the prevention

Parameters:

Returns:

  • (:passthrough, nil) —

    if :passthrough, can_flee? will return true without checking flee_prevention



1512
1513
# File 'docs/5_Battle_06_Effects_05_Item_Effects.rb', line 1512

def on_flee_passthrough(handler, target)
end