GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
GameTooltip:SetText(5-this:GetValue());
GameTooltip:SetText(5-this:GetValue());
GameTooltip:Hide();
GameTooltip:SetText(5-this:GetValue());
NecrosisConfig.SoulshardContainer = 4-this:GetValue();
Necrosis_SoulshardSwitch("MOVE");
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
if this:GetValue() == 1 then
GameTooltip:SetText(NECROSIS_CONFIGURATION.Count.Shard);
elseif this:GetValue() == 2 then
GameTooltip:SetText(NECROSIS_CONFIGURATION.Count.Inferno);
else
GameTooltip:SetText(NECROSIS_CONFIGURATION.Count.Rez);
end
if this:GetValue() == 1 then
GameTooltip:SetText(NECROSIS_CONFIGURATION.Count.Shard);
elseif this:GetValue() == 2 then
GameTooltip:SetText(NECROSIS_CONFIGURATION.Count.Inferno);
else
GameTooltip:SetText(NECROSIS_CONFIGURATION.Count.Rez);
end
GameTooltip:Hide();
NecrosisConfig.CountType = this:GetValue();
Necrosis_BagExplore();
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
if this:GetValue() == 1 then
GameTooltip:SetText(NECROSIS_CONFIGURATION.Count.Shard);
else
GameTooltip:SetText(NECROSIS_CONFIGURATION.Count.Rez);
end
if this:GetValue() == 1 then
GameTooltip:SetText(NECROSIS_CONFIGURATION.Count.Shard);
else
GameTooltip:SetText(NECROSIS_CONFIGURATION.Count.Rez);
end
GameTooltip:Hide();
NecrosisConfig.Circle = this:GetValue();
Necrosis_BagExplore();
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
if (this:GetValue() == 1) then
GameTooltip:SetText(NECROSIS_COLOR_TOOLTIP.Pink);
elseif (this:GetValue() == 2) then
GameTooltip:SetText(NECROSIS_COLOR_TOOLTIP.Blue);
elseif (this:GetValue() == 3) then
GameTooltip:SetText(NECROSIS_COLOR_TOOLTIP.Orange);
elseif (this:GetValue() == 4) then
GameTooltip:SetText(NECROSIS_COLOR_TOOLTIP.Turquoise);
elseif (this:GetValue() == 5) then
GameTooltip:SetText(NECROSIS_COLOR_TOOLTIP.Purple);
else
GameTooltip:SetText(NECROSIS_COLOR_TOOLTIP.X);
end
GameTooltip:SetText(this:GetValue());
if (this:GetValue() == 1) then
GameTooltip:SetText(NECROSIS_COLOR_TOOLTIP.Pink);
NecrosisConfig.NecrosisColor = "Rose";
NecrosisButton:SetNormalTexture("Interface\\AddOns\\Necrosis\\UI\\Rose\\Shard16");
elseif (this:GetValue() == 2) then
GameTooltip:SetText(NECROSIS_COLOR_TOOLTIP.Blue);
NecrosisConfig.NecrosisColor = "Bleu";
NecrosisButton:SetNormalTexture("Interface\\AddOns\\Necrosis\\UI\\Bleu\\Shard16");
elseif (this:GetValue() == 3) then
GameTooltip:SetText(NECROSIS_COLOR_TOOLTIP.Orange);
NecrosisConfig.NecrosisColor = "Orange";
NecrosisButton:SetNormalTexture("Interface\\AddOns\\Necrosis\\UI\\Orange\\Shard16");
elseif (this:GetValue() == 4) then
GameTooltip:SetText(NECROSIS_COLOR_TOOLTIP.Turquoise);
NecrosisConfig.NecrosisColor = "Turquoise";
NecrosisButton:SetNormalTexture("Interface\\AddOns\\Necrosis\\UI\\Turquoise\\Shard16");
elseif (this:GetValue() == 5) then
GameTooltip:SetText(NECROSIS_COLOR_TOOLTIP.Purple);
NecrosisConfig.NecrosisColor = "Violet";
NecrosisButton:SetNormalTexture("Interface\\AddOns\\Necrosis\\UI\\Violet\\Shard16");
else
GameTooltip:SetText(NECROSIS_COLOR_TOOLTIP.X);
NecrosisConfig.NecrosisColor = "X";
NecrosisButton:SetNormalTexture("Interface\\AddOns\\Necrosis\\UI\\X\\Shard16");
end
GameTooltip:Hide();
Necrosis_BagExplore();
if (this:GetChecked()) then
NecrosisConfig.SoulshardSort = true;
else
NecrosisConfig.SoulshardSort = false;
end
if (this:GetChecked()) then
NecrosisConfig.SoulshardDestroy = true;
else
NecrosisConfig.SoulshardDestroy = false;
end
if (this:GetChecked()) then
NecrosisConfig.ShowCount = true;
else
NecrosisConfig.ShowCount = false;
end
Necrosis_BagExplore();
HideUIPanel(NecrosisShardMenu);