Can't make a Fireball execute a command in a radius

//ads -- adsterra.com -- native banner
?>
What I'm trying to do is simply this:
/execute @e[type=Fireball] ~ ~ ~ scoreboard players set @a[score_mage_min=1] Cooldown 15
And applying it only to players with mage score of 1 in a 2 block radius. So I found out that I had to make something like this:
/execute @e[type=Fireball] ~ ~ ~ scoreboard players set @a[score_mage_min=1,r=2] Cooldown 15
However it doesn't work, and I cannot realize why.
Best Answer
You have to do:
/execute @e[type=Fireball] ~ ~ ~ scoreboard players set @a[score_mage_min=1,r=3] Cooldown 15
So make it in a radius of 3 instead of 2. And if you want to make fireballs do:
/execute @e[type=Snowball] ~ ~ ~ /summon Fireball ~ ~ ~ {direction:[],ExplosionPower:1}
Pictures about "Can't make a Fireball execute a command in a radius"



Can - Mother Sky (1970) [HQ]
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Ketut Subiyanto, George Milton, Pressmaster, Pressmaster