File tree 3 files changed +17
-6
lines changed
3 files changed +17
-6
lines changed Original file line number Diff line number Diff line change @@ -65,10 +65,21 @@ local _TranslationTable = {
65
65
saved_currency .quantity = saved_currency .quantity or saved_currency .total -- For compatibility
66
66
saved_currency .total = nil
67
67
if not currency_type or currency_type == " " then
68
- -- Earnable amount is shown when total earned amount is under 8000
69
- if saved_currency .totalEarned and saved_currency .totalEarned < 8000 then
70
- currency_type = " 2"
71
- else currency_type = " 0"
68
+ -- Auto-style : Condition for display earnable amount(maximum - earned)
69
+ -- 1) Currency has maximum amount
70
+ -- and 2) Earnable <= 1600
71
+ -- or 3) Total earned < 9000 and Max < 10000
72
+ -- then Type-2 else Type-0
73
+ currency_type = " 0"
74
+ if saved_currency .maxQuantity and saved_currency .maxQuantity > 0 then
75
+ local maxQuantity = saved_currency .maxQuantity or 0
76
+ local totalEarned = saved_currency .totalEarned or 0
77
+ local earnable = maxQuantity - totalEarned
78
+
79
+ if (earnable <= 1600 and earnable >= 0 )
80
+ or (totalEarned < 9000 and maxQuantity < 10000 ) then
81
+ currency_type = " 2"
82
+ end
72
83
end
73
84
end
74
85
if currency_type == " 0" then -- Type-0: [Icon][Quantity]
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ SavedClassic.currencies = {
38
38
[390 ] = { altName = L [" conquest" ] }, -- 4.0.1 PvP Conquest Point
39
39
[614 ] = { altName = L [" MOD" ] }, -- 4.3.4 Cataclysm Mote of Darkness
40
40
[615 ] = { altName = L [" EOC" ] }, -- 4.3.4 Cataclysm Essence of Corrupted Deathwing
41
- [3148 ]= { altName = L [" FSF " ] }, -- 4.4.1 Cataclysm Elemental Rune Dungeon - Protocol Inferno
41
+ [3148 ]= { altName = L [" FS " ] }, -- 4.4.1 Cataclysm Elemental Rune Dungeon - Protocol Inferno
42
42
[416 ] = { altName = L [" MOW" ] }, -- 4.3.4 Cataclysm Mark of the World Tree
43
43
[361 ] = { altName = L [" jewel" ] }, -- 4.0.1 Cataclysm Illustrious Jewelcrafter's Token
44
44
[402 ] = { altName = L [" cook" ] }, -- 4.3.4 Misc. Chef's Award
Original file line number Diff line number Diff line change 1
1
## Interface : 40401
2
2
## Title : Saved! Classic
3
- ## Version : 4.4.1.1
3
+ ## Version : 4.4.1.2
4
4
## X-Curse-Project-ID : 357612
5
5
6
6
## Notes-koKR : 인스턴스 귀속 정보 및 골드, 경험치 한눈에 보기
You can’t perform that action at this time.
0 commit comments