- TitanClassicRepair : Another hidden text change.
HonorGoG [06-06-21 - 23:56]
- TitanClassicRepair : Another hidden text change.
diff --git a/TitanClassicRepair/TitanClassicRepair.lua b/TitanClassicRepair/TitanClassicRepair.lua
index 062e006..8bebc38 100644
--- a/TitanClassicRepair/TitanClassicRepair.lua
+++ b/TitanClassicRepair/TitanClassicRepair.lua
@@ -943,19 +943,18 @@ function TitanPanelRepairButton_GetButtonText(id)
end
if (not TPR.MerchantisOpen or (TPR.MerchantisOpen and not canRepair)) then
- if TitanGetVar(TITAN_REPAIR_ID, "DiscountHonored") then
+ if TitanGetVar(TITAN_REPAIR_ID, "DiscountFriendly") then
+ sum = sum * 0.95;
+ discountlabel = FACTION_STANDING_LABEL5;
+ elseif TitanGetVar(TITAN_REPAIR_ID, "DiscountHonored") then
sum = sum * 0.90;
discountlabel = FACTION_STANDING_LABEL6;
- elseif TitanGetVar(TITAN_REPAIR_ID, "DiscountPVP") then
- sum = sum * 0.80;
- local start=string.find("(",L["REPAIR_LOCALE"]["pvp"]);
- local stop=string.find(")",L["REPAIR_LOCALE"]["pvp"],start+1);
- discountlabel = string.sub(L["REPAIR_LOCALE"]["pvp"], start+1, stop-1);
- elseif TitanGetVar(TITAN_REPAIR_ID, "DiscountCombined") then
+ elseif TitanGetVar(TITAN_REPAIR_ID, "DiscountRevered") then
+ sum = sum * 0.85;
+ discountlabel = FACTION_STANDING_LABEL7;
+ elseif TitanGetVar(TITAN_REPAIR_ID, "DiscountExalted") then
sum = sum * 0.80;
- local start=string.find("(",L["REPAIR_LOCALE"]["combined"]);
- local stop=string.find(")",L["REPAIR_LOCALE"]["combined"],start+1);
- discountlabel = string.sub(L["REPAIR_LOCALE"]["combined"], start+1, stop-1);
+ discountlabel = FACTION_STANDING_LABEL8;
end -- if merchant
end -- if discounts