Combust Spell - TheComputerGeek2/MagicSpells GitHub Wiki

Source Code

spell-class: ".targeted.CombustSpell"

targeting cast argument values:

Value Supported
entity true
location false
entity_from_location false

Description:

A targeted spell that sets the target on fire.

Configuration:

Since 4.0 Beta 13 these options support dynamic values through numeric or string expressions.

Option Description Type Default
fire-ticks How long the target should burn. (in ticks) Integer 100
fire-tick-damage How much damage should be dealt each damage tick. Double 1
prevent-immunity If this is true, the temporary damage immunity given to a player upon taken damage will not be given for this spell. Boolean true
check-plugins If this is true, the spell will attempt to check other plugins for pvp restrictions. Boolean true
power-affects-fire-ticks Boolean true
power-affects-fire-tick-damage Boolean true
constant-fire-tick-damage Since 4.0 Beta 13 Defines expression evaluation behaviour. Boolean true

Example:

combust:
    spell-class: ".targeted.CombustSpell"
    name: combust
    cooldown: 10
    range: 20
    fire-ticks: 100
    fire-tick-damage: 1
    prevent-immunity: true
    target-players: true
    check-plugins: true
    str-no-target: No target found.