From 5223968831c00531a0fda7ddab5f86e46dd12f78 Mon Sep 17 00:00:00 2001 From: Road-block Date: Wed, 4 Oct 2017 05:46:03 +0300 Subject: [PATCH] Fix T3 set ring prices. Make the bid chat links more visible. Slightly increase the reserved chars in officer notes. --- prices.lua | 18 +++++++++--------- shootyepgp.lua | 13 +++++++------ shootyepgp.toc | 2 +- 3 files changed, 17 insertions(+), 16 deletions(-) diff --git a/prices.lua b/prices.lua index a2bf0ee..ff197f6 100644 --- a/prices.lua +++ b/prices.lua @@ -181,15 +181,15 @@ local prices = { [23054] = {200,"T3"}; --"Gressil, Dawn of Ruin" [23056] = {240,"T3"}; --Hammer of the Twisting Nether [23057] = {140,"T3"}; --Gem of Trapped Innocents - [23059] = {500,"T3"}; --Dreadnaught's Battlegear - [23060] = {500,"T3"}; --Bonescythe Armor - [23061] = {500,"T3"}; --Vestments of Faith - [23062] = {500,"T3"}; --Frostfire Regalia - [23063] = {500,"T3"}; --Plaguehart Raiment - [23064] = {500,"T3"}; --Dreamwalker Raiment - [23065] = {500,"T3"}; --The Earthshatterer - [23066] = {500,"T3"}; --Redemption Armor - [23067] = {500,"T3"}; --Cryptstalker Armor + [23059] = {160,"T3"}; --Dreadnaught's Battlegear + [23060] = {160,"T3"}; --Bonescythe Armor + [23061] = {160,"T3"}; --Vestments of Faith + [23062] = {160,"T3"}; --Frostfire Regalia + [23063] = {160,"T3"}; --Plaguehart Raiment + [23064] = {160,"T3"}; --Dreamwalker Raiment + [23065] = {160,"T3"}; --The Earthshatterer + [23066] = {160,"T3"}; --Redemption Armor + [23067] = {160,"T3"}; --Cryptstalker Armor [23068] = {124,"T3"}; --Legplates of Carnage [23069] = {18,"T3"}; --Necro-knight Garb [23070] = {136,"T3"}; --Leggings of Polarity diff --git a/shootyepgp.lua b/shootyepgp.lua index 9fb92ad..174a269 100644 --- a/shootyepgp.lua +++ b/shootyepgp.lua @@ -23,8 +23,8 @@ local running_check,running_bid local partyUnit,raidUnit = {},{} local reserves_blacklist,bids_blacklist = {},{} local bidlink = { - ["ms"]="|cffFF3333|Hshootybid:1:$ML|h[Mainspec/Need]|h|r", - ["os"]="|cff009900|Hshootybid:2:$ML|h[Offspec/Greed]|h|r" + ["ms"]="|cffFF3333|Hshootybid:1:$ML|h[Mainspec/NEED]|h|r", + ["os"]="|cff009900|Hshootybid:2:$ML|h[Offspec/GREED]|h|r" } do for i=1,40 do @@ -307,7 +307,7 @@ end function sepgp:bidPrint(link,masterlooter,need,greed,bid) local mslink = string.gsub(bidlink["ms"],"$ML",masterlooter) local oslink = string.gsub(bidlink["os"],"$ML",masterlooter) - local msg = string.format("Click to bid $MS or $OS for %s",link) + local msg = string.format("Click $MS or $OS for %s",link) if (need and greed) then msg = string.gsub(msg,"$MS",mslink) msg = string.gsub(msg,"$OS",oslink) @@ -333,7 +333,8 @@ function sepgp:bidPrint(link,masterlooter,need,greed,bid) chatframe = DEFAULT_CHAT_FRAME end if (chatframe) then - chatframe:AddMessage(string.format(out,msg)) + chatframe:AddMessage(" ") + chatframe:AddMessage(string.format(out,msg),NORMAL_FONT_COLOR.r,NORMAL_FONT_COLOR.g,NORMAL_FONT_COLOR.b) end end @@ -1209,9 +1210,9 @@ admin = function() end sanitizeNote = function(prefix,epgp,postfix) - -- reserve 11 chars for the epgp pattern {xxxx:yyyy} max public/officernote = 31 + -- reserve 12 chars for the epgp pattern {xxxx:yyyy} max public/officernote = 31 local remainder = string.format("%s%s",prefix,postfix) - local clip = math.min(31-11,string.len(remainder)) + local clip = math.min(31-12,string.len(remainder)) local prepend = string.sub(remainder,1,clip) return string.format("%s%s",prepend,epgp) end diff --git a/shootyepgp.toc b/shootyepgp.toc index e3dd7a7..a04a734 100644 --- a/shootyepgp.toc +++ b/shootyepgp.toc @@ -3,7 +3,7 @@ ## Notes: Effort Points/Gear Points Loot System ## Author: Roadblock ## X-Credits: shooty for original version -## Version: 3.12 +## Version: 3.13 ## OptionalDeps: Ace2 ## SavedVariables: sepgp_saychannel,sepgp_groupbyclass,sepgp_raidonly,sepgp_decay,sepgp_reservechannel,sepgp_main,sepgp_progress,sepgp_discount ## SavedVariablesPerCharacter: sepgp_log, sepgp_dbver