MV Plugin combination for illuminated spells

Hey guys,

I’ve a very specific plugin request.
I’m making a magic game and wanna make illuminated spells on the map (action fight system).
(example picture at the end)

I’m using Galv’s Map Projectiles for the spell projectiles and TerraxLighting for my lights in general, both are working great. (links at the end)

Galv's projectiles can be “summoned” by a some script call with different settings like direction etc:
e.g. “Galv.PROJ.atTarget(sid,tid,s,d,[…])”

Now it would be cool to add a new option there to create a light on the moving projectiles with the terrax plugin settings. e.g. “Galv.PROJ.atTarget(sid,tid,s,d, [...], lightradius, lightcolor)”

Examples:
player is shooting a big red spell -> it should be surronend by big red light
enemies are shooting different spells (at the same time) -> should be surrounded by different lights


I tried a lot with my low basic JavaScript knowledge but it doesn't worked out very well, so I really hope you can help me. That’s my first post so I hope I’m in the right section here.

Thank you.

--------------------------------------------------------------------------------

Galv’s Map Projectiles
https://forums.rpgmakerweb.com/index.php?threads/galvs-map-projectiles.68281/

TerraxLighting
https://forums.rpgmakerweb.com/index.php?threads/terrax-lighting-system.49339/

Should look like this in the end:
Example_lights-spells.png

Original thread: https://forums.rpgmakerweb.com/threads/plugin-combination-for-illuminated-spells.153733/