Thread: Cast color
View Single Post
06-04-11, 11:26 PM   #2
unlimit
Lookin' Good
 
unlimit's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2008
Posts: 484
It's probably in there somewhere, I seem to remember that functionality being available too, but if it isn't, I'm sure there is some way to modify my holypower var for it...

Code:
function SetC()
  local school = COMBATLOG_DEFAULT_COLORS.schoolColoring
  
  if (school == ??) then
    return LightYellow;
  elseif (school == ??) then
    return Yellow;
  elseif (school = ??) then
    return DarkYellow;
  else 
    return Black;
  end;
  
end;

varcolor1 = SetC();
Maybe something involving SchoolColoring like above then replacing ?? with whatever numbers or RBG set (like {255, 230, 128} for holy or something)?

http://www.wowwiki.com/API_COMBAT_LO...T#Spell_School
__________________


kúdan: im playing pantheon
JRCapablanca: no youre not
** Pantheon has been Banned. **
  Reply With Quote