Guest User

Psi spell stuff - Leomund's Tiny Hut side notes

a guest
Dec 19th, 2017
359
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.65 KB | None | 0 0
  1. I set about compressing the spell, simply moving around pieces. After a while, I hit upon the idea of using a vector construct and Operator: Vector Extract X/Y/Z's to carry the different variables around to the parts of the spell that needed it. While this does add complexity by doing this, it also SAVES on complexity because it saved me from needing multiple copies of the same loopcast formula in different areas of the spell - I could simply use one of each.
  2.  
  3. I also simplified the math for one of the parts (thank God for online graphing calculators, I use them a lot with Psi), switching the original "loopcast variable, int-divided by 9, mod 2, all multiplied by 4, then subtract 2" for the less complex "-1 to the power of (loopcast variable, int-divided by 9), all multiplied by 2". Both give the same result when graphed. That saved me some space, as well as 1 complexity. I initially tried using a sine or cosine wave with some rounding and extra math, but I wasn't able to make it less complex than the original formula.
  4.  
  5. I made all the loopcast equations all use the same Selector: Loopcast Index. Harder than it sounds, took an hour or two to make it work right.
  6.  
  7. Instead of using two different -1's in loopcast equations Y and Z, I made a (0,-1,-1) vector construct and added it to the original vector construct. This saves no complexity, but it does allow me to move some of the math away from the rest, which helps fit the spell into a somewhat smaller area.
  8.  
  9. https://www.desmos.com/calculator - The online graphing calculator I use. It's free, and it's helped me with many spells. I would highly recommend using it to help make spells with complicated math involved.
Advertisement
Add Comment
Please, Sign In to add comment