Pain Spell - MomoPewpew/MagicSpells GitHub Wiki
spell-class: ".targeted.PainSpell"
Description:
Damage spell that deals direct damage to the target.
Configuration:
| Option | Description | Variable Type | Default Value |
|---|---|---|---|
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 | MAGIC |
damage |
How much damage should be dealt to. | Float | 4 |
ignore-armor |
Whether or not the spell should ignore armor that the target is wearing, ignores resistance as well. | Boolean | false |
check-plugins |
Checks if plugins are enabled for certain things. | Boolean | true |
avoid-damage-modification |
Defines if the spell should avoid damage modification. | Boolean | true |
try-avoiding-anticheat-plugins |
Bypasses Anti-Cheat if necessary. | Boolean | false |
Example:
pain:
spell-class: ".targeted.PainSpell"
name: pain
spell-icon: bone
description: Cause your enemy pain.
cast-item: blaze_rod
cooldown: 5
damage: 4
range: 15
ignore-armor: false
can-target: players,monsters
check-plugins: true
cost:
- mana 10
- health 1
str-cost: 10 mana and a half heart
str-no-target: No target found.