@@ -68,7 +68,8 @@ local tRecipeSkill = {
68
68
{L (" STR_TIP_COOKING" ), 4 },
69
69
{L (" STR_TIP_TAILORING" ), 5 },
70
70
{L (" STR_TIP_FOUNDING" ), 6 },
71
- {L (" STR_TIP_MEDICINE" ), 7 }
71
+ {L (" STR_TIP_MEDICINE" ), 7 },
72
+ {L (" STR_TIP_RECASTING" ), 14 }
72
73
}
73
74
74
75
local tPosionType = {
@@ -118,6 +119,31 @@ local tSearchSort = {
118
119
},
119
120
},
120
121
[5 ] = {
122
+ szType = L (" STR_RETRIEVAL_EQUIPREFINING" ),
123
+ nTypeID = " 14a" ,
124
+ tSubSort = {
125
+ L (" STR_RETRIEVAL_VITALITY" ), L (" STR_RETRIEVAL_AGILITY" ), L (" STR_RETRIEVAL_SPIRIT" ),
126
+ L (" STR_RETRIEVAL_STRENGTH" ), L (" STR_RETRIEVAL_SPUNK" ), L (" STR_RETRIEVAL_STRAIN" ),
127
+ L (" STR_RETRIEVAL_TOUGHNESS" ), L (" STR_RETRIEVAL_BLOOD" ), L (" STR_RETRIEVAL_DODGE" ),
128
+ L (" STR_RETRIEVAL_PARRYVALUE" ), L (" STR_RETRIEVAL_PARRY" ), L (" STR_RETRIEVAL_ALLCRITICALSTRIKE" ),
129
+ L (" STR_RETRIEVAL_ALLCRITICALPOWER" ), L (" STR_RETRIEVAL_ALLHIT" ), L (" STR_RETRIEVAL_THREAT" ),
130
+ L (" STR_RETRIEVAL_MAGICATTACK" ), L (" STR_RETRIEVAL_MAGICCRITICALDAMAGE" ), L (" STR_RETRIEVAL_MAGICCRITICALSTRIKE" ),
131
+ L (" STR_RETRIEVAL_MAGICHIT" ), L (" STR_RETRIEVAL_MAGICOVERCOME" ), L (" STR_RETRIEVAL_MAGICSHIELD" ),
132
+ L (" STR_RETRIEVAL_PHYSICSATTACK" ), L (" STR_RETRIEVAL_PHYSICSCRITICALDAMAGE" ), L (" STR_RETRIEVAL_PHYSICSCRITICALSTRIKE" ),
133
+ L (" STR_RETRIEVAL_PHYSICSHIT" ), L (" STR_RETRIEVAL_PHYSICSOVERCOME" ), L (" STR_RETRIEVAL_PHYSICSSHIELD" ), L (" STR_RETRIEVAL_THERAPYPOWER" ),
134
+ },
135
+ },
136
+ [6 ] = {
137
+ szType = L (" STR_RETRIEVAL_EQUIPOFFERING" ),
138
+ nTypeID = " 14b" ,
139
+ tSubSort = {
140
+ g_tStrings .tForceTitle [1 ], g_tStrings .tForceTitle [2 ], g_tStrings .tForceTitle [3 ],
141
+ g_tStrings .tForceTitle [4 ], g_tStrings .tForceTitle [5 ], g_tStrings .tForceTitle [6 ],
142
+ g_tStrings .tForceTitle [7 ], g_tStrings .tForceTitle [8 ], g_tStrings .tForceTitle [9 ],
143
+ g_tStrings .tForceTitle [10 ],
144
+ },
145
+ },
146
+ [7 ] = {
121
147
szType = L (" STR_RETRIEVAL_ENCHANTING" ),
122
148
nTypeID = 8 ,
123
149
tSubSort = {
@@ -133,13 +159,15 @@ local tSearchSort = {
133
159
L (" STR_RETRIEVAL_MAGICCRITICALDAMAGE" ), L (" STR_RETRIEVAL_MAGICCRITICALSTRIKE" ),
134
160
},
135
161
},
136
- [6 ] = {
162
+ [8 ] = {
137
163
szType = L (" STR_RETRIEVAL_OTHER" ),
138
164
nTypeID = 0 ,
139
165
tSubSort = {
140
- L (" STR_RETRIEVAL_KEY" ), L (" STR_RETRIEVAL_ENERGY" ), L (" STR_RETRIEVAL_BODYSTRENGTH" ), L (" STR_RETRIEVAL_FAVORABILITY" ),
166
+ L (" STR_RETRIEVAL_KEY" ), L (" STR_RETRIEVAL_ENERGY" ), L (" STR_RETRIEVAL_BODYSTRENGTH" ), L (" STR_RETRIEVAL_CANN" ),
167
+ L (" STR_RETRIEVAL_FIVEELE" ), L (" STR_RETRIEVAL_FAVORABILITY" ), L (" STR_RETRIEVAL_AURABEAD" )
141
168
},
142
169
},
170
+
143
171
}
144
172
145
173
function AH_Retrieval .InitCraft (frame )
@@ -256,6 +284,10 @@ function AH_Retrieval.ProcessType(nTypeID, nGenre)
256
284
return true
257
285
elseif nTypeID == 8 and (nGenre == 3 or nGenre == 7 ) then
258
286
return true
287
+ elseif nTypeID == " 14a" and nGenre == 16 then
288
+ return true
289
+ elseif nTypeID == " 14b" and nGenre == 3 then
290
+ return true
259
291
end
260
292
return false
261
293
end
@@ -270,7 +302,7 @@ function AH_Retrieval.UpdateList(frame, bSub, szKey)
270
302
hList :Clear ()
271
303
local tRecipe , tCache = nil , {}
272
304
if nProID < 0 then -- 原料搜索配方
273
- for _ , k in ipairs ({4 , 5 , 6 , 7 }) do
305
+ for _ , k in ipairs ({4 , 5 , 6 , 7 , 14 }) do
274
306
if AH_Retrieval .bIsSearch then
275
307
tRecipe = AH_Library .tMaterialALL [k ][szKey ]
276
308
if not IsTableEmpty (tRecipe ) then
@@ -437,6 +469,8 @@ function AH_Retrieval.UpdateContent(frame)
437
469
UpdateItemBoxExtend (hBox , ItemInfo .nGenre , ItemInfo .nQuality , ItemInfo .nStrengthLevel )
438
470
hBox :SetOverTextPosition (0 , ITEM_POSITION .RIGHT_BOTTOM )
439
471
hBox :SetOverTextFontScheme (0 , 15 )
472
+
473
+ hBox .nGenre = ItemInfo .nGenre
440
474
441
475
if nMax == nMin then
442
476
if nMin ~= 1 then
@@ -855,7 +889,9 @@ function AH_Retrieval.OnSearchType(frame, szType, szSubType)
855
889
elseif StringFindW (szKey , L (" STR_RETRIEVAL_THERAPY" )) then
856
890
szKey = StringReplaceW (szKey , L (" STR_RETRIEVAL_THERAPYPOWER" ), L (" STR_RETRIEVAL_CURE" ))
857
891
end
858
- -- Output(szKey)
892
+ if szType == " 装备炼化" then
893
+ szKey = szSubType
894
+ end
859
895
AH_Retrieval .UpdateList (frame , bSub , szKey )
860
896
end
861
897
0 commit comments