Thread Tools Display Modes
06-04-11, 06:24 PM   #1
Narinka
A Chromatic Dragonspawn
Join Date: Oct 2008
Posts: 165
Cast color

Not sure, but I have strong feeling that I had something like that before :\

I mean there was some var or feature to make cast bar color depending on the school that is cast. Like white for arcane, dark for shadow, green for nature etc.. or I just dream?
  Reply With Quote
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

WoWInterface » Featured Projects » OpenRDX » OpenRDX Support » OpenRDX: Feature Requests » Cast color

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off