MagicBondSpell - TheComputerGeek2/MagicSpells GitHub Wiki
Source Code
spell-class: ".targeted.MagicBondSpell"
Value |
Supported |
entity |
true |
location |
false |
entity_from_location |
false |
Description:
It creates a bond between the caster and the targeted entity. Every spell cast (attempt) by the caster, that is not on cooldown, will be cast by the target.
Configuration:
- This spell supports Spell Filter options.
- Since 4.0 Beta 13 these options support dynamic values through numeric or string expressions.
Option |
Description |
Type |
Default |
duration |
Duration of the spell (in ticks). |
Integer |
200 |
str-duration |
Message sent to the caster and targeted player when the bond ends. |
Rich Text |
|
Example:
Magic-Bond:
spell-class: ".targeted.MagicBondSpell"
duration: 200
effects:
eff1:
position: line
distance-between: 0.25
height-offset: 0.5
effect: particles
particle-name: end_rod
horiz-spread: 0.1
vert-spread: 0.1
speed: 0.04
count: 2