if uncolored name of player's tool is "Wand Of Poison":
if {cooldown.%player%} is true:
message "&6you have to wait"
stop
cancel event
if {cooldown.%player%} isn't set:
set {cooldown.%player%} to false
if {cooldown.%player%} is false:
set {cooldown.%player%} to true
loop all mobs in radius 4 of player
apply slowness 4 to loop-mobs for 30 seconds
apply weakness 4 to loop-mobs for 30 seconds
message "&byou used your poison wand"
wait 3 seconds
set {cooldown.%player%} to false
So, I want to apply potion effects to mobs within a certain radius when I right click with an item, however it says there's no loop that matches loop mobs and says can't understand this condition /effect loop all mobs in radius 4 of player.
Question
duhnoob1010
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now