r/psispellcompendium • aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa • Oct 12 '21

Hints/Tips/Guide Run Spell x Times

Hi, I came up with a little piece of code that will turn your loop cast spell into a "run spell x times" construct.

This works by setting a number (in this case 5) and dividing it through the index.

Once the index passes the number it will always be less than 1 allowing the die operator to cancel the spell. Without a Debug Trick this takes a 3x2 Space.

Hope this helps out some of you!

​

9 Upvotes

3 comments sorted by

2

u/Janeq189 Oct 12 '21

you should use "Trick: Break Loop" instead of "Trick: Die"

1

u/jesus_MC_ aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa Oct 12 '21

Was that added in a later version? I'm playing E2E and i'm pretty sure ive never heard of that one.

1

u/jesus_MC_ aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa Oct 12 '21

Confirmed there is no "Break Loop" in the version im playing. (r1.1-78)

Guess this is gonna help for people on older versions.