forked from TheComputerGeek2/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 3
Armor Spell
MomoPewpew edited this page Dec 22, 2024
·
18 revisions
spell-class: ".buff.ArmorSpell"
This spell can be cast by/on all living entities.
A buff spell that summons armor for the entity.
Buff spell Uses increment whenever the entity receives damage while wearing the armor buff.
Option | Description | Default Value |
---|---|---|
permanent |
Whether the armor is permanent, or temporary. If permanent, it will be removable, and if temporary, it will not be able to be taken off for the duration. | false |
replace |
Whether the conjured armor should replace any armor the caster currently has on. If this is not enabled, and there is ANY armor currently equipped, the spell will not be able to be cast. | false |
revert |
Whether the previous item should be returned to the caster after the buff expires. | false |
helmet |
The helmet to conjure to the player. Supports Magic Items and Cast-Items format. | "" |
chestplate |
The chestplate to conjure to the player. | "" |
leggings |
The leggings to conjure to the player. | "" |
boots |
The boots to conjure to the player. | "" |
offhand |
The offhand item to conjure to the player. | "" |
str-has-armor |
String message to send if the caster already has armor on and replace is not set to true. | "You cannot cast this spell if you are wearing armor." |
BloodyArmor:
spell-class: ".buff.ArmorSpell"
toggle: false
replace: true
permanent: false
duration: 30
helmet: leather_helmet{name:"&4Bloody Helmet", color:FF0000, enchants:{ blast_protection:2 }}
chestplate: leather_chestplate{name:"&4Bloody Chestplate", color:FF0000, enchants:{ blast_protection:2 }}
leggings: leather_leggings{name:"&4Bloody Leggings", color:FF0000, enchants:{ blast_protection:2 }}
boots: leather_boots{name:"&4Bloody Boots", color:FF0000, enchants:{ blast_protection:2 }}
!!!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