forked from TheComputerGeek2/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 3
Repair Spell
MomoPewpew edited this page Jul 28, 2023
·
8 revisions
spell-class: ".instant.RepairSpell"
Instant Spell that repairs durability on items and armor.
Option | Description | Default Value |
---|---|---|
repair-amount |
How much to repair. | 300 |
to-repair |
A list of inventory slots to repair. See the example for the list of options. | |
ignore-items |
A list of item types to ignore. | |
allowed-items |
A list of item types to repair. | |
str-nothing-to-repair |
The message that appears when there is nothing to repair. | Nothing to repair. |
repair:
spell-class: ".instant.RepairSpell"
name: repair
description: Repairs your gear.
cast-item: book
cooldown: 120
repair-amount: 300
to-repair:
- held
- hotbar
- inventory
- helmet
- chestplate
- leggings
- boots
ignore-items:
- flint_and_steel
- fishing_rod
cost:
- mana 50
- iron_ingot 2
str-cost: 50 mana and 2 iron bars
str-cast-self: You've repaired your gear!
str-nothing-to-repair: You have nothing to repair.
!!!This is not the official MagicSpells wiki!!!
This wiki was cloned from the official one to document the changes to the plugin that were made specifically for Dwarves vs Zombies 2023 and Lords of Minecraft 2