Still no luck
Here is the exact code:
Code:
function SetTalentedBindings()
local od = RDXDB.GetObjectData("shakar_Heal2:badAuras");
if ( GetActiveTalentGroup() == 2 ) then
RDXDB.SetSymLinkTarget("shakar_Heal2:bindings_sym", "shakar_Heal2:current_bindings_disc")
local found = false;
for i=1, #(od.data) do if (od.data[i] == 6788) then found = true; end; end;
if (found == false) then table.insert(od.data, 6788); end;
else
RDXDB.SetSymLinkTarget("shakar_Heal2:bindings_sym", "shakar_Heal2:current_bindings")
for i=1, #(od.data) do if (od.data[i] == 6788) then table.remove(od.data, i); end; end;
end
local inst = RDXDB.GetObjectInstance("shakar_Heal2:badAuras");
if inst then RDXDB.WriteFilter(inst,od); end
end
WoWEvents:Bind("PLAYER_ENTERING_WORLD", nil, SetTalentedBindings, "RDX_TALENTBINDINGS");
WoWEvents:Bind("PLAYER_TALENT_UPDATE", nil, SetTalentedBindings, "RDX_TALENTBINDINGS2");
Any other ideas?