My rotation addon is progressing nicely and I’ve found ways to auto-localize it with regards to Items and Spells and Auras.
I’ve run into something with Shaman that I can’t quite wrap my head around.
This assumes Primal Elementalist talent selected.
Fire Elemental, for example, summons a proper “pet” (there’s a pet control bar) that lasts for a little while.
Earth Elemental does the same thing.
With the English client, I can check UnitName(‘pet’) to match the pet’s name with the Primal Fire Elemental or Primal Earth Elemental easily enough.
But I can’t figure out any way to identify those pets that isn’t by name.
I know, for example, that a Primal Fire Elemental is npc ID 61029, but I don’t know how to use that npc ID to get the localized name of it.
Does anyone have any clue how I might do that?