@@ -168,7 +168,7 @@ function SavedClassic:OnInitialize()
168
168
elseif self .db .global .version < " 4.4.0.7" then
169
169
p (L [" Reset due to update" ](self .db .global .version , self .version ))
170
170
self :ResetWholeDB ()
171
- else
171
+ elseif self . db . global . version < " 4.4.1.3 " then
172
172
for _ , saved in pairs (self .db .realm ) do
173
173
for id , currency in pairs (saved .currencyCount or {}) do
174
174
currency .quantity = tonumber (currency .quantity or currency .total )
@@ -184,6 +184,15 @@ function SavedClassic:OnInitialize()
184
184
end
185
185
end
186
186
end
187
+ if self .db .global .version < " 4.4.2.1" then
188
+ -- Protocol Inferno(Fissure Stone) -> Protocol Twilight(Obsidian Fragment)
189
+ for _ , saved in pairs (self .db .realm ) do
190
+ saved .info1_1 = saved .info1_1 :gsub (L [" FS" ], L [" OF" ])
191
+ saved .info1_2 = saved .info1_2 :gsub (L [" FS" ], L [" OF" ])
192
+ saved .info2_1 = saved .info2_1 :gsub (L [" FS" ], L [" OF" ])
193
+ saved .info2_2 = saved .info2_2 :gsub (L [" FS" ], L [" OF" ])
194
+ end
195
+ end
187
196
188
197
self .db .global .version = self .version
189
198
@@ -306,7 +315,7 @@ function SavedClassic:InitPlayerDB()
306
315
playerdb .info1_1 = format (" \n [%s/00ff00]■[%s] [[%s]] [%s] [%s/ffffff]([%s]: [%s])[%s]" ,
307
316
L [" color" ], L [" color" ], L [" name" ], L [" ilvl" ], L [" color" ], L [" zone" ], L [" subzone" ], L [" color" ])
308
317
playerdb .info2_1 = format (" [%s/ffffff][%s:%s] [%s:%s] [%s:%s] [%s:%s] [%s:%s][%s]" ,
309
- L [" color" ], L [" currency" ], L [" VP" ], L [" currency" ], L [" JP" ], L [" currency" ], L [" conquest" ], L [" currency" ], L [" honor" ], L [" currency" ], L [" FS " ], L [" color" ])
318
+ L [" color" ], L [" currency" ], L [" VP" ], L [" currency" ], L [" JP" ], L [" currency" ], L [" conquest" ], L [" currency" ], L [" honor" ], L [" currency" ], L [" OF " ], L [" color" ])
310
319
playerdb .info2_2 = format (" [%s/ffffff][%s]/[%s][%s]" , L [" color" ], L [" dqCom" ], L [" dqMax" ], L [" color" ])
311
320
end
312
321
0 commit comments