Class: Studio::RateHealItem

Inherits:
HealingItem show all
Defined in:
docs/3_Studio.rb

Overview

Data class describing an Item that heals a rate (0~100% using a number between 0 & 1) of hp

Direct Known Subclasses

StatusRateHealItem

Instance Attribute Summary collapse

Attributes inherited from HealingItem

#loyalty_malus

Attributes inherited from Item

#berry_data, #cooking_data, #db_symbol, #fling_power, #icon, #id, #is_allowing_mega, #is_battle_usable, #is_berry, #is_holdable, #is_limited, #is_map_usable, #position, #price, #socket

Method Summary

Methods inherited from Item

#bitter, #description, #dry, #exact_name, #me, #name, #plural_name, #sour, #spicy, #sweet

Instance Attribute Details

#hp_rate ⇒ Float (readonly)

Get the rate of hp this item can heal

Returns:

  • (Float)


1444
1445
1446
# File 'docs/3_Studio.rb', line 1444

def hp_rate
  @hp_rate
end