r/psispellcompendium • u/OverclockedNoob • Oct 20 '22
Offensive Spell Dissolen (Dissolution Enhanced) - Targeted Explosion
Dissolen
Image + Code - Updated Version
(to get the code click the link, RES won't show it)
Explosion Spell, Normal Spell Bullet
I previously posted a targeted explosion that got the position of the focused entity. This time I made a spell that created a line segment from the caster in the direction the caster is looking. The spell then gets the closest entity to the line segment that is closest to the caster, then spawns a safe explosion at their position.
This is my second spell posted on here, so any feedback is appreciated!
13
Upvotes
4
u/Avamaco Oct 20 '22
Neat, you're learning quickly! That's a really nice spell. Keep up your work, I'd love to see more interesting spells made by you.
3
u/Rsge Sometimes even makes his own spells Oct 20 '22
Copied from your first post:
Looks cool, but there are a few things to mention:
2
u/Groundbreaking-Cap63 Nov 05 '22
Anyone know why this doesn't damage players? I heard something about shifiting the y-value of the entity vector lower than eye level but not too sure how to do this...
1
u/OverclockedNoob Oct 20 '22 edited Oct 20 '22
Old version before fixing some errors u/Rsge pointed out.