# Reroll

***

The Reroll feature allows players to place an item and reroll its stats in order to obtain better or more desirable stat values.

### Features

### **1**. **Material Item**&#x20;

You can use **Material Items** to add sockets to your items. You can also enable `material-chance` to introduce a success/failure chance for adding sockets. You're able to add more than one item to the list.

```yaml
materials:
  enabled: true
  material-chance: true
  addsocket:
    - type: MATERIAL # Item type (MATERIAL, MMOITEM)
      id: STEEL_INGOT # Item ID
      amount: 1
      chance: 50
    - type: MATERIAL # Item type (MATERIAL, MMOITEM)
      id: RARE_DIAMOND # Item ID
      amount: 1
      chance: 50
```

***

### 2. **Cost**&#x20;

This feature allows you to use **Vault (Money)** for each socket addition.

```yaml
cost:
    enabled: false #Cost
    amount: 5000
```

***
