Fix T3 set ring prices.

Make the bid chat links more visible.
Slightly increase the reserved chars in officer notes.
This commit is contained in:
Road-block
2017-10-04 05:46:03 +03:00
parent a78b3a797d
commit 5223968831
3 changed files with 17 additions and 16 deletions
+9 -9
View File
@@ -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
+7 -6
View File
@@ -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
+1 -1
View File
@@ -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