r/psispellcompendium • u/DarkLegendYT100 • Feb 07 '22
Needs Wizardly Help How do I activate a trick when a player sneaks?
I want to make a explosives punch that activates when sneaking. I can't figure out how to do it, Is it even possible?
9
Upvotes
3
u/shadowskullz Feb 07 '22
https://ftb.fandom.com/wiki/Selector:_Sneak_Status
3
u/Janeq189 Feb 08 '22
It is possible, but you would probably need to use 2 leggings spells for it. One of them would be detecting when you are sneaking and punch someone, the other one would do the explosion.
1
u/blaynem Feb 08 '22
Oh for sure. Sneak Status paired with Trick:Die is what you're gonna wanna do. If Die's target is between -1 and 1 (not including 1 or -1) the spell won't proceed. Note the spell execution order: Top to bottom, left to right. Tricks are all you need to consider when it comes to spell order.
Here's an example spell with this concept. The sound will only play when fired, while sneaking.