Skip to content

ProjectileModifySpell

JasperLorelai edited this page Mar 21, 2022 · 17 revisions

Source Code

ProjectileModifySpell modifies all nearby ParticleProjectiles

Configuration:

Option Description Type Default Value
cone If point-blank is set to true, which it is by default, this will make the aoe a cone instead of it being 360 degrees around the caster. Best way to explain it is that it works like the sweep attack on swords. Value is specified in degrees. Double 0
vertical-radius Vertical hit radius for the spell. Double 5
horizontal-radius Horizontal hit radius for the spell. Double 10
max-targets Max targets for the spell. Integer 0
point-blank While set to true, when casted the start location of the spell will be the caster's location. When it's set to false, the spell center will be the block the caster was pointing at while casting the spell. Boolean true
claim-projectiles Should only the projectiles owned by the caster be used? Boolean false
spells A list of spells to be affected by this spell. If this is empty, it will affect all spells. String List null
denied-spells A list of spells that will not be affected by this spell. String List null
spell-tags Any spell with a tag in this list will be affected by this spell. For more information about tags, check the general configuration page String List null
denied-spell-tags Any spell with a tag in this list will not be affected by this spell. For more information about tags, check the general configuration page String List null
projectile-velocity Modifies the velocity (its current velocity is multiplied by the set amount). Float 1
projectile-acceleration Modifies projectile-acceleration. Integer 0
projectile-acceleration-delay Modifies projectile-acceleration-delay. Float 0
projectile-turn Modifies projectile-turn. Float 0
projectile-vert-gravity Modifies projectile-vert-gravity. Float 0
projectile-horiz-gravity Modifies projectile-horiz-gravity. Float 0
tick-interval Modifies tick-interval. Integer 2
spell-interval Modifies spell-interval. Integer 20
intermediate-effects Modifies intermediate-effects. Integer 0
special-effect-interval Modifies special-effect-interval. Integer 1
max-distance Modifies max-distance. Double 15
max-duration Modifies max-duration. Double 0
intermediate-hitboxes Modifies intermediate-hitboxes. Integer 0
tick-spell-limit Modifies tick-spell-limit 0
max-entities-hit Modifies max-entities-hit. Integer 0
hit-radius Modifies hit-radius. Float 1.5
vertical-hit-radius Modifies vertical-hit-radius. Float 1.5
ground-hit-radius Modifies ground-hit-radius. Integer 1
ground-vertical-hit-radius Modifies ground-vertical-hit-radius. Integer 1
hug-surface Modifies hug-surface. Boolean false
height-from-surface Modifies height-from-surface. Float 0.6
controllable Modifies controllable. Boolean false
hit-ground Modifies hit-ground. Boolean true
hit-air-at-end Modifies hit-air-at-end. Boolean false
hit-air-during Modifies hit-air-during. Boolean false
hit-air-after-duration Modifies hit-air-after-duration. Boolean false
stop-on-hit-ground Modifies stop-on-hit-ground. Boolean true
stop-on-modifier-fail Modifies stop-on-modifier-fail. Boolean true
spell-on-hit-air Modifies spell-on-hit-air. String ""
spell-on-hit-self Modifies spell-on-hit-self. String ""
spell-on-tick Modifies spell-on-tick. String ""
spell-on-hit-ground Modifies spell-on-hit-ground. String ""
spell-on-hit-entity Modifies spell-on-hit-entity. String ""
spell-on-duration-end Modifies spell-on-duration-end. String ""
spell-on-modifier-fail Modifies spell-on-modifier-fail. String ""
spell-on-entity-location Modifies spell-on-entity-location. String ""
projectile-modifiers Modifies projectile-modifiers. String List ""

Examples:

Slow-Motion:
    spell-class: ".targeted.ProjectileModifySpell"
    horizontal-radius: 20
    vertical-radius: 20
    point-blank: true
    projectile-velocity: 0.25
    spells:
        - PROJ_TEST1

Clone this wiki locally