Class: Oakdex::Pokemon::GrowthEvents::RemoveStatusCondition
- Defined in:
- lib/oakdex/pokemon/growth_events/remove_status_condition.rb
Overview
When pokemon gets status condition healed
Instance Method Summary collapse
Methods inherited from Base
#initialize, #possible_actions, #read_only?, #to_h
Constructor Details
This class inherits a constructor from Oakdex::Pokemon::GrowthEvents::Base
Instance Method Details
#execute ⇒ Object
11 12 13 14 |
# File 'lib/oakdex/pokemon/growth_events/remove_status_condition.rb', line 11 def execute @pokemon.primary_status_condition = nil remove_event end |
#message ⇒ Object
7 8 9 |
# File 'lib/oakdex/pokemon/growth_events/remove_status_condition.rb', line 7 def "#{@pokemon.name} heals #{@pokemon.primary_status_condition}." end |