Ok, so let me explain. I have 3 scoreboards set up: use
, which tests for when a player breaks an emerald block, att
to move the use
score over to, and targ
which is set when someone is being targeted, which should be a 10 block radius that is not the executor. The problem is that targ
is given to everyone in the 10 block radius, including the executor.
Here are the commands that are fine.
testfor @a[score_use_min=1]
which is on a clock, running into scoreboard players set @a[score_use_min=1] att 1
into scoreboard players set @a use 0
into the command block with the problem, this one:
execute @a[score_att_min=1] ~ ~ ~ scoreboard players set @e[r=10,score_att==0] targ 1
. What's wrong with it? Why is every entity in the 10 block radius given the targ
score of one?