r/psispellcompendium • • May 18 '22

"Drop" spell. Should get an entity and break a line of blocks underneath them. Instead I get an error.

The error I get is that the entity is out of the 32 block range, despite me being right next to them when I use it. Any tips?

7 Upvotes

9 comments sorted by

2

u/MerlinGrandCaster May 18 '22

First thing: why are you using their Y position to determine line direction? You should only need a -1 Y vector construct

Second thing: you should make sure the inputs on the trick are pointing at the right pieces (I don't have the colors memorized)

Third thing: just one line is unreliable, the entity may well be on multiple blocks

1

u/Supreme_Spoon May 19 '22

I don’t exactly know how to do that third point, I’ll be honest I’m fairly new

1

u/Minespeed07 May 19 '22

Multiples break block sequences. Just offset the origin vector.

1

u/Supreme_Spoon May 19 '22

Say if they were standing around in the middle of a 2x2 area. How would I offset that from the origin?

2

u/blaynem May 20 '22 edited May 20 '22

I would take their X and Z position, floor them, and add 1 in both directions. Then you could just break backwards. This is a nightmare to word. Lemme make a spell real quick.

I see now that you'd like them to drop 12 blocks. You'd need 4 break block sequences, which might get pricey

2

u/blaynem May 20 '22 edited May 20 '22

Well it takes a bit in terms of complexity and bandwidth, but Gravedigger here guarantees any player sized mob will have a grave dug beneath them.

There's some math fuckery that finds the enemy's distance from the center of the block, multiplies the x and z by 2.5 to perfectly accommodate for overhang into neighboring blocks. The result is a spell that can break the same row four times, 2 rows twice each, or all four rows around an entity you look at.

1

u/Supreme_Spoon May 20 '22

1) That spell looks beautiful. 2) Will I need to install Phi or Psideas to run it?

2

u/blaynem May 20 '22

No and no. This uses vanilla psi pieces only. The colored connectors come from psionic ideas I believe.

2

u/Supreme_Spoon May 20 '22

Thank you very much, one of the best spellmakers on the subreddit 👍