Ok, so first off, let me apologize about my English
I try to edit the color of an FanART used like an UnitFrame. I try to change it in function of the target class, so what i made : -Go to Animation, set the Main-Animation to Custom, give it a Duration of 1s or whatever
-Check the Box next to Color and choose Custom Function in the dropdown menu, expand the text editor and replace with some macro (never workd proprely) from here : threads/1680410-Weak-Auras-Question-about-Custom-Text(with some edit by myself)
Help pls :s
Screen : /imgur.com/a/6jhQo (as you see, the color of the target stay red. I want it to be, for example, green when i target a hunter)