<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -277,10 +277,9 @@ local Happiness_Update = function(self, event, unit)
 end
 
 local durationTimer = function(self, elapsed)
-	local id = self:GetID()
-	local _, _, _, _, _, _, expirationTime = UnitAura(self.unit, self:GetID(), &quot;HARMFUL&quot;)
+	local expirationTime = select(7, UnitAura(self.unit, self:GetID(), &quot;HARMFUL&quot;))
 
-	if expirationTime then
+	if expirationTime and (expirationTime - GetTime()) &lt; 300 then
 		self.duration:SetText(floor(expirationTime - GetTime() + 0.5))
 	else
 		return self:SetScript(&quot;OnUpdate&quot;, nil)
@@ -292,6 +291,10 @@ local PostUpdateAuraIcon = function(self, icons, unit, icon, index, offset, filt
 
 	name, rank, btexture, count, dtype, duration, timeLeft, isPlayer = UnitAura(unit, index, filter)
 
+	if not isPlayer then
+		icon:SetAlpha(0.6)
+	end
+
 	if isDebuff and timeLeft and timeLeft &gt; 0 then
 		icon:SetScript(&quot;OnUpdate&quot;, durationTimer)
 		icon.duration:Show()
@@ -323,7 +326,7 @@ local OnLeave = function()
 	return GameTooltip:Hide()
 end
 
-local condom = setmetatable({}, {__index = function(self, key)
+local condom = setmetatable({}, {__index = function()
 	return dummy
 end})
 
@@ -390,14 +393,6 @@ local CreateAuraIcon = function(self, icons, index, isDebuff)
 	return button
 end
 
-local Cast_Start = function(self, event, unit, name, rank, text, id)
-	self.Name:Hide()
-end
-
-local Cast_Stop = function(self, event, unit)
-	self.Name:Show()
-end
-
 local frame = function(settings, self, unit)
 	self.menu = menu
 
@@ -493,30 +488,6 @@ local frame = function(settings, self, unit)
 	name:SetShadowOffset(1, -1)
 	name:SetTextColor(1,1,1,1)
 
-	local cbar = CreateFrame(&quot;StatusBar&quot;, nil, self)
-	cbar:Hide()
-	cbar:SetHeight(30)
-	cbar:SetWidth(width)
-	cbar:SetAlpha(0.8)
-	cbar:SetStatusBarTexture(texture)
-	cbar:SetAllPoints(hp)
-
-	local ctext = cbar:CreateFontString(nil, &quot;OVERLAY&quot;)
-	ctext:SetPoint(&quot;LEFT&quot;, self, &quot;LEFT&quot;, 14, 0)
-	ctext:SetPoint(&quot;TOP&quot;, 0, -5)
-	ctext:SetPoint(&quot;BOTTOM&quot;, 0, 5)
-	ctext:SetPoint(&quot;RIGHT&quot;, hval, &quot;LEFT&quot;)
-	ctext:SetJustifyH(&quot;LEFT&quot;)
-	ctext:SetFont(supernova, 10, &quot;THINOUTLINE&quot;)
-	ctext:SetShadowColor(0,0,0,1)
-	ctext:SetShadowOffset(1, -1)
-	ctext:SetTextColor(1,1,1,1)
-
-	cbar.Text = ctext
-	self.Castbar = cbar
-	self.PostCastStart = Cast_Start
-	self.PostCastStop = Cast_Stop
-
 	self.Name = name
 	self.OverideUpdateName = Name_Update
 </diff>
      <filename>core.lua</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>688cbd9650ebdc3a9384b2d144237feebac2c673</id>
    </parent>
  </parents>
  <author>
    <name>Chris Bannister</name>
    <email>c.bannister@gmail.com</email>
  </author>
  <url>http://github.com/Zariel/ouf_kanne2/commit/87d6011e980e4f9498cfe1f2e43594b808e697f5</url>
  <id>87d6011e980e4f9498cfe1f2e43594b808e697f5</id>
  <committed-date>2009-02-11T05:22:13-08:00</committed-date>
  <authored-date>2009-02-11T05:22:13-08:00</authored-date>
  <message>Cast bar sucks</message>
  <tree>339acccc284ae002b481fa322789b4e42a58a172</tree>
  <committer>
    <name>Chris Bannister</name>
    <email>c.bannister@gmail.com</email>
  </committer>
</commit>
