self.isBonus = 1; ActionButton_OnLoad(self); self:RegisterEvent("UPDATE_BONUS_ACTIONBAR"); self:SetFrameLevel(self:GetFrameLevel() + 2); local cooldown = _G[self:GetName().."Cooldown"]; cooldown:SetFrameLevel(cooldown:GetFrameLevel() + 2);
self:SetChecked(not self:GetChecked()); ShapeshiftBar_ChangeForm(self:GetID());
if ( GetCVarBool("UberTooltips") ) then GameTooltip_SetDefaultAnchor(GameTooltip, self); else GameTooltip:SetOwner(self, "ANCHOR_RIGHT"); end GameTooltip:SetShapeshift(self:GetID());
PossessButton_OnClick(self, button, down);
PossessButton_OnEnter(self, motion);
GameTooltip:Hide();