RepairSpell - MomoPewpew/MagicSpells GitHub Wiki

RepairSpell

Description:

Instant Spell. Repairs your gear.

Configuration Options:

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.

Spell Default:

RepairSpell:
    spell-class: ".instant.RepairSpell"
    name: Repair
    description: Repairs your gear.
    cast-item: stick
    cooldown: 40
    to-repair:
        - held
        - hotbar
        - inventory
        - helmet
        - chestplate
        - leggings
        - boots
    repair-amount: 150
    ignore-items:
        - 259
        - 346
    str-cast-self: You've repaired your gear!
    str-nothing-to-repair: You have nothing to repair.