Пример #1
0
    public void UseSlot(int index)
    {
        UsableParameter param = ((UseOnCharItem)slots [index].item).parameter;

        Heal(param.healing);
        GetRadio(param.radiation);
        GetBloodLost(param.bloodLost);
    }
Пример #2
0
 public ArtefactItem(UsableParameter param, int cst)
 {
     this.parameter = param;
     this.cost      = cst;
     this.itemType  = ItemType.Artefact;
 }
Пример #3
0
 public UseOnCharItem(UsableParameter param, int cst)
 {
     this.parameter = param;
     this.cost      = cst;
     this.itemType  = ItemType.UsableOnChar;
 }