Colored target in cast text

Colored target in cast text

0 Downloads

Simply adds the target of a cast to the spell text, and colors it to match the class of the target (green if the target isn't a player).

This Plater mod caches colors for names to improve performance. In order for the cache to work, it needs to be stored on a global variable. The reason for this is that Plater recompiles mods often and this dumps the cache. I named this global variable PoliClassColorCache, which should be unique enough to avoid any issues with other variables on the global table.