File tree 2 files changed +10
-3
lines changed
2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,14 @@ local _TranslationTable = {
64
64
local saved_currency = db .currencyCount [id ] or { }
65
65
saved_currency .quantity = saved_currency .quantity or saved_currency .total -- For compatibility
66
66
saved_currency .total = nil
67
- if not currency_type or currency_type == " " or currency_type == " 0" then -- Type-0: [Icon][Quantity]
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"
72
+ end
73
+ end
74
+ if currency_type == " 0" then -- Type-0: [Icon][Quantity]
68
75
result = currency .icon .. (saved_currency .quantity or " " )
69
76
elseif currency_type == " 1" then -- Type-1: [Icon][Quantity]([Earnable])
70
77
local earnable = (saved_currency .totalEarned or 0 ) - (saved_currency .maxQuantity or 0 ) -- Earnable is MINUS value
Original file line number Diff line number Diff line change 1
- ## Interface : 40400
1
+ ## Interface : 40401
2
2
## Title : Saved! Classic
3
- ## Version : 4.4.0.16
3
+ ## Version : 4.4.1.0
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