I’m trying to create a macro to cast Power Infusion on a random mage in my raid group. I’d like the macro to target a player and then cast the spell.
Is it possible to create a macro to select a random target from either a list of names or a list of positions in either party or raid?
I’ve read through a lot of descriptions and can’t seem to piece together how to do it. The rand function will return a number, but I can’t associate that with a player. Likewise, the /tar command will work for a specific player, but not a list.
To be clear, I’m not looking to cast a random spell, or else /castrandom would work just fine. I’m looking to cast one spell on a randomly chosen person.