forked from nisovin/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 68
Cripple Spell
JasperLorelai edited this page May 19, 2024
·
9 revisions
spell-class: ".targeted.CrippleSpell"
Value | Supported |
---|---|
entity |
true |
location |
false |
entity_from_location |
false |
A targeted spell that prevents the target from moving. It's a potion effect spell with fewer lines and specifically for slowness effect
Since 4.0 Beta 13 these options support dynamic values through numeric or string expressions.
Option | Description | Type | Default |
---|---|---|---|
effect-strength |
Integer | 5 |
|
effect-duration |
Integer | 100 |
|
portal-cooldown-ticks |
The number of ticks to set the target entity's portal cooldown to. This will not be used if it is less than the target's existing portal cooldown. | Integer | 100 |
use-slowness-effect |
When set to true, the target will receive a slowness effect. | Boolean | true |
apply-portal-cooldown |
When set to true, this spell will set the portal cooldown field of the target, if the duration of the new cooldown is longer than the existing cooldown. | Boolean | false |
power-affects-duration |
Boolean | true |
|
power-affects-portal-cooldown |
Boolean | true |
cripple:
spell-class: ".targeted.CrippleSpell"
description: Slow down a targeted enemy.
cast-item: bone
cooldown: 15
range: 20
effect-strength: 5
effect-duration: 100
can-target: players,nonplayers
cost:
- mana 10
str-cost: 10 mana