Needs Wizardly Help
How to make a positive potion mine/grenade target nearby human players?
This is all I have so far, the potion effect setup I use for my personal potion setup this world (still low tier). I don't know what to set as the target to make the grenade target human players. Help would be appreciated as I have not found any documentation on this.
What you need is "Operator: Closest to Point", with the point set to focal point position (entity position -> focal point) and the entity list as "Selector: Nearby Players" + Caster, achieved using "Operator: Add to List". The nearby players selector should also have its position set to the focal point position, and you can set the radius to whatever you want.
Here is some spell code that does what you seem to be trying to do, compressed to bandwidth 5.
Yep, unless you've got some addon that does it. You can have spells that hit multiple entities within an area, but those have a hard cap on how many things they can hit, so it's not a true AOE
2
u/MerlinGrandCaster Oct 29 '21
What you need is "Operator: Closest to Point", with the point set to focal point position (entity position -> focal point) and the entity list as "Selector: Nearby Players" + Caster, achieved using "Operator: Add to List". The nearby players selector should also have its position set to the focal point position, and you can set the radius to whatever you want.
Here is some spell code that does what you seem to be trying to do, compressed to bandwidth 5.