GeyserSpell - TheComputerGeek2/MagicSpells GitHub Wiki
spell-class: ".targeted.GeyserSpell"
targeting
cast argument values:
Value | Supported |
---|---|
entity |
true |
location |
false |
entity_from_location |
false |
Description:
Targeted spell. Create a block geyser that shoots your enemy into the air.
Configuration:
Since 4.0 Beta 13 these options support dynamic values through numeric or string expressions.
Option | Description | Type | Default |
---|---|---|---|
geyser-type |
Block data | String | "water" |
damage |
Damage dealt by the geyser. | Double | 0 |
power-affects-damage |
Since 4.0 Beta 13. | Boolean | true |
velocity |
Velocity applied to the entity. | Double | 10 |
power-affects-velocity |
Since 4.0 Beta 13. | Boolean | true |
geyser-height |
Height of the geyser. | Integer | 4 |
animation-speed |
The animated speed of the geyser. | Integer | 2 |
ignore-armor |
Should the spell's damage ignore armor? | Boolean | false |
check-plugins |
Should the spell check damage-related plugins? | Boolean | true |
avoid-damage-modification |
Should the spell avoid damage modification? | Boolean | false |
Example:
geyser:
spell-class: ".targeted.GeyserSpell"
name: geyser
spell-icon: water
description: Create a geyser of water at your enemy's feet.
cast-item: blaze_rod
range: 20
damage: 0
velocity: 10
animation-speed: 2
geyser-height: 4
geyser-type: water
ignore-armor: false
can-target: players,monsters
check-plugins: true
cost:
- mana 10
str-cost: 10 mana
str-cast-self: You create a geyser at your enemy's feet.
str-no-target: No target found.