public void UseSlot(int index) { UsableParameter param = ((UseOnCharItem)slots [index].item).parameter; Heal(param.healing); GetRadio(param.radiation); GetBloodLost(param.bloodLost); }
public ArtefactItem(UsableParameter param, int cst) { this.parameter = param; this.cost = cst; this.itemType = ItemType.Artefact; }
public UseOnCharItem(UsableParameter param, int cst) { this.parameter = param; this.cost = cst; this.itemType = ItemType.UsableOnChar; }