Skip to content

ForcetossSpell

ChronoKeeper edited this page Jul 16, 2019 · 10 revisions

ForcetossSpell

Description:

Targeted Spell. Throws your opponent.

Configuration Options:

Option Description Default Value
damage Damage of the spell. 0
vertical-force Vertical force of the spell. 10
horizontal-force Horizontal force of the spell. 20
rotation How much the target is rotated. 0
check-plugins Should the spell check damage related plugins?. true
power-affects-force Should Spell Power affect the spell's force? true
add-velocity-instead Should the spell add the velocity instead of setting it? false
avoid-damage-modification Should the spell avoid damage modification? false

Spell Default:

forcetoss:
    spell-class: ".targeted.ForcetossSpell"
    name: forcetoss
    description: Magically throw an enemy into the air.
    cast-item: blaze_rod
    cooldown: 5
    range: 15
    damage: 0
    horizontal-force: 30
    vertical-force: 15
    can-target: players,monsters
    check-plugins: true
    cost:
        - mana 10
    str-cost: 10 mana
    str-no-target: No target found.
    str-cast-self: You push back your enemy!
    str-cast-others: "%a pushes back his enemy."
Clone this wiki locally