forked from nisovin/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 73
ExplodeSpell
AkitoBurrito edited this page Jan 28, 2022
·
9 revisions
Targeted Spell. Creates an explosion at the targeted location.
Option | Description | Default Value |
---|---|---|
explosion-size | Size of the explosion. | 4 |
backfire-chance | Backfire chance. | 0 |
damage-multiplier | Damage multiplier. | 0 |
add-fire | Whether fire should be added into the explosion. | false |
simulate-tnt | Whether the explosion should simulate tnt. | true |
ignore-cancelled | Whether a cancelled explosion should be ignored. | false |
prevent-block-damage | Whether the explosion should prevent blocks from taking damage. | false |
prevent-player-damage | Whether the explosion should prevent players from taking damage. | false |
prevent-animal-damage | Whether the explosion should prevent animals from taking damage. | false |
explode:
spell-class: ".targeted.ExplodeSpell"
name: explode
spell-icon: tnt
description: Create an explosion.
cast-item: blaze_rod
cooldown: 30
range: 25
explosion-size: 4
backfire-chance: 3
prevent-block-damage: false
prevent-player-damage: false
damage-multiplier: 10
add-fire: false
simulate-tnt: true
ignore-cancelled: false
cost:
- mana 40
- gunpowder 1
str-cost: 40 mana and 1 gunpowder
str-no-target: You cannot create an explosion there.
str-cast-self: Boom!
str-cast-others: Boom!