forked from TheComputerGeek2/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 3
Dot Spell
MomoPewpew edited this page Jul 28, 2023
·
8 revisions
spell-class: ".targeted.DotSpell"
A targeted spell that deals damage over time to a specified target.
Option | Description | Variable Type | Default Value |
---|---|---|---|
delay |
Defines the delay before the first damage is dealt. | Integer | 1 |
interval |
Defines the interval of each damage dealt, in server ticks. | Integer | 20 |
duration |
Defines the duration of the spell, in server ticks. | Integer | 200 |
damage |
Defines the amount of damage per hit. | Float | 2 |
prevent-knockback |
Defines if the spell should cause knockback. | Boolean | false |
spell-damage-type |
This is a custom damage type which can be used together with the resist spell. It's very optional. | String | Empty |
damage-type |
Defines the damage cause of this spell. | String | ENTITY_ATTACK |
dot:
spell-class: ".targeted.DotSpell"
damage: 1
delay: 10
interval: 10
duration: 60
prevent-knockback: true
spell-damage-type: CONTACT
!!!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