Endstar LUA API Documentation
Loading...
Searching...
No Matches
ConsumableHealing Class Reference

Consumable Inventory Item base type that provides a heal when used. More...

Public Member Functions

 ConsumableHealing (Gameplay.ConsumableHealingItem consumableHealingItem)
 
void SetHealAmount (Context instigator, int amount)
 Set the amount of health recovered when using this item.
 
int GetHealAmount ()
 Get the current heal amount of this item.
 

Detailed Description

Consumable Inventory Item base type that provides a heal when used.

Constructor & Destructor Documentation

◆ ConsumableHealing()

ConsumableHealing ( Gameplay.ConsumableHealingItem consumableHealingItem)

Member Function Documentation

◆ GetHealAmount()

int GetHealAmount ( )

Get the current heal amount of this item.

Returns
Current heal amount

◆ SetHealAmount()

void SetHealAmount ( Context instigator,
int amount )

Set the amount of health recovered when using this item.

Parameters
instigatorThe source context triggering this change
amountHeal amount