forked from nisovin/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 67
BombSpell
JasperLorelai edited this page Jul 19, 2023
·
11 revisions
Targeted spell. Spawns a block which disappears after a delay, casting a spell at its location.
Option | Description | Default Value |
---|---|---|
block |
Material of the block. | stone |
fuse |
Delay before the block disappears | 100 |
interval |
Interval between playing effects | 20 |
spell |
Sub-spell to cast after the block disappears | "" |
Smoke-Bomb:
spell-class: ".targeted.BombSpell"
name: "Smoke Bomb"
cast-item: bone
permission-name: smoke_bomb
block: cyan_terracotta
fuse: 60
interval: 5
spell: MULTI_SMOKE_BOMB
effects:
eff1:
position: special
effect: particles
height-offset: 0.5
particle-name: SMOKE_NORMAL
horiz-spread: 0.5
vert-spread: 0.5
speed: 0.04
count: 25
eff2:
position: delayed
effect: particles
height-offset: 1
particle-name: redstone
horiz-spread: 1
vert-spread: 1
color: FF0000
speed: 0.04
count: 50
MULTI_SMOKE_BOMB:
spell-class: ".TargetedMultiSpell"
helper-spell: true
permission-name: smoke_bomb
require-entity-target: false
stop-on-fail: false
spells:
- EFF_SMOKE_BOMB
- DELAY 2
- EFF_SMOKE_BOMB
- DELAY 2
- EFF_SMOKE_BOMB
- DELAY 2
- EFF_SMOKE_BOMB
- DELAY 2
- EFF_SMOKE_BOMB
- DELAY 2
- EFF_SMOKE_BOMB
- DELAY 2
- EFF_SMOKE_BOMB
- DELAY 2
- EFF_SMOKE_BOMB
- DELAY 2
- EFF_SMOKE_BOMB
- DELAY 2
- EFF_SMOKE_BOMB
- DELAY 2
- EFF_SMOKE_BOMB
EFF_SMOKE_BOMB:
spell-class: ".targeted.DummySpell"
helper-spell: true
permission-name: smoke_bomb
effects:
eff1:
position: target
effect: particles
height-offset: 2
particle-name: REDSTONE
horiz-spread: 2
vert-spread: 2
color: 000000
speed: 0.04
count: 75