Class: Studio::RateHealItem

Inherits:
HealingItem show all
Defined in:
scripts/00800 Studio/00001 Data/00002 Item/00300 RateHealItem.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

Constant Summary

Constants inherited from Item

Item::ItemGetME

Instance Attribute Summary collapse

Attributes inherited from HealingItem

#loyalty_malus

Attributes inherited from Item

#db_symbol, #fling_power, #icon, #id, #is_battle_usable, #is_holdable, #is_limited, #is_map_usable, #position, #price, #socket

Method Summary

Methods inherited from Item

#description, #exact_name, #me, #name, #plural_name

Instance Attribute Details

#hp_rateFloat (readonly)

Get the rate of hp this item can heal

Returns:

  • (Float)


6
7
8
# File 'scripts/00800 Studio/00001 Data/00002 Item/00300 RateHealItem.rb', line 6

def hp_rate
  @hp_rate
end