forked from nisovin/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 68
Invulnerability Spell
JasperLorelai edited this page May 19, 2024
·
13 revisions
spell-class: ".buff.InvulnerabilitySpell"
This spell can be cast by/on all living entities.
A buff spell that makes the entity invincible against the specified damage types.
Buff spell Uses increment whenever the entity receives damage.
Option | Description | Type |
---|---|---|
damage-causes |
A list of damage causes to make the caster invulnerable. If left blank, all damage causes will be blocked. You may use spaces or dashes (- ) instead of underscores (_ ). |
String List |
spell-damage-causes |
A list of custom spell damage types caused by damage spells to make the caster invulnerable. Add * to block all spell damage. |
String List |
EnvironmentInvuln:
spell-class: ".buff.InvulnerabilitySpell"
description: Makes you invulnerable to environmental damage.
toggle: false
damage-causes:
- block explosion
- contact
- drowning
- fall
- fire
- lava
- lightning
- suffocation
duration: 60
cooldown: 300
cost:
- mana 30
use-cost:
- mana 15
use-cost-interval: 5
str-cost: 30 mana, plus 15 mana when taking damage
TotalInvuln:
spell-class: ".buff.InvulnerabilitySpell"
description: Makes you invulnerable to everything.
toggle: false
duration: 5
cooldown: 20
cost:
- mana 80
str-cost: 80 mana