View Single Post
06-15-10, 07:57 AM   #3
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,740
The fuels in vehicles use "AMMOSLOT" and "FUEL" in the default color table. Others are not specified.

http://wowprogramming.com/utils/xmlb.../UnitFrame.lua

If your want to make the shield appear. Using sth. like this will work in oUF 1.3.28

Code:
local function checkShield(self, event, unit, interrupt)
  if interrupt then
    --show shield
  else
    --no shield
  end
end

local function checkCast(event, unit, name, rank, text, castid, interrupt)
  checkShield(self, event, unit, interrupt)
end

local function checkChannel(event, unit, name, rank, text, interrupt)
  checkShield(self, event, unit, interrupt)
end

self.PostCastStart = checkCast
self.PostChannelStart = checkChannel
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
  Reply With Quote