if TextStatusBar_OnEvent then TextStatusBar_OnEvent(arg1, arg2) endif TextStatusBar_OnValueChanged then TextStatusBar_OnValueChanged() endBenillaUnitFrameBar_OnEnter(self)BenillaUnitFrameBar_OnLeave(self)BenillaUnitFrameBar_OnMouseUp(self, arg1)if TextStatusBar_OnEvent then TextStatusBar_OnEvent(arg1, arg2) endif TextStatusBar_OnValueChanged then TextStatusBar_OnValueChanged() endBenillaUnitFrameBar_OnEnter(self)BenillaUnitFrameBar_OnLeave(self)BenillaUnitFrameBar_OnMouseUp(self, arg1)PlayerFrameDropDown_OnLoad()if TextStatusBar_OnEvent then TextStatusBar_OnEvent(arg1, arg2) endif TextStatusBar_OnValueChanged then TextStatusBar_OnValueChanged() endBenillaUnitFrameBar_OnEnter(self)BenillaUnitFrameBar_OnLeave(self)BenillaUnitFrameBar_OnMouseUp(self, arg1)if TextStatusBar_OnEvent then TextStatusBar_OnEvent(arg1, arg2) endif TextStatusBar_OnValueChanged then TextStatusBar_OnValueChanged() endBenillaUnitFrameBar_OnEnter(self)BenillaUnitFrameBar_OnLeave(self)BenillaUnitFrameBar_OnMouseUp(self, arg1)TargetFrameDropDown_OnLoad()PetFrameDropDown_OnLoad()if TextStatusBar_OnEvent then TextStatusBar_OnEvent(arg1, arg2) endif TextStatusBar_OnValueChanged then TextStatusBar_OnValueChanged() endBenillaUnitFrameBar_OnEnter(self)BenillaUnitFrameBar_OnLeave(self)BenillaUnitFrameBar_OnMouseUp(self, arg1)if TextStatusBar_OnEvent then TextStatusBar_OnEvent(arg1, arg2) endif TextStatusBar_OnValueChanged then TextStatusBar_OnValueChanged() endBenillaUnitFrameBar_OnEnter(self)BenillaUnitFrameBar_OnLeave(self)BenillaUnitFrameBar_OnMouseUp(self, arg1)
if this.tooltip then
GameTooltip:SetOwner(this, "ANCHOR_RIGHT")
GameTooltip:SetText(this.tooltip)
if this.tooltipDamage then
GameTooltip:AddLine(this.tooltipDamage, "", 1, 1, 1)
end
if this.tooltipLoyalty then
GameTooltip:AddLine(this.tooltipLoyalty, "", 1, 1, 1)
end
GameTooltip:Show()
end
GameTooltip:Hide()
PetFrame_OnLoad()PetFrame_OnEvent(event)PetFrame_OnUpdate(arg1)BenillaPetFrame_OnEnter(this)if SpellIsTargeting() then SetCursor("CAST_ERROR_CURSOR") end GameTooltip:FadeOut()PetFrame_OnClick(arg1)