forked from nisovin/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 67
Gills Spell
JasperLorelai edited this page May 19, 2024
·
13 revisions
spell-class: ".buff.GillsSpell"
This spell can be cast by/on all living entities.
A buff spell that allows the entity to breathe underwater.
Buff spell Uses increment on tick-interval
.
Since 4.0 Beta 13 these options support dynamic values through numeric or string expressions.
Option | Description | Type | Default |
---|---|---|---|
head-effect |
Defines whether or not the player should get a block placed on their head. | Boolean | true |
head-block |
Material name of the head block. | String | "glass" |
refill-air-bar |
Boolean | true |
gills:
spell-class: ".buff.GillsSpell"
description: Allows you to breathe underwater.
cast-item: book
head-effect: true
cooldown: 60
duration: 300
num-uses: 5
cost:
- mana 50
- sugar_cane 1
use-cost:
- sugar_cane 1
use-cost-interval: 1
str-cost: 50 mana and 1 sugar cane, plus 1 sugar cane few seconds
str-cast-self: You form gills on your neck!
str-fade: Your gills disappear.