Originally Posted by wurmfood
Code:
local postCastStart = function(self, event, unit, name, rank, text, castid, interrupt)
if( interrupt ) then
self.Castbar.bg:Hide()
self.Castbar.Shield:Show()
else
self.Castbar.bg:Show()
self.Castbar.Shield:Hide()
end
end
local spellInterruptable = function(self, event, unitID)
if( self.unit == unitID ) then
if( event == 'UNIT_SPELLCAST_NOT_INTERRUPTABLE' ) then
self.Castbar.bg:Hide()
self.Castbar.Shield:Show()
else
self.Castbar.bg:Show()
self.Castbar.Shield:Hide()
end
end
end
|
hey wurm thx for the reply i was just wondering if
local postCastStart = function(self, event, unit, name, rank, text, castid, interrupt)
if( interrupt ) then
self.Castbar.bg:Hide()
self.Castbar.Shield:Show()
else
self.Castbar.bg:Show()
self.Castbar.Shield:Hide()
end
end
is at all necessary?