Hooksecurefunc on DruidComboPointMixin

hooksecurefunc( DruidComboPointMixin, "SetActive", function( self, isActive )
	if isActive then
		self.Point_Icon:Show()
	else
		self.Point_Icon:Hide()
	end
	
	self.FB_Slash:Hide()
	self.activateAnim:Stop()
	self.deactivateAnim:Stop()
end )

This code works IF I logout and login. If I reload it stops working completely, unless I get out of Cat Form before reloading.
Does anyone know how to fix that?

The goal was to remove the animation for the combo points as its often distracting me.

I think you need to hook it to the parent frame not the mixin. Try:

hooksecurefunc( DruidComboPointTemplate, "SetActive", function( self, isActive )
	if isActive then
		self.Point_Icon:Show()
	else
		self.Point_Icon:Hide()
	end
	
	self.FB_Slash:Hide()
	self.activateAnim:Stop()
	self.deactivateAnim:Stop()
end )

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.