forked from nisovin/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 71
RepairSpell
Yeeta edited this page Jul 16, 2018
·
6 revisions
Instant Spell. Repairs your gear.
| Option | Description | Default Value |
|---|---|---|
| to-repair | List of inventory slots to repair. See example for the list of options. | |
| ignore-items | The list of item type ids to ignore. | |
| allowed-items | The list of item type ids to repair | |
| repair-amount | How much to repair. | 300 |
| str-nothing-to-repair | The message that appears when there is nothing to repair. | Nothing to repair. |
RepairSpell:
spell-class: ".instant.RepairSpell"
name: Repair
description: Repairs your gear.
cast-item: book
cooldown: 40
to-repair:
- held
- hotbar
- inventory
- helmet
- chestplate
- leggings
- boots
repair-amount: 150
ignore-items:
- 259
- 346
cost:
- mana 10
- iron_ingot 2
str-cost: 10 mana and 2 iron bars
str-cast-self: You've repaired your gear!
str-nothing-to-repair: You have nothing to repair.