home Forumsplay_arrow Discussions play_arrow Creations


Making RPG Classes With Commands and I Need Help...

1 emeralds1 reply38 views
created 07/12/2019 1:04 am by AlienCommander
last reply 07/12/2019 10:23 pm
So I have been trying to make rpg classes using commands. Right now I want to make a wizard like class that has an aoe abbility that sets all enemies around it on fire. The command I was trying was,
  (In a command block)
execute at @p[team=Red] run data merge @e[team=!Red] {Fire:200}
but it wants me to only select 1 entity at a time and it would only select the same one over and over again. If anyone has an Idea please help.
Posted by avatar
Level 12 : Journeyman Miner

comment Login or register to post a reply.

1 reply

07/12/2019 10:23 pm
Level 7 : Apprentice Modder
execute as @p[team=Red] at @s run execute as @e[team=!Red,distance=..10] run data merge @s {Fire:200}
Although I suggest putting a 2 tags for the red member to 1. know if its a wizard and 2. to know if they activated their ability

Planet Minecraft



© 2010 - 2019