class Oakdex::Pokemon::GrowthEvents::RemoveStatusCondition

When pokemon gets status condition healed

Public Instance Methods

execute() click to toggle source
# File lib/oakdex/pokemon/growth_events/remove_status_condition.rb, line 11
def execute
  @pokemon.primary_status_condition = nil
  remove_event
end
message() click to toggle source
# File lib/oakdex/pokemon/growth_events/remove_status_condition.rb, line 7
def message
  "#{@pokemon.name} heals #{@pokemon.primary_status_condition}."
end