Class: Studio::ConstantHealItem

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

Overview

Data class describing an Item that heals a constant amount of hp

Direct Known Subclasses

StatusConstantHealItem

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_count ⇒ Integer (readonly)

Get the number of hp the item heals

Returns:

  • (Integer)


1414
1415
1416
# File 'docs/3_Studio.rb', line 1414

def hp_count
  @hp_count
end