Started by
Dwayne Salore2
on
Topic category: Help with Minecraft modding (Java Edition)
How do i make a procedure that can do aoe attack
basically how do i make it so that if your at a specific amount of blocks away from a mob it can deal damage to you
Edited by Dwayne Salore2 on Mon, 06/21/2021 - 14:01
You could use the Vanilla command: ""/effect give @e[distance=..15] speed 10 10 true"" together with a Area Effect cloud: https://mcstacker.bimbimma.com/#!33817
/effect give @e[distance=..15] speed 10 10 true
trueat the end means that the particles are invisablespeed 10 10means that it gives all entities in that range speed for 10 seconds at level 11distance=15will only refer to players 15 blocks away from the command block, anddistance=..15will refer to players up to 15 blocks away from the command block.("..15" means less than or equal to 15)
really raid shadow legends -_-