How to make a wand that summons friendly undead that behave like wolves?
Latest version. Basically, you right click with a stick, for example, then a skeleton and a zombie form somewhere near you. The scoreboard would make a team exclusive for the 'necromancer' and their summons. The wand would have a 200 tick cooldown and would cap the team at 25. The undead follow you or at least teleport back to you once they venture off too far. They are neutral towards everyone, but aggro on whoever hits you or on whoever you hit.
As far as I can tell, the game needs to check if the players are holding a stick with a custom name and a custom tag, a tag needed so you don't just anvil the stick for a free wand. And maybe instead of the cooldown add a custom pool of mana. . .Might be too complicated that way, but same effect overall.