forked from TheComputerGeek2/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 3
ForcetossSpell
MomoPewpew edited this page Jul 28, 2023
·
10 revisions
spell-class: ".targeted.ForcetossSpell"
Targeted Spell. Throws your opponent.
Option | Description | Variable Type | Default Value |
---|---|---|---|
damage |
Defines the damage. | Integer | 0 |
vertical-force |
Defines the vertical force. | Float | 10 |
horizontal-force |
Defines horizontal force. | Float | 20 |
rotation |
Defines the degrees to rotate the target. | Float | 0 |
check-plugins |
Defines if events should be registered by other plugins. | Boolean | true |
power-affects-force |
Defines if spell power should affect force. | Boolean | true |
add-velocity-instead |
Defines if the velocity should be added instead of set. | Boolean | false |
avoid-damage-modification |
Defines if damage should be modified by, for example, held items. | Boolean | true |
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."
!!!This is not the official MagicSpells wiki!!!
This wiki was cloned from the official one to document the changes to the plugin that were made specifically for Dwarves vs Zombies 2023 and Lords of Minecraft 2