chewing commited on
Commit
0e96e93
1 Parent(s): aaddd09

add project files

Browse files
Files changed (7) hide show
  1. README.md +2 -0
  2. app.py +59 -20
  3. data/炼丹丹药.json +137 -139
  4. data/药材.json +108 -108
  5. src/Material.py +0 -21
  6. src/check_backpack.py +76 -0
  7. src/db.json +0 -0
README.md CHANGED
@@ -11,3 +11,5 @@ license: afl-3.0
11
  ---
12
 
13
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
11
  ---
12
 
13
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
14
+
15
+
app.py CHANGED
@@ -1,8 +1,21 @@
1
  import gradio as gr
 
2
  from src.gr_func import init,get_medicines,get_first_material,get_second_material,get_possible_material
3
 
4
  medicine_list_init = init()
5
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  def medicine_select_acc_change(medicine_select_acc):
7
  medicine_list = get_medicines(medicine_select_acc)
8
  return gr.Dropdown.update(choices=medicine_list,value=medicine_list[0])
@@ -39,26 +52,46 @@ def material_2_grade_select_change(medicine_select,material_1_select,material_2_
39
  return gr.Dropdown.update(choices=["无"]+a, value="无", visible=True)
40
 
41
  with gr.Blocks() as demo:
42
- gr.Markdown("选择你要炼制的丹药")
43
- with gr.Row():
44
- with gr.Column():
45
- with gr.Accordion("丹药限制",open=False):
46
- medicine_select_acc = gr.Radio(["ALL","回复状态", "突破概率", "加攻击力"],value="ALL",show_label=False)
47
- medicine_select = gr.Dropdown(choices=medicine_list_init,value=medicine_list_init[0],label="丹药选择")
48
-
49
- with gr.Row():
50
- material_1_grade_select = gr.Dropdown(choices=["ALL"]+[f"{i}品药材" for i in "一二三四五六七八九"],value="ALL",visible=False,label="药材等级")
51
- material_1_num = gr.Number(value=5,label="最大数量",visible=False)
52
- material_1_select = gr.Dropdown(visible=False,label="第一个药材")
53
-
54
- with gr.Row():
55
- material_2_grade_select = gr.Dropdown(choices=["ALL"]+[f"{i}品药材" for i in "一二三四五六七八九"],value="ALL",visible=False,label="药材等级")
56
- material_2_num = gr.Number(value=5,label="最大数量",visible=False)
57
- material_2_select = gr.Dropdown(visible=False,label="第二个药材")
58
-
59
- run_btn = gr.Button("Run")
60
-
61
- output_mk = gr.Markdown("输出结果")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
62
 
63
  medicine_select_acc.change(fn=medicine_select_acc_change, inputs=[medicine_select_acc], outputs=[medicine_select])
64
  medicine_select.change(fn=medicine_select_change,inputs=[medicine_select],outputs=[material_1_select,material_1_grade_select,material_1_num])
@@ -73,4 +106,10 @@ with gr.Blocks() as demo:
73
 
74
  run_btn.click(fn=run_btn_click,inputs=[medicine_select,material_1_select,material_2_select],outputs=[output_mk])
75
 
 
 
 
 
 
 
76
  demo.launch()
 
1
  import gradio as gr
2
+ from src.check_backpack import sort_yaocai
3
  from src.gr_func import init,get_medicines,get_first_material,get_second_material,get_possible_material
4
 
5
  medicine_list_init = init()
6
 
7
+ def medicine_select_acc_change_b(medicine_select_acc):
8
+ medicine_list = get_medicines(medicine_select_acc)
9
+ return gr.Dropdown.update(choices=["无"]+medicine_list,value=medicine_list[0])
10
+
11
+ def check_backpack(text,medicine_select,material_num):
12
+ yaocai_list = sort_yaocai(text,medicine_select,material_num)
13
+ rtn = [[] for _ in range(9)]
14
+ for name,grade,num,flag in yaocai_list:
15
+ rtn[grade-1].append((f"{name}*{num}",flag))
16
+ rtn = list(map(lambda x:gr.HighlightedText.update(value=x,visible=len(x)!=0),rtn))
17
+ return rtn[-1],rtn[-2],rtn[-3],rtn[-4],rtn[-5],rtn[-6],rtn[-7],rtn[-8],rtn[-9]
18
+
19
  def medicine_select_acc_change(medicine_select_acc):
20
  medicine_list = get_medicines(medicine_select_acc)
21
  return gr.Dropdown.update(choices=medicine_list,value=medicine_list[0])
 
52
  return gr.Dropdown.update(choices=["无"]+a, value="无", visible=True)
53
 
54
  with gr.Blocks() as demo:
55
+ with gr.Tab("丹药配方"):
56
+ gr.Markdown("选择你要炼制的丹药")
57
+ with gr.Row():
58
+ with gr.Column():
59
+ with gr.Accordion("丹药限制",open=False):
60
+ medicine_select_acc = gr.Radio(["ALL","回复状态", "突破概率", "加攻击力"],value="ALL",show_label=False)
61
+ medicine_select = gr.Dropdown(choices=medicine_list_init,value=medicine_list_init[0],label="丹药选择")
62
+
63
+ with gr.Row():
64
+ material_1_grade_select = gr.Dropdown(choices=["ALL"]+[f"{i}品药材" for i in "一二三四五六七八九"],value="ALL",visible=False,label="药材等级")
65
+ material_1_num = gr.Number(value=5,label="最大数量",visible=False)
66
+ material_1_select = gr.Dropdown(visible=False,label="第一个药材")
67
+
68
+ with gr.Row():
69
+ material_2_grade_select = gr.Dropdown(choices=["ALL"]+[f"{i}品药材" for i in "一二三四五六七八九"],value="ALL",visible=False,label="药材等级")
70
+ material_2_num = gr.Number(value=5,label="最大数量",visible=False)
71
+ material_2_select = gr.Dropdown(visible=False,label="第二个药材")
72
+
73
+ run_btn = gr.Button("Run")
74
+
75
+ output_mk = gr.Markdown("输出结果")
76
+
77
+ with gr.Tab("背包查询"):
78
+ gr.Markdown("复制全部药材到左边文本框")
79
+ with gr.Row():
80
+ with gr.Column():
81
+ with gr.Accordion("丹药限制", open=False):
82
+ medicine_select_acc_b = gr.Radio(["ALL", "回复状态", "突破概率", "加攻击力"], value="ALL",
83
+ show_label=False)
84
+ with gr.Row():
85
+ medicine_select_b = gr.Dropdown(choices=["无"] + medicine_list_init, value="无",
86
+ label="丹药选择")
87
+ material_num_b = gr.Number(value=5, label="最大数量")
88
+ inp_b = gr.Text(label="药材", lines=10)
89
+ run_btn_b = gr.Button("run")
90
+ with gr.Column():
91
+ gr.Markdown("标注颜色的为炼制丹药需要材料,绿色为数量满足,黄色为缺少")
92
+ out_l = [
93
+ gr.HighlightedText(label=f"{i}品药材", visible=False).style(color_map={"-": "yellow", "+": "green"})
94
+ for i in "九八七六五四三二一"]
95
 
96
  medicine_select_acc.change(fn=medicine_select_acc_change, inputs=[medicine_select_acc], outputs=[medicine_select])
97
  medicine_select.change(fn=medicine_select_change,inputs=[medicine_select],outputs=[material_1_select,material_1_grade_select,material_1_num])
 
106
 
107
  run_btn.click(fn=run_btn_click,inputs=[medicine_select,material_1_select,material_2_select],outputs=[output_mk])
108
 
109
+ # 背包
110
+ medicine_select_acc_b.change(fn=medicine_select_acc_change_b, inputs=[medicine_select_acc_b],
111
+ outputs=[medicine_select_b])
112
+
113
+ run_btn_b.click(fn=check_backpack, inputs=[inp_b, medicine_select_b, material_num_b], outputs=out_l)
114
+
115
  demo.launch()
data/炼丹丹药.json CHANGED
@@ -1,14 +1,13 @@
1
  {
2
  "2000":{
3
  "name":"洗髓丹",
4
- "desc":"使用后可以增加8000点修为!",
5
  "type":"丹药",
6
- "buff":8000,
7
- "buff_type":"exp_up",
8
- "day_num":10,
9
- "all_num":200,
10
- "rank":40,
11
- "境界":"铭文境初期",
12
  "mix_need_time":60,
13
  "mix_exp":10,
14
  "mix_all":100,
@@ -19,13 +18,12 @@
19
  },
20
  "2001":{
21
  "name":"养气丹",
22
- "desc":"使用后可以增加10000点修为!",
23
  "type":"丹药",
24
- "buff":10000,
25
- "buff_type":"exp_up",
26
- "day_num":10,
27
- "all_num":200,
28
- "rank":37,
29
  "境界":"列阵境初期",
30
  "mix_need_time":60,
31
  "mix_exp":10,
@@ -37,13 +35,12 @@
37
  },
38
  "2002":{
39
  "name":"九转丹",
40
- "desc":"使用后可以增加12000点修为!",
41
  "type":"丹药",
42
- "buff":12000,
43
- "buff_type":"exp_up",
44
- "day_num":10,
45
- "all_num":200,
46
- "rank":34,
47
  "境界":"尊者境初期",
48
  "mix_need_time":60,
49
  "mix_exp":10,
@@ -55,13 +52,12 @@
55
  },
56
  "2003":{
57
  "name":"易筋丹",
58
- "desc":"使用后可以增加14000点修为!",
59
  "type":"丹药",
60
- "buff":14000,
61
- "buff_type":"exp_up",
62
- "day_num":10,
63
- "all_num":200,
64
- "rank":31,
65
  "境界":"神火境初期",
66
  "mix_need_time":60,
67
  "mix_exp":10,
@@ -73,13 +69,12 @@
73
  },
74
  "2004":{
75
  "name":"天尘丹",
76
- "desc":"使用后可以增加16000点修为!",
77
  "type":"丹药",
78
- "buff":16000,
79
- "buff_type":"exp_up",
80
- "day_num":10,
81
- "all_num":200,
82
- "rank":28,
83
  "境界":"真一境初期",
84
  "mix_need_time":60,
85
  "mix_exp":10,
@@ -91,13 +86,12 @@
91
  },
92
  "2005":{
93
  "name":"天元神丹",
94
- "desc":"使用后可以增加18000点修为!",
95
  "type":"丹药",
96
- "buff":18000,
97
- "buff_type":"exp_up",
98
- "day_num":10,
99
- "all_num":200,
100
- "rank":25,
101
  "境界":"圣祭境初期",
102
  "mix_need_time":60,
103
  "mix_exp":10,
@@ -108,15 +102,14 @@
108
  }
109
  },
110
  "2006":{
111
- "name":"斩我碧莹丹",
112
- "desc":"使用后可以增加20000点修为!",
113
  "type":"丹药",
114
- "buff":20000,
115
- "buff_type":"exp_up",
116
- "day_num":10,
117
- "all_num":200,
118
- "rank":22,
119
- "境界":"半步天神",
120
  "mix_need_time":60,
121
  "mix_exp":10,
122
  "mix_all":100,
@@ -127,13 +120,12 @@
127
  },
128
  "2007":{
129
  "name":"六阳长生丹",
130
- "desc":"使用后可以增加30000点修为!",
131
  "type":"丹药",
132
- "buff":30000,
133
- "buff_type":"exp_up",
134
- "day_num":10,
135
- "all_num":200,
136
- "rank":18,
137
  "境界":"虚道境初期",
138
  "mix_need_time":60,
139
  "mix_exp":10,
@@ -145,13 +137,12 @@
145
  },
146
  "2008":{
147
  "name":"道源丹",
148
- "desc":"使用后可以增加40000点修为!",
149
  "type":"丹药",
150
- "buff":40000,
151
- "buff_type":"exp_up",
152
- "day_num":10,
153
- "all_num":200,
154
- "rank":15,
155
  "境界":"斩我境初期",
156
  "mix_need_time":60,
157
  "mix_exp":10,
@@ -162,13 +153,12 @@
162
  }
163
  },
164
  "1400":{
165
- "name":"洞天丹",
166
  "type":"丹药",
167
- "rank":47,
168
- "desc":"洞天丹,冲击洞天境必备的丹药,使突破到洞天境的概率提升30%,只可使用1颗!",
169
  "境界":"搬血境圆满",
170
  "buff_type":"level_up_big",
171
- "day_num":1,
172
  "all_num":1,
173
  "buff":30,
174
  "mix_need_time":60,
@@ -183,11 +173,10 @@
183
  "1401":{
184
  "name":"聚顶丹",
185
  "type":"丹药",
186
- "rank":44,
187
- "desc":"聚顶丹,冲击化灵境必备的丹药之一,使突破到化灵境的概率提升20%,只可使用1颗!",
188
  "境界":"洞天境圆满",
189
  "buff_type":"level_up_big",
190
- "day_num":1,
191
  "all_num":1,
192
  "buff":20,
193
  "mix_need_time":60,
@@ -201,11 +190,10 @@
201
  "1402":{
202
  "name":"朝元丹",
203
  "type":"丹药",
204
- "rank":44,
205
  "desc":"朝元丹,冲击化灵境必备的2种丹药之一,使突破到化灵境的概率提升20%,只可使用1颗!",
206
  "境界":"洞天境圆满",
207
  "buff_type":"level_up_big",
208
- "day_num":1,
209
  "all_num":1,
210
  "buff":20,
211
  "mix_need_time":60,
@@ -219,11 +207,10 @@
219
  "1403":{
220
  "name":"锻脉丹",
221
  "type":"丹药",
222
- "rank":41,
223
- "desc":"锻脉丹,冲击铭文境必备的2种丹药之一,使突破到铭文境的概率提升20%,只可使用1颗!",
224
  "境界":"化灵境圆满",
225
  "buff_type":"level_up_big",
226
- "day_num":1,
227
  "all_num":1,
228
  "buff":20,
229
  "mix_need_time":60,
@@ -237,11 +224,10 @@
237
  "1404":{
238
  "name":"护脉丹",
239
  "type":"丹药",
240
- "rank":41,
241
- "desc":"护脉丹,冲击铭文境必备的2种丹药之一,使突破到铭文境的概率提升20%,只可使用1颗!",
242
  "境界":"化灵境圆满",
243
  "buff_type":"level_up_big",
244
- "day_num":1,
245
  "all_num":1,
246
  "buff":20,
247
  "mix_need_time":60,
@@ -255,11 +241,10 @@
255
  "1405":{
256
  "name":"天命淬体丹",
257
  "type":"丹药",
258
- "rank":38,
259
  "desc":"天命淬体丹,冲击列阵境必备的3种丹药之一,使突破到列阵境的概率提升10%,只可使用1颗!",
260
- "境界":"铭文境圆满",
261
  "buff_type":"level_up_big",
262
- "day_num":1,
263
  "all_num":1,
264
  "buff":10,
265
  "mix_need_time":60,
@@ -273,11 +258,10 @@
273
  "1406":{
274
  "name":"澄心塑魂丹",
275
  "type":"丹药",
276
- "rank":38,
277
  "desc":"澄心塑魂丹,冲击列阵境必备的3种丹药之一,使突破到列阵境的概率提升10%,只可使用1颗!",
278
- "境界":"铭文境圆满",
279
  "buff_type":"level_up_big",
280
- "day_num":1,
281
  "all_num":1,
282
  "buff":10,
283
  "mix_need_time":60,
@@ -291,11 +275,10 @@
291
  "1407":{
292
  "name":"混元仙体丹",
293
  "type":"丹药",
294
- "rank":38,
295
  "desc":"混元仙体丹,冲击列阵境必备的3种丹药之一,使突破到列阵境的概率提升10%,只可使用1颗!",
296
- "境界":"铭文境圆满",
297
  "buff_type":"level_up_big",
298
- "day_num":1,
299
  "all_num":1,
300
  "buff":10,
301
  "mix_need_time":60,
@@ -309,11 +292,10 @@
309
  "1408":{
310
  "name":"黑炎丹",
311
  "type":"丹药",
312
- "rank":35,
313
  "desc":"黑炎丹,冲击尊者境必备的2种丹药之一,使突破到尊者境的概率提升10%,只可使用1颗!",
314
  "境界":"列阵境圆满",
315
  "buff_type":"level_up_big",
316
- "day_num":1,
317
  "all_num":1,
318
  "buff":10,
319
  "mix_need_time":60,
@@ -327,11 +309,10 @@
327
  "1409":{
328
  "name":"金血丸",
329
  "type":"丹药",
330
- "rank":35,
331
  "desc":"金血丸,冲击尊者境必备的2种丹药之一,使突破到尊者境的概率提升10%,只可使用1颗!",
332
  "境界":"列阵境圆满",
333
  "buff_type":"level_up_big",
334
- "day_num":1,
335
  "all_num":1,
336
  "buff":10,
337
  "mix_need_time":60,
@@ -345,11 +326,10 @@
345
  "1410":{
346
  "name":"虚灵丹",
347
  "type":"丹药",
348
- "rank":32,
349
  "desc":"虚灵丹,冲击神火境必备的2种丹药之一,使突破到神火境的概率提升10%,只可使用1颗!",
350
  "境界":"尊者境圆满",
351
  "buff_type":"level_up_big",
352
- "day_num":1,
353
  "all_num":1,
354
  "buff":10,
355
  "mix_need_time":60,
@@ -363,11 +343,10 @@
363
  "1411":{
364
  "name":"净明丹",
365
  "type":"丹药",
366
- "rank":32,
367
  "desc":"净明丹,冲击神火境必备的2种丹药之一,使突破到神火境的概率提升10%,只可使用1颗!",
368
  "境界":"尊者境圆满",
369
  "buff_type":"level_up_big",
370
- "day_num":1,
371
  "all_num":1,
372
  "buff":10,
373
  "mix_need_time":60,
@@ -381,11 +360,10 @@
381
  "1412":{
382
  "name":"安神灵液",
383
  "type":"丹药",
384
- "rank":29,
385
  "desc":"安神灵液,冲击真一境必备的2种丹药之一,使突破到真一境的概率提升10%,只可使用1颗!",
386
  "境界":"神火境圆满",
387
  "buff_type":"level_up_big",
388
- "day_num":1,
389
  "all_num":1,
390
  "buff":10,
391
  "mix_need_time":60,
@@ -399,11 +377,10 @@
399
  "1413":{
400
  "name":"魇龙之血",
401
  "type":"丹药",
402
- "rank":29,
403
  "desc":"魇龙之血,冲击真一境必备的2种丹药之一,使突破到真一境的概率提升10%,只可使用1颗!",
404
  "境界":"神火境圆满",
405
  "buff_type":"level_up_big",
406
- "day_num":1,
407
  "all_num":1,
408
  "buff":10,
409
  "mix_need_time":60,
@@ -417,11 +394,10 @@
417
  "1414":{
418
  "name":"化劫丹",
419
  "type":"丹药",
420
- "rank":26,
421
  "desc":"化渡丹,冲击圣祭境必备的丹药,使突破到圣祭境的概率提升20%,只可使用1颗!",
422
  "境界":"真一境圆满",
423
  "buff_type":"level_up_big",
424
- "day_num":1,
425
  "all_num":1,
426
  "buff":20,
427
  "mix_need_time":60,
@@ -435,11 +411,10 @@
435
  "1415":{
436
  "name":"太上玄门丹",
437
  "type":"丹药",
438
- "rank":22,
439
  "desc":"太上玄门丹,冲击天神境必备的丹药,使突破到天神境的概率提升20%,只可使用1颗!",
440
  "境界":"圣祭境圆满",
441
  "buff_type":"level_up_big",
442
- "day_num":1,
443
  "all_num":1,
444
  "buff":20,
445
  "mix_need_time":60,
@@ -451,39 +426,71 @@
451
  }
452
  },
453
  "1416":{
454
- "name":"虚道破厄丹",
455
  "type":"丹药",
456
- "rank":19,
457
- "desc":"虚道破厄丹,冲击虚道境必备的丹药,使突破到虚道境的概率提升20%,只可使用1颗!",
458
  "境界":"天神境圆满",
459
  "buff_type":"level_up_big",
460
- "day_num":1,
461
  "all_num":1,
462
  "buff":20,
463
  "mix_need_time":60,
464
  "mix_exp":10,
465
  "mix_all":100,
466
- "elixir_config":{
467
- "2":768,
468
- "4":768
469
  }
470
  },
471
  "1417":{
472
- "name":"斩我炼髓丹",
473
  "type":"丹药",
474
- "rank":16,
475
- "desc":"斩我炼髓丹,冲击斩我境必备的丹药,使突破到斩我境的概率提升20%,只可使用1颗!",
476
  "境界":"虚道境圆满",
477
  "buff_type":"level_up_big",
478
- "day_num":1,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
479
  "all_num":1,
480
  "buff":20,
481
  "mix_need_time":60,
482
  "mix_exp":10,
483
  "mix_all":100,
484
  "elixir_config":{
485
- "2":1536,
486
- "4":1536
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
487
  }
488
  },
489
  "2009":{
@@ -492,10 +499,9 @@
492
  "type":"丹药",
493
  "buff":720,
494
  "buff_type":"atk_buff",
495
- "day_num":5,
496
- "all_num":5,
497
- "rank":40,
498
- "境界":"铭文境初期",
499
  "mix_need_time":60,
500
  "mix_exp":10,
501
  "mix_all":10,
@@ -510,9 +516,8 @@
510
  "type":"丹药",
511
  "buff":1760,
512
  "buff_type":"atk_buff",
513
- "day_num":5,
514
- "all_num":5,
515
- "rank":37,
516
  "境界":"列阵境初期",
517
  "mix_need_time":60,
518
  "mix_exp":10,
@@ -528,9 +533,8 @@
528
  "type":"丹药",
529
  "buff":4160,
530
  "buff_type":"atk_buff",
531
- "day_num":5,
532
- "all_num":5,
533
- "rank":34,
534
  "境界":"尊者境初期",
535
  "mix_need_time":60,
536
  "mix_exp":10,
@@ -546,9 +550,8 @@
546
  "type":"丹药",
547
  "buff":9600,
548
  "buff_type":"atk_buff",
549
- "day_num":5,
550
- "all_num":5,
551
- "rank":31,
552
  "境界":"神火境初期",
553
  "mix_need_time":60,
554
  "mix_exp":10,
@@ -564,9 +567,8 @@
564
  "type":"丹药",
565
  "buff":21760,
566
  "buff_type":"atk_buff",
567
- "day_num":5,
568
- "all_num":5,
569
- "rank":28,
570
  "境界":"真一境初期",
571
  "mix_need_time":60,
572
  "mix_exp":10,
@@ -582,9 +584,8 @@
582
  "type":"丹药",
583
  "buff":48640,
584
  "buff_type":"atk_buff",
585
- "day_num":5,
586
- "all_num":5,
587
- "rank":25,
588
  "境界":"圣祭境初期",
589
  "mix_need_time":60,
590
  "mix_exp":10,
@@ -600,10 +601,9 @@
600
  "type":"丹药",
601
  "buff":104840,
602
  "buff_type":"atk_buff",
603
- "day_num":5,
604
- "all_num":5,
605
- "rank":22,
606
- "境界":"半步天神",
607
  "mix_need_time":60,
608
  "mix_exp":10,
609
  "mix_all":100,
@@ -618,9 +618,8 @@
618
  "type":"丹药",
619
  "buff":304840,
620
  "buff_type":"atk_buff",
621
- "day_num":5,
622
- "all_num":5,
623
- "rank":18,
624
  "境界":"虚道境初期",
625
  "mix_need_time":60,
626
  "mix_exp":10,
@@ -636,9 +635,8 @@
636
  "type":"丹药",
637
  "buff":604840,
638
  "buff_type":"atk_buff",
639
- "day_num":5,
640
- "all_num":5,
641
- "rank":15,
642
  "境界":"斩我境初期",
643
  "mix_need_time":60,
644
  "mix_exp":10,
 
1
  {
2
  "2000":{
3
  "name":"洗髓丹",
4
+ "desc":"回复状态的20%,铭纹境以上可以使用!",
5
  "type":"丹药",
6
+ "buff":0.2,
7
+ "buff_type":"hp",
8
+ "all_num":999999,
9
+ "rank":46,
10
+ "境界":"铭纹境初期",
 
11
  "mix_need_time":60,
12
  "mix_exp":10,
13
  "mix_all":100,
 
18
  },
19
  "2001":{
20
  "name":"养气丹",
21
+ "desc":"回复状态的25%,列阵境以上可以使用!",
22
  "type":"丹药",
23
+ "buff":0.25,
24
+ "buff_type":"hp",
25
+ "all_num":999999,
26
+ "rank":43,
 
27
  "境界":"列阵境初期",
28
  "mix_need_time":60,
29
  "mix_exp":10,
 
35
  },
36
  "2002":{
37
  "name":"九转丹",
38
+ "desc":"回复状态的30%,尊者境以上可以使用!",
39
  "type":"丹药",
40
+ "buff":0.3,
41
+ "buff_type":"hp",
42
+ "all_num":999999,
43
+ "rank":40,
 
44
  "境界":"尊者境初期",
45
  "mix_need_time":60,
46
  "mix_exp":10,
 
52
  },
53
  "2003":{
54
  "name":"易筋丹",
55
+ "desc":"回复状态的35%,神火境以上可以使用!",
56
  "type":"丹药",
57
+ "buff":0.35,
58
+ "buff_type":"hp",
59
+ "all_num":999999,
60
+ "rank":37,
 
61
  "境界":"神火境初期",
62
  "mix_need_time":60,
63
  "mix_exp":10,
 
69
  },
70
  "2004":{
71
  "name":"天尘丹",
72
+ "desc":"回复状态的40%,真一境以上可以使用!",
73
  "type":"丹药",
74
+ "buff":0.4,
75
+ "buff_type":"hp",
76
+ "all_num":999999,
77
+ "rank":34,
 
78
  "境界":"真一境初期",
79
  "mix_need_time":60,
80
  "mix_exp":10,
 
86
  },
87
  "2005":{
88
  "name":"天元神丹",
89
+ "desc":"回复状态的45%,圣祭境以上可以使用!",
90
  "type":"丹药",
91
+ "buff":0.45,
92
+ "buff_type":"hp",
93
+ "all_num":999999,
94
+ "rank":31,
 
95
  "境界":"圣祭境初期",
96
  "mix_need_time":60,
97
  "mix_exp":10,
 
102
  }
103
  },
104
  "2006":{
105
+ "name":"太乙碧莹丹",
106
+ "desc":"回复状态的50%,天神境以上可以使用!",
107
  "type":"丹药",
108
+ "buff":0.5,
109
+ "buff_type":"hp",
110
+ "all_num":999999,
111
+ "rank":28,
112
+ "境界":"天神境初期",
 
113
  "mix_need_time":60,
114
  "mix_exp":10,
115
  "mix_all":100,
 
120
  },
121
  "2007":{
122
  "name":"六阳长生丹",
123
+ "desc":"回复状态的60%,虚道境以上可以使用!",
124
  "type":"丹药",
125
+ "buff":0.6,
126
+ "buff_type":"hp",
127
+ "all_num":999999,
128
+ "rank":25,
 
129
  "境界":"虚道境初期",
130
  "mix_need_time":60,
131
  "mix_exp":10,
 
137
  },
138
  "2008":{
139
  "name":"道源丹",
140
+ "desc":"回复全部状态,斩我境以上可以使用!",
141
  "type":"丹药",
142
+ "buff":0,
143
+ "buff_type":"all",
144
+ "all_num":999999,
145
+ "rank":22,
 
146
  "境界":"斩我境初期",
147
  "mix_need_time":60,
148
  "mix_exp":10,
 
153
  }
154
  },
155
  "1400":{
156
+ "name":"筑基丹",
157
  "type":"丹药",
158
+ "rank":53,
159
+ "desc":"筑基丹,冲击洞天境必备的丹药,使突破到洞天境的概率提升30%,只可使用1颗!",
160
  "境界":"搬血境圆满",
161
  "buff_type":"level_up_big",
 
162
  "all_num":1,
163
  "buff":30,
164
  "mix_need_time":60,
 
173
  "1401":{
174
  "name":"聚顶丹",
175
  "type":"丹药",
176
+ "rank":50,
177
+ "desc":"聚顶丹,冲击化灵境必备的2种丹药之一,使突破到化灵境的概率提升20%,只可使用1颗!",
178
  "境界":"洞天境圆满",
179
  "buff_type":"level_up_big",
 
180
  "all_num":1,
181
  "buff":20,
182
  "mix_need_time":60,
 
190
  "1402":{
191
  "name":"朝元丹",
192
  "type":"丹药",
193
+ "rank":50,
194
  "desc":"朝元丹,冲击化灵境必备的2种丹药之一,使突破到化灵境的概率提升20%,只可使用1颗!",
195
  "境界":"洞天境圆满",
196
  "buff_type":"level_up_big",
 
197
  "all_num":1,
198
  "buff":20,
199
  "mix_need_time":60,
 
207
  "1403":{
208
  "name":"锻脉丹",
209
  "type":"丹药",
210
+ "rank":47,
211
+ "desc":"锻脉丹,冲击铭纹境必备的2种丹药之一,使突破到铭纹境的概率提升20%,只可使用1颗!",
212
  "境界":"化灵境圆满",
213
  "buff_type":"level_up_big",
 
214
  "all_num":1,
215
  "buff":20,
216
  "mix_need_time":60,
 
224
  "1404":{
225
  "name":"护脉丹",
226
  "type":"丹药",
227
+ "rank":47,
228
+ "desc":"护脉丹,冲击铭纹境必备的2种丹药之一,使突破到铭纹境的概率提升20%,只可使用1颗!",
229
  "境界":"化灵境圆满",
230
  "buff_type":"level_up_big",
 
231
  "all_num":1,
232
  "buff":20,
233
  "mix_need_time":60,
 
241
  "1405":{
242
  "name":"天命淬体丹",
243
  "type":"丹药",
244
+ "rank":44,
245
  "desc":"天命淬体丹,冲击列阵境必备的3种丹药之一,使突破到列阵境的概率提升10%,只可使用1颗!",
246
+ "境界":"铭纹境圆满",
247
  "buff_type":"level_up_big",
 
248
  "all_num":1,
249
  "buff":10,
250
  "mix_need_time":60,
 
258
  "1406":{
259
  "name":"澄心塑魂丹",
260
  "type":"丹药",
261
+ "rank":44,
262
  "desc":"澄心塑魂丹,冲击列阵境必备的3种丹药之一,使突破到列阵境的概率提升10%,只可使用1颗!",
263
+ "境界":"铭纹境圆满",
264
  "buff_type":"level_up_big",
 
265
  "all_num":1,
266
  "buff":10,
267
  "mix_need_time":60,
 
275
  "1407":{
276
  "name":"混元仙体丹",
277
  "type":"丹药",
278
+ "rank":44,
279
  "desc":"混元仙体丹,冲击列阵境必备的3种丹药之一,使突破到列阵境的概率提升10%,只可使用1颗!",
280
+ "境界":"铭纹境圆满",
281
  "buff_type":"level_up_big",
 
282
  "all_num":1,
283
  "buff":10,
284
  "mix_need_time":60,
 
292
  "1408":{
293
  "name":"黑炎丹",
294
  "type":"丹药",
295
+ "rank":41,
296
  "desc":"黑炎丹,冲击尊者境必备的2种丹药之一,使突破到尊者境的概率提升10%,只可使用1颗!",
297
  "境界":"列阵境圆满",
298
  "buff_type":"level_up_big",
 
299
  "all_num":1,
300
  "buff":10,
301
  "mix_need_time":60,
 
309
  "1409":{
310
  "name":"金血丸",
311
  "type":"丹药",
312
+ "rank":41,
313
  "desc":"金血丸,冲击尊者境必备的2种丹药之一,使突破到尊者境的概率提升10%,只可使用1颗!",
314
  "境界":"列阵境圆满",
315
  "buff_type":"level_up_big",
 
316
  "all_num":1,
317
  "buff":10,
318
  "mix_need_time":60,
 
326
  "1410":{
327
  "name":"虚灵丹",
328
  "type":"丹药",
329
+ "rank":38,
330
  "desc":"虚灵丹,冲击神火境必备的2种丹药之一,使突破到神火境的概率提升10%,只可使用1颗!",
331
  "境界":"尊者境圆满",
332
  "buff_type":"level_up_big",
 
333
  "all_num":1,
334
  "buff":10,
335
  "mix_need_time":60,
 
343
  "1411":{
344
  "name":"净明丹",
345
  "type":"丹药",
346
+ "rank":38,
347
  "desc":"净明丹,冲击神火境必备的2种丹药之一,使突破到神火境的概率提升10%,只可使用1颗!",
348
  "境界":"尊者境圆满",
349
  "buff_type":"level_up_big",
 
350
  "all_num":1,
351
  "buff":10,
352
  "mix_need_time":60,
 
360
  "1412":{
361
  "name":"安神灵液",
362
  "type":"丹药",
363
+ "rank":35,
364
  "desc":"安神灵液,冲击真一境必备的2种丹药之一,使突破到真一境的概率提升10%,只可使用1颗!",
365
  "境界":"神火境圆满",
366
  "buff_type":"level_up_big",
 
367
  "all_num":1,
368
  "buff":10,
369
  "mix_need_time":60,
 
377
  "1413":{
378
  "name":"魇龙之血",
379
  "type":"丹药",
380
+ "rank":35,
381
  "desc":"魇龙之血,冲击真一境必备的2种丹药之一,使突破到真一境的概率提升10%,只可使用1颗!",
382
  "境界":"神火境圆满",
383
  "buff_type":"level_up_big",
 
384
  "all_num":1,
385
  "buff":10,
386
  "mix_need_time":60,
 
394
  "1414":{
395
  "name":"化劫丹",
396
  "type":"丹药",
397
+ "rank":32,
398
  "desc":"化渡丹,冲击圣祭境必备的丹药,使突破到圣祭境的概率提升20%,只可使用1颗!",
399
  "境界":"真一境圆满",
400
  "buff_type":"level_up_big",
 
401
  "all_num":1,
402
  "buff":20,
403
  "mix_need_time":60,
 
411
  "1415":{
412
  "name":"太上玄门丹",
413
  "type":"丹药",
414
+ "rank":29,
415
  "desc":"太上玄门丹,冲击天神境必备的丹药,使突破到天神境的概率提升20%,只可使用1颗!",
416
  "境界":"圣祭境圆满",
417
  "buff_type":"level_up_big",
 
418
  "all_num":1,
419
  "buff":20,
420
  "mix_need_time":60,
 
426
  }
427
  },
428
  "1416":{
429
+ "name":"金仙破厄丹",
430
  "type":"丹药",
431
+ "rank":26,
432
+ "desc":"金仙破厄丹,冲击虚道境必备的丹药,使突破到虚道境的概率提升20%,只可使用1颗!",
433
  "境界":"天神境圆满",
434
  "buff_type":"level_up_big",
 
435
  "all_num":1,
436
  "buff":20,
437
  "mix_need_time":60,
438
  "mix_exp":10,
439
  "mix_all":100,
440
+ "elixir_config": {
441
+ "2": 768,
442
+ "4": 768
443
  }
444
  },
445
  "1417":{
446
+ "name":"太乙炼髓丹",
447
  "type":"丹药",
448
+ "rank":23,
449
+ "desc":"太乙炼髓丹,冲击斩我境必备的丹药,使突破到斩我境的概率提升20%,只可使用1颗!",
450
  "境界":"虚道境圆满",
451
  "buff_type":"level_up_big",
452
+ "all_num":1,
453
+ "buff":20,
454
+ "mix_need_time":60,
455
+ "mix_exp":10,
456
+ "mix_all":100,
457
+ "elixir_config": {
458
+ "2": 1536,
459
+ "4": 1536
460
+ }
461
+ },
462
+ "1418":{
463
+ "name":"遁一丹",
464
+ "type":"丹药",
465
+ "rank":20,
466
+ "desc":"遁一丹,冲击遁一境必备的丹药,使突破到遁一境的概率提升20%,只可使用1颗!",
467
+ "境界":"斩我境圆满",
468
+ "buff_type":"level_up_big",
469
  "all_num":1,
470
  "buff":20,
471
  "mix_need_time":60,
472
  "mix_exp":10,
473
  "mix_all":100,
474
  "elixir_config":{
475
+ "2":2048,
476
+ "4":2048
477
+ }
478
+ },
479
+ "1419":{
480
+ "name":"至尊丹",
481
+ "type":"丹药",
482
+ "rank":17,
483
+ "desc":"至尊丹,冲击至尊境必备的丹药,使突破到至尊境的概率提升20%,只可使用1颗!",
484
+ "境界":"遁一境圆满",
485
+ "buff_type":"level_up_big",
486
+ "all_num":1,
487
+ "buff":20,
488
+ "mix_need_time":60,
489
+ "mix_exp":10,
490
+ "mix_all":100,
491
+ "elixir_config":{
492
+ "2":2560,
493
+ "4":2560
494
  }
495
  },
496
  "2009":{
 
499
  "type":"丹药",
500
  "buff":720,
501
  "buff_type":"atk_buff",
502
+ "all_num":999999,
503
+ "rank":46,
504
+ "境界":"铭纹境初期",
 
505
  "mix_need_time":60,
506
  "mix_exp":10,
507
  "mix_all":10,
 
516
  "type":"丹药",
517
  "buff":1760,
518
  "buff_type":"atk_buff",
519
+ "all_num":999999,
520
+ "rank":43,
 
521
  "境界":"列阵境初期",
522
  "mix_need_time":60,
523
  "mix_exp":10,
 
533
  "type":"丹药",
534
  "buff":4160,
535
  "buff_type":"atk_buff",
536
+ "all_num":999999,
537
+ "rank":40,
 
538
  "境界":"尊者境初期",
539
  "mix_need_time":60,
540
  "mix_exp":10,
 
550
  "type":"丹药",
551
  "buff":9600,
552
  "buff_type":"atk_buff",
553
+ "all_num":999999,
554
+ "rank":37,
 
555
  "境界":"神火境初期",
556
  "mix_need_time":60,
557
  "mix_exp":10,
 
567
  "type":"丹药",
568
  "buff":21760,
569
  "buff_type":"atk_buff",
570
+ "all_num":999999,
571
+ "rank":34,
 
572
  "境界":"真一境初期",
573
  "mix_need_time":60,
574
  "mix_exp":10,
 
584
  "type":"丹药",
585
  "buff":48640,
586
  "buff_type":"atk_buff",
587
+ "all_num":999999,
588
+ "rank":31,
 
589
  "境界":"圣祭境初期",
590
  "mix_need_time":60,
591
  "mix_exp":10,
 
601
  "type":"丹药",
602
  "buff":104840,
603
  "buff_type":"atk_buff",
604
+ "all_num":999999,
605
+ "rank":28,
606
+ "境界":"天神境初期",
 
607
  "mix_need_time":60,
608
  "mix_exp":10,
609
  "mix_all":100,
 
618
  "type":"丹药",
619
  "buff":304840,
620
  "buff_type":"atk_buff",
621
+ "all_num":999999,
622
+ "rank":25,
 
623
  "境界":"虚道境初期",
624
  "mix_need_time":60,
625
  "mix_exp":10,
 
635
  "type":"丹药",
636
  "buff":604840,
637
  "buff_type":"atk_buff",
638
+ "all_num":999999,
639
+ "rank":22,
 
640
  "境界":"斩我境初期",
641
  "mix_need_time":60,
642
  "mix_exp":10,
data/药材.json CHANGED
@@ -3,7 +3,7 @@
3
  "name":"恒心草",
4
  "level":"一品药材",
5
  "type":"药材",
6
- "rank":40,
7
  "主药":{
8
  "h_a_c":{
9
  "type":0,
@@ -29,7 +29,7 @@
29
  "name":"红绫草",
30
  "level":"一品药材",
31
  "type":"药材",
32
- "rank":40,
33
  "主药":{
34
  "h_a_c":{
35
  "type":0,
@@ -55,7 +55,7 @@
55
  "name":"罗犀草",
56
  "level":"一品药材",
57
  "type":"药材",
58
- "rank":40,
59
  "主药":{
60
  "h_a_c":{
61
  "type":-1,
@@ -81,7 +81,7 @@
81
  "name":"天青花",
82
  "level":"一品药材",
83
  "type":"药材",
84
- "rank":40,
85
  "主药":{
86
  "h_a_c":{
87
  "type":1,
@@ -107,7 +107,7 @@
107
  "name":"五柳根",
108
  "level":"二品药材",
109
  "type":"药材",
110
- "rank":37,
111
  "主药":{
112
  "h_a_c":{
113
  "type":0,
@@ -133,7 +133,7 @@
133
  "name":"天元果",
134
  "level":"二品药材",
135
  "type":"药材",
136
- "rank":37,
137
  "主药":{
138
  "h_a_c":{
139
  "type":0,
@@ -159,7 +159,7 @@
159
  "name":"何首乌",
160
  "level":"二品药材",
161
  "type":"药材",
162
- "rank":37,
163
  "主药":{
164
  "h_a_c":{
165
  "type":-1,
@@ -185,7 +185,7 @@
185
  "name":"夜交藤",
186
  "level":"二品药材",
187
  "type":"药材",
188
- "rank":37,
189
  "主药":{
190
  "h_a_c":{
191
  "type":1,
@@ -211,7 +211,7 @@
211
  "name":"紫猴花",
212
  "level":"三品药材",
213
  "type":"药材",
214
- "rank":34,
215
  "主药":{
216
  "h_a_c":{
217
  "type":0,
@@ -237,7 +237,7 @@
237
  "name":"九叶芝",
238
  "level":"三品药材",
239
  "type":"药材",
240
- "rank":34,
241
  "主药":{
242
  "h_a_c":{
243
  "type":0,
@@ -263,7 +263,7 @@
263
  "name":"幻心草",
264
  "level":"三品药材",
265
  "type":"药材",
266
- "rank":34,
267
  "主药":{
268
  "h_a_c":{
269
  "type":-1,
@@ -289,7 +289,7 @@
289
  "name":"鬼臼草",
290
  "level":"三品药材",
291
  "type":"药材",
292
- "rank":34,
293
  "主药":{
294
  "h_a_c":{
295
  "type":1,
@@ -315,7 +315,7 @@
315
  "name":"血莲精",
316
  "level":"四品药材",
317
  "type":"药材",
318
- "rank":31,
319
  "主药":{
320
  "h_a_c":{
321
  "type":0,
@@ -341,7 +341,7 @@
341
  "name":"鸡冠草",
342
  "level":"四品药材",
343
  "type":"药材",
344
- "rank":31,
345
  "主药":{
346
  "h_a_c":{
347
  "type":0,
@@ -367,7 +367,7 @@
367
  "name":"银精芝",
368
  "level":"四品药材",
369
  "type":"药材",
370
- "rank":31,
371
  "主药":{
372
  "h_a_c":{
373
  "type":-1,
@@ -393,7 +393,7 @@
393
  "name":"玉髓芝",
394
  "level":"四品药材",
395
  "type":"药材",
396
- "rank":31,
397
  "主药":{
398
  "h_a_c":{
399
  "type":1,
@@ -419,7 +419,7 @@
419
  "name":"地心火芝",
420
  "level":"五品药材",
421
  "type":"药材",
422
- "rank":28,
423
  "主药":{
424
  "h_a_c":{
425
  "type":0,
@@ -445,7 +445,7 @@
445
  "name":"天蝉灵叶",
446
  "level":"五品药材",
447
  "type":"药材",
448
- "rank":28,
449
  "主药":{
450
  "h_a_c":{
451
  "type":0,
@@ -471,7 +471,7 @@
471
  "name":"雪玉骨参",
472
  "level":"五品药材",
473
  "type":"药材",
474
- "rank":28,
475
  "主药":{
476
  "h_a_c":{
477
  "type":-1,
@@ -497,7 +497,7 @@
497
  "name":"腐骨灵花",
498
  "level":"五品药材",
499
  "type":"药材",
500
- "rank":28,
501
  "主药":{
502
  "h_a_c":{
503
  "type":1,
@@ -523,7 +523,7 @@
523
  "name":"三叶青芝",
524
  "level":"六品药材",
525
  "type":"药材",
526
- "rank":25,
527
  "主药":{
528
  "h_a_c":{
529
  "type":0,
@@ -549,7 +549,7 @@
549
  "name":"七彩月兰",
550
  "level":"六品药材",
551
  "type":"药材",
552
- "rank":25,
553
  "主药":{
554
  "h_a_c":{
555
  "type":0,
@@ -575,7 +575,7 @@
575
  "name":"三尾风叶",
576
  "level":"六品药材",
577
  "type":"药材",
578
- "rank":25,
579
  "主药":{
580
  "h_a_c":{
581
  "type":-1,
@@ -601,7 +601,7 @@
601
  "name":"冰灵焰草",
602
  "level":"六品药材",
603
  "type":"药材",
604
- "rank":25,
605
  "主药":{
606
  "h_a_c":{
607
  "type":1,
@@ -627,7 +627,7 @@
627
  "name":"地心淬灵乳",
628
  "level":"七品药材",
629
  "type":"药材",
630
- "rank":22,
631
  "主药":{
632
  "h_a_c":{
633
  "type":0,
@@ -653,7 +653,7 @@
653
  "name":"天麻翡石精",
654
  "level":"七品药材",
655
  "type":"药材",
656
- "rank":22,
657
  "主药":{
658
  "h_a_c":{
659
  "type":0,
@@ -679,7 +679,7 @@
679
  "name":"八角玄冰草",
680
  "level":"七品药材",
681
  "type":"药材",
682
- "rank":22,
683
  "主药":{
684
  "h_a_c":{
685
  "type":-1,
@@ -705,7 +705,7 @@
705
  "name":"奇茸通天菊",
706
  "level":"七品药材",
707
  "type":"药材",
708
- "rank":22,
709
  "主药":{
710
  "h_a_c":{
711
  "type":1,
@@ -731,7 +731,7 @@
731
  "name":"木灵三针花",
732
  "level":"八品药材",
733
  "type":"药材",
734
- "rank":18,
735
  "主药":{
736
  "h_a_c":{
737
  "type":0,
@@ -757,7 +757,7 @@
757
  "name":"鎏鑫天晶草",
758
  "level":"八品药材",
759
  "type":"药材",
760
- "rank":18,
761
  "主药":{
762
  "h_a_c":{
763
  "type":0,
@@ -783,7 +783,7 @@
783
  "name":"檀芒九叶花",
784
  "level":"八品药材",
785
  "type":"药材",
786
- "rank":18,
787
  "主药":{
788
  "h_a_c":{
789
  "type":-1,
@@ -809,7 +809,7 @@
809
  "name":"坎水玄冰果",
810
  "level":"八品药材",
811
  "type":"药材",
812
- "rank":18,
813
  "主药":{
814
  "h_a_c":{
815
  "type":1,
@@ -835,7 +835,7 @@
835
  "name":"离火梧桐芝",
836
  "level":"九品药材",
837
  "type":"药材",
838
- "rank":15,
839
  "主药":{
840
  "h_a_c":{
841
  "type":0,
@@ -861,7 +861,7 @@
861
  "name":"尘磊岩麟果",
862
  "level":"九品药材",
863
  "type":"药材",
864
- "rank":15,
865
  "主药":{
866
  "h_a_c":{
867
  "type":0,
@@ -887,7 +887,7 @@
887
  "name":"剑魄竹笋",
888
  "level":"九品药材",
889
  "type":"药材",
890
- "rank":15,
891
  "主药":{
892
  "h_a_c":{
893
  "type":-1,
@@ -913,7 +913,7 @@
913
  "name":"明心问道果",
914
  "level":"九品药材",
915
  "type":"药材",
916
- "rank":15,
917
  "主药":{
918
  "h_a_c":{
919
  "type":1,
@@ -939,7 +939,7 @@
939
  "name":"宁心草",
940
  "level":"一品药材",
941
  "type":"药材",
942
- "rank":40,
943
  "主药":{
944
  "h_a_c":{
945
  "type":0,
@@ -965,7 +965,7 @@
965
  "name":"凝血草",
966
  "level":"一品药材",
967
  "type":"药材",
968
- "rank":40,
969
  "主药":{
970
  "h_a_c":{
971
  "type":0,
@@ -991,7 +991,7 @@
991
  "name":"银月花",
992
  "level":"一品药材",
993
  "type":"药材",
994
- "rank":40,
995
  "主药":{
996
  "h_a_c":{
997
  "type":-1,
@@ -1017,7 +1017,7 @@
1017
  "name":"宁神花",
1018
  "level":"一品药材",
1019
  "type":"药材",
1020
- "rank":40,
1021
  "主药":{
1022
  "h_a_c":{
1023
  "type":1,
@@ -1043,7 +1043,7 @@
1043
  "name":"流莹草",
1044
  "level":"二品药材",
1045
  "type":"药材",
1046
- "rank":37,
1047
  "主药":{
1048
  "h_a_c":{
1049
  "type":0,
@@ -1069,7 +1069,7 @@
1069
  "name":"蛇涎果",
1070
  "level":"二品药材",
1071
  "type":"药材",
1072
- "rank":37,
1073
  "主药":{
1074
  "h_a_c":{
1075
  "type":0,
@@ -1095,7 +1095,7 @@
1095
  "name":"夏枯草",
1096
  "level":"二品药材",
1097
  "type":"药材",
1098
- "rank":37,
1099
  "主药":{
1100
  "h_a_c":{
1101
  "type":-1,
@@ -1121,7 +1121,7 @@
1121
  "name":"百草露",
1122
  "level":"二品药材",
1123
  "type":"药材",
1124
- "rank":37,
1125
  "主药":{
1126
  "h_a_c":{
1127
  "type":1,
@@ -1147,7 +1147,7 @@
1147
  "name":"轻灵草",
1148
  "level":"三品药材",
1149
  "type":"药材",
1150
- "rank":34,
1151
  "主药":{
1152
  "h_a_c":{
1153
  "type":0,
@@ -1173,7 +1173,7 @@
1173
  "name":"龙葵",
1174
  "level":"三品药材",
1175
  "type":"药材",
1176
- "rank":34,
1177
  "主药":{
1178
  "h_a_c":{
1179
  "type":0,
@@ -1199,7 +1199,7 @@
1199
  "name":"弗兰草",
1200
  "level":"三品药材",
1201
  "type":"药材",
1202
- "rank":34,
1203
  "主药":{
1204
  "h_a_c":{
1205
  "type":-1,
@@ -1225,7 +1225,7 @@
1225
  "name":"玄参",
1226
  "level":"三品药材",
1227
  "type":"药材",
1228
- "rank":34,
1229
  "主药":{
1230
  "h_a_c":{
1231
  "type":1,
@@ -1251,7 +1251,7 @@
1251
  "name":"菩提花",
1252
  "level":"四品药材",
1253
  "type":"药材",
1254
- "rank":31,
1255
  "主药":{
1256
  "h_a_c":{
1257
  "type":0,
@@ -1277,7 +1277,7 @@
1277
  "name":"乌稠木",
1278
  "level":"四品药材",
1279
  "type":"药材",
1280
- "rank":31,
1281
  "主药":{
1282
  "h_a_c":{
1283
  "type":0,
@@ -1303,7 +1303,7 @@
1303
  "name":"雪凝花",
1304
  "level":"四品药材",
1305
  "type":"药材",
1306
- "rank":31,
1307
  "主药":{
1308
  "h_a_c":{
1309
  "type":-1,
@@ -1329,7 +1329,7 @@
1329
  "name":"龙纹草",
1330
  "level":"四品药材",
1331
  "type":"药材",
1332
- "rank":31,
1333
  "主药":{
1334
  "h_a_c":{
1335
  "type":1,
@@ -1355,7 +1355,7 @@
1355
  "name":"天灵果",
1356
  "level":"五品药材",
1357
  "type":"药材",
1358
- "rank":28,
1359
  "主药":{
1360
  "h_a_c":{
1361
  "type":0,
@@ -1381,7 +1381,7 @@
1381
  "name":"灯心草",
1382
  "level":"五品药材",
1383
  "type":"药材",
1384
- "rank":28,
1385
  "主药":{
1386
  "h_a_c":{
1387
  "type":0,
@@ -1407,7 +1407,7 @@
1407
  "name":"穿心莲",
1408
  "level":"五品药材",
1409
  "type":"药材",
1410
- "rank":28,
1411
  "主药":{
1412
  "h_a_c":{
1413
  "type":-1,
@@ -1433,7 +1433,7 @@
1433
  "name":"龙鳞果",
1434
  "level":"五品药材",
1435
  "type":"药材",
1436
- "rank":28,
1437
  "主药":{
1438
  "h_a_c":{
1439
  "type":1,
@@ -1459,7 +1459,7 @@
1459
  "name":"白沉脂",
1460
  "level":"六品药材",
1461
  "type":"药材",
1462
- "rank":25,
1463
  "主药":{
1464
  "h_a_c":{
1465
  "type":0,
@@ -1485,7 +1485,7 @@
1485
  "name":"苦曼藤",
1486
  "level":"六品药材",
1487
  "type":"药材",
1488
- "rank":25,
1489
  "主药":{
1490
  "h_a_c":{
1491
  "type":0,
@@ -1511,7 +1511,7 @@
1511
  "name":"血菩提",
1512
  "level":"六品药材",
1513
  "type":"药材",
1514
- "rank":25,
1515
  "主药":{
1516
  "h_a_c":{
1517
  "type":-1,
@@ -1537,7 +1537,7 @@
1537
  "name":"诱妖草",
1538
  "level":"六品药材",
1539
  "type":"药材",
1540
- "rank":25,
1541
  "主药":{
1542
  "h_a_c":{
1543
  "type":1,
@@ -1563,7 +1563,7 @@
1563
  "name":"天问花",
1564
  "level":"七品药材",
1565
  "type":"药材",
1566
- "rank":22,
1567
  "主药":{
1568
  "h_a_c":{
1569
  "type":0,
@@ -1589,7 +1589,7 @@
1589
  "name":"渊血冥花",
1590
  "level":"七品药材",
1591
  "type":"药材",
1592
- "rank":22,
1593
  "主药":{
1594
  "h_a_c":{
1595
  "type":0,
@@ -1615,7 +1615,7 @@
1615
  "name":"芒焰果",
1616
  "level":"七品药材",
1617
  "type":"药材",
1618
- "rank":22,
1619
  "主药":{
1620
  "h_a_c":{
1621
  "type":-1,
@@ -1641,7 +1641,7 @@
1641
  "name":"问道花",
1642
  "level":"七品药材",
1643
  "type":"药材",
1644
- "rank":22,
1645
  "主药":{
1646
  "h_a_c":{
1647
  "type":1,
@@ -1667,7 +1667,7 @@
1667
  "name":"阴阳黄泉花",
1668
  "level":"八品药材",
1669
  "type":"药材",
1670
- "rank":18,
1671
  "主药":{
1672
  "h_a_c":{
1673
  "type":0,
@@ -1693,7 +1693,7 @@
1693
  "name":"厉魂血珀",
1694
  "level":"八品药材",
1695
  "type":"药材",
1696
- "rank":18,
1697
  "主药":{
1698
  "h_a_c":{
1699
  "type":0,
@@ -1719,7 +1719,7 @@
1719
  "name":"浩淼水藤",
1720
  "level":"八品药材",
1721
  "type":"药材",
1722
- "rank":18,
1723
  "主药":{
1724
  "h_a_c":{
1725
  "type":-1,
@@ -1745,7 +1745,7 @@
1745
  "name":"道蕴花",
1746
  "level":"八品药材",
1747
  "type":"药材",
1748
- "rank":18,
1749
  "主药":{
1750
  "h_a_c":{
1751
  "type":1,
@@ -1771,7 +1771,7 @@
1771
  "name":"太乙碧莹花",
1772
  "level":"九品药材",
1773
  "type":"药材",
1774
- "rank":15,
1775
  "主药":{
1776
  "h_a_c":{
1777
  "type":0,
@@ -1797,7 +1797,7 @@
1797
  "name":"森檀木",
1798
  "level":"九品药材",
1799
  "type":"药材",
1800
- "rank":15,
1801
  "主药":{
1802
  "h_a_c":{
1803
  "type":0,
@@ -1823,7 +1823,7 @@
1823
  "name":"炼心芝",
1824
  "level":"九品药材",
1825
  "type":"药材",
1826
- "rank":15,
1827
  "主药":{
1828
  "h_a_c":{
1829
  "type":-1,
@@ -1849,7 +1849,7 @@
1849
  "name":"重元换血草",
1850
  "level":"九品药材",
1851
  "type":"药材",
1852
- "rank":15,
1853
  "主药":{
1854
  "h_a_c":{
1855
  "type":1,
@@ -1875,7 +1875,7 @@
1875
  "name":"地黄参",
1876
  "level":"一品药材",
1877
  "type":"药材",
1878
- "rank":40,
1879
  "主药":{
1880
  "h_a_c":{
1881
  "type":0,
@@ -1901,7 +1901,7 @@
1901
  "name":"火精枣",
1902
  "level":"一品药材",
1903
  "type":"药材",
1904
- "rank":40,
1905
  "主药":{
1906
  "h_a_c":{
1907
  "type":0,
@@ -1927,7 +1927,7 @@
1927
  "name":"剑芦",
1928
  "level":"一品药材",
1929
  "type":"药材",
1930
- "rank":40,
1931
  "主药":{
1932
  "h_a_c":{
1933
  "type":-1,
@@ -1953,7 +1953,7 @@
1953
  "name":"七星草",
1954
  "level":"一品药材",
1955
  "type":"药材",
1956
- "rank":40,
1957
  "主药":{
1958
  "h_a_c":{
1959
  "type":1,
@@ -1979,7 +1979,7 @@
1979
  "name":"风灵花",
1980
  "level":"二品药材",
1981
  "type":"药材",
1982
- "rank":37,
1983
  "主药":{
1984
  "h_a_c":{
1985
  "type":0,
@@ -2005,7 +2005,7 @@
2005
  "name":"伏龙参",
2006
  "level":"二品药材",
2007
  "type":"药材",
2008
- "rank":37,
2009
  "主药":{
2010
  "h_a_c":{
2011
  "type":0,
@@ -2031,7 +2031,7 @@
2031
  "name":"凌风花",
2032
  "level":"二品药材",
2033
  "type":"药材",
2034
- "rank":37,
2035
  "主药":{
2036
  "h_a_c":{
2037
  "type":-1,
@@ -2057,7 +2057,7 @@
2057
  "name":"补天芝",
2058
  "level":"二品药材",
2059
  "type":"药材",
2060
- "rank":37,
2061
  "主药":{
2062
  "h_a_c":{
2063
  "type":1,
@@ -2083,7 +2083,7 @@
2083
  "name":"枫香脂",
2084
  "level":"三品药材",
2085
  "type":"药材",
2086
- "rank":34,
2087
  "主药":{
2088
  "h_a_c":{
2089
  "type":0,
@@ -2109,7 +2109,7 @@
2109
  "name":"炼魂珠",
2110
  "level":"三品药材",
2111
  "type":"药材",
2112
- "rank":34,
2113
  "主药":{
2114
  "h_a_c":{
2115
  "type":0,
@@ -2135,7 +2135,7 @@
2135
  "name":"玄冰花",
2136
  "level":"三品药材",
2137
  "type":"药材",
2138
- "rank":34,
2139
  "主药":{
2140
  "h_a_c":{
2141
  "type":-1,
@@ -2161,7 +2161,7 @@
2161
  "name":"炼血珠",
2162
  "level":"三品药材",
2163
  "type":"药材",
2164
- "rank":34,
2165
  "主药":{
2166
  "h_a_c":{
2167
  "type":1,
@@ -2187,7 +2187,7 @@
2187
  "name":"石龙芮",
2188
  "level":"四品药材",
2189
  "type":"药材",
2190
- "rank":31,
2191
  "主药":{
2192
  "h_a_c":{
2193
  "type":0,
@@ -2213,7 +2213,7 @@
2213
  "name":"锦地罗",
2214
  "level":"四品药材",
2215
  "type":"药材",
2216
- "rank":31,
2217
  "主药":{
2218
  "h_a_c":{
2219
  "type":0,
@@ -2239,7 +2239,7 @@
2239
  "name":"冰灵果",
2240
  "level":"四品药材",
2241
  "type":"药材",
2242
- "rank":31,
2243
  "主药":{
2244
  "h_a_c":{
2245
  "type":-1,
@@ -2265,7 +2265,7 @@
2265
  "name":"玉龙参",
2266
  "level":"四品药材",
2267
  "type":"药材",
2268
- "rank":31,
2269
  "主药":{
2270
  "h_a_c":{
2271
  "type":1,
@@ -2291,7 +2291,7 @@
2291
  "name":"伴妖草",
2292
  "level":"五品药材",
2293
  "type":"药材",
2294
- "rank":28,
2295
  "主药":{
2296
  "h_a_c":{
2297
  "type":0,
@@ -2317,7 +2317,7 @@
2317
  "name":"剑心竹",
2318
  "level":"五品药材",
2319
  "type":"药材",
2320
- "rank":28,
2321
  "主药":{
2322
  "h_a_c":{
2323
  "type":0,
@@ -2343,7 +2343,7 @@
2343
  "name":"绝魂草",
2344
  "level":"五品药材",
2345
  "type":"药材",
2346
- "rank":28,
2347
  "主药":{
2348
  "h_a_c":{
2349
  "type":-1,
@@ -2369,7 +2369,7 @@
2369
  "name":"月灵花",
2370
  "level":"五品药材",
2371
  "type":"药材",
2372
- "rank":28,
2373
  "主药":{
2374
  "h_a_c":{
2375
  "type":1,
@@ -2395,7 +2395,7 @@
2395
  "name":"混元果",
2396
  "level":"六品药材",
2397
  "type":"药材",
2398
- "rank":25,
2399
  "主药":{
2400
  "h_a_c":{
2401
  "type":0,
@@ -2421,7 +2421,7 @@
2421
  "name":"皇龙花",
2422
  "level":"六品药材",
2423
  "type":"药材",
2424
- "rank":25,
2425
  "主药":{
2426
  "h_a_c":{
2427
  "type":0,
@@ -2447,7 +2447,7 @@
2447
  "name":"天剑笋",
2448
  "level":"六品药材",
2449
  "type":"药材",
2450
- "rank":25,
2451
  "主药":{
2452
  "h_a_c":{
2453
  "type":-1,
@@ -2473,7 +2473,7 @@
2473
  "name":"黑天麻",
2474
  "level":"六品药材",
2475
  "type":"药材",
2476
- "rank":25,
2477
  "主药":{
2478
  "h_a_c":{
2479
  "type":1,
@@ -2499,7 +2499,7 @@
2499
  "name":"血玉竹",
2500
  "level":"七品药材",
2501
  "type":"药材",
2502
- "rank":22,
2503
  "主药":{
2504
  "h_a_c":{
2505
  "type":0,
@@ -2525,7 +2525,7 @@
2525
  "name":"肠蚀草",
2526
  "level":"七品药材",
2527
  "type":"药材",
2528
- "rank":22,
2529
  "主药":{
2530
  "h_a_c":{
2531
  "type":0,
@@ -2551,7 +2551,7 @@
2551
  "name":"凤血果",
2552
  "level":"七品药材",
2553
  "type":"药材",
2554
- "rank":22,
2555
  "主药":{
2556
  "h_a_c":{
2557
  "type":-1,
@@ -2577,7 +2577,7 @@
2577
  "name":"冰精芝",
2578
  "level":"七品药材",
2579
  "type":"药材",
2580
- "rank":22,
2581
  "主药":{
2582
  "h_a_c":{
2583
  "type":1,
@@ -2603,7 +2603,7 @@
2603
  "name":"狼桃",
2604
  "level":"八品药材",
2605
  "type":"药材",
2606
- "rank":18,
2607
  "主药":{
2608
  "h_a_c":{
2609
  "type":0,
@@ -2629,7 +2629,7 @@
2629
  "name":"霸王花",
2630
  "level":"八品药材",
2631
  "type":"药材",
2632
- "rank":18,
2633
  "主药":{
2634
  "h_a_c":{
2635
  "type":0,
@@ -2655,7 +2655,7 @@
2655
  "name":"太清玄灵草",
2656
  "level":"八品药材",
2657
  "type":"药材",
2658
- "rank":18,
2659
  "主药":{
2660
  "h_a_c":{
2661
  "type":-1,
@@ -2681,7 +2681,7 @@
2681
  "name":"冥胎骨",
2682
  "level":"八品药材",
2683
  "type":"药材",
2684
- "rank":18,
2685
  "主药":{
2686
  "h_a_c":{
2687
  "type":1,
@@ -2707,7 +2707,7 @@
2707
  "name":"地龙干",
2708
  "level":"九品药材",
2709
  "type":"药材",
2710
- "rank":15,
2711
  "主药":{
2712
  "h_a_c":{
2713
  "type":0,
@@ -2733,7 +2733,7 @@
2733
  "name":"龙须藤",
2734
  "level":"九品药材",
2735
  "type":"药材",
2736
- "rank":15,
2737
  "主药":{
2738
  "h_a_c":{
2739
  "type":0,
@@ -2759,7 +2759,7 @@
2759
  "name":"鬼面花",
2760
  "level":"九品药材",
2761
  "type":"药材",
2762
- "rank":15,
2763
  "主药":{
2764
  "h_a_c":{
2765
  "type":-1,
@@ -2785,7 +2785,7 @@
2785
  "name":"梧桐木",
2786
  "level":"九品药材",
2787
  "type":"药材",
2788
- "rank":15,
2789
  "主药":{
2790
  "h_a_c":{
2791
  "type":1,
 
3
  "name":"恒心草",
4
  "level":"一品药材",
5
  "type":"药材",
6
+ "rank":55,
7
  "主药":{
8
  "h_a_c":{
9
  "type":0,
 
29
  "name":"红绫草",
30
  "level":"一品药材",
31
  "type":"药材",
32
+ "rank":49,
33
  "主药":{
34
  "h_a_c":{
35
  "type":0,
 
55
  "name":"罗犀草",
56
  "level":"一品药材",
57
  "type":"药材",
58
+ "rank":49,
59
  "主药":{
60
  "h_a_c":{
61
  "type":-1,
 
81
  "name":"天青花",
82
  "level":"一品药材",
83
  "type":"药材",
84
+ "rank":49,
85
  "主药":{
86
  "h_a_c":{
87
  "type":1,
 
107
  "name":"五柳根",
108
  "level":"二品药材",
109
  "type":"药材",
110
+ "rank":46,
111
  "主药":{
112
  "h_a_c":{
113
  "type":0,
 
133
  "name":"天元果",
134
  "level":"二品药材",
135
  "type":"药材",
136
+ "rank":46,
137
  "主药":{
138
  "h_a_c":{
139
  "type":0,
 
159
  "name":"何首乌",
160
  "level":"二品药材",
161
  "type":"药材",
162
+ "rank":46,
163
  "主药":{
164
  "h_a_c":{
165
  "type":-1,
 
185
  "name":"夜交藤",
186
  "level":"二品药材",
187
  "type":"药材",
188
+ "rank":46,
189
  "主药":{
190
  "h_a_c":{
191
  "type":1,
 
211
  "name":"紫猴花",
212
  "level":"三品药材",
213
  "type":"药材",
214
+ "rank":43,
215
  "主药":{
216
  "h_a_c":{
217
  "type":0,
 
237
  "name":"九叶芝",
238
  "level":"三品药材",
239
  "type":"药材",
240
+ "rank":43,
241
  "主药":{
242
  "h_a_c":{
243
  "type":0,
 
263
  "name":"幻心草",
264
  "level":"三品药材",
265
  "type":"药材",
266
+ "rank":43,
267
  "主药":{
268
  "h_a_c":{
269
  "type":-1,
 
289
  "name":"鬼臼草",
290
  "level":"三品药材",
291
  "type":"药材",
292
+ "rank":43,
293
  "主药":{
294
  "h_a_c":{
295
  "type":1,
 
315
  "name":"血莲精",
316
  "level":"四品药材",
317
  "type":"药材",
318
+ "rank":40,
319
  "主药":{
320
  "h_a_c":{
321
  "type":0,
 
341
  "name":"鸡冠草",
342
  "level":"四品药材",
343
  "type":"药材",
344
+ "rank":40,
345
  "主药":{
346
  "h_a_c":{
347
  "type":0,
 
367
  "name":"银精芝",
368
  "level":"四品药材",
369
  "type":"药材",
370
+ "rank":40,
371
  "主药":{
372
  "h_a_c":{
373
  "type":-1,
 
393
  "name":"玉髓芝",
394
  "level":"四品药材",
395
  "type":"药材",
396
+ "rank":40,
397
  "主药":{
398
  "h_a_c":{
399
  "type":1,
 
419
  "name":"地心火芝",
420
  "level":"五品药材",
421
  "type":"药材",
422
+ "rank":37,
423
  "主药":{
424
  "h_a_c":{
425
  "type":0,
 
445
  "name":"天蝉灵叶",
446
  "level":"五品药材",
447
  "type":"药材",
448
+ "rank":37,
449
  "主药":{
450
  "h_a_c":{
451
  "type":0,
 
471
  "name":"雪玉骨参",
472
  "level":"五品药材",
473
  "type":"药材",
474
+ "rank":37,
475
  "主药":{
476
  "h_a_c":{
477
  "type":-1,
 
497
  "name":"腐骨灵花",
498
  "level":"五品药材",
499
  "type":"药材",
500
+ "rank":37,
501
  "主药":{
502
  "h_a_c":{
503
  "type":1,
 
523
  "name":"三叶青芝",
524
  "level":"六品药材",
525
  "type":"药材",
526
+ "rank":34,
527
  "主药":{
528
  "h_a_c":{
529
  "type":0,
 
549
  "name":"七彩月兰",
550
  "level":"六品药材",
551
  "type":"药材",
552
+ "rank":34,
553
  "主药":{
554
  "h_a_c":{
555
  "type":0,
 
575
  "name":"三尾风叶",
576
  "level":"六品药材",
577
  "type":"药材",
578
+ "rank":34,
579
  "主药":{
580
  "h_a_c":{
581
  "type":-1,
 
601
  "name":"冰灵焰草",
602
  "level":"六品药材",
603
  "type":"药材",
604
+ "rank":34,
605
  "主药":{
606
  "h_a_c":{
607
  "type":1,
 
627
  "name":"地心淬灵乳",
628
  "level":"七品药材",
629
  "type":"药材",
630
+ "rank":31,
631
  "主药":{
632
  "h_a_c":{
633
  "type":0,
 
653
  "name":"天麻翡石精",
654
  "level":"七品药材",
655
  "type":"药材",
656
+ "rank":31,
657
  "主药":{
658
  "h_a_c":{
659
  "type":0,
 
679
  "name":"八角玄冰草",
680
  "level":"七品药材",
681
  "type":"药材",
682
+ "rank":31,
683
  "主药":{
684
  "h_a_c":{
685
  "type":-1,
 
705
  "name":"奇茸通天菊",
706
  "level":"七品药材",
707
  "type":"药材",
708
+ "rank":31,
709
  "主药":{
710
  "h_a_c":{
711
  "type":1,
 
731
  "name":"木灵三针花",
732
  "level":"八品药材",
733
  "type":"药材",
734
+ "rank":28,
735
  "主药":{
736
  "h_a_c":{
737
  "type":0,
 
757
  "name":"鎏鑫天晶草",
758
  "level":"八品药材",
759
  "type":"药材",
760
+ "rank":28,
761
  "主药":{
762
  "h_a_c":{
763
  "type":0,
 
783
  "name":"檀芒九叶花",
784
  "level":"八品药材",
785
  "type":"药材",
786
+ "rank":28,
787
  "主药":{
788
  "h_a_c":{
789
  "type":-1,
 
809
  "name":"坎水玄冰果",
810
  "level":"八品药材",
811
  "type":"药材",
812
+ "rank":28,
813
  "主药":{
814
  "h_a_c":{
815
  "type":1,
 
835
  "name":"离火梧桐芝",
836
  "level":"九品药材",
837
  "type":"药材",
838
+ "rank":25,
839
  "主药":{
840
  "h_a_c":{
841
  "type":0,
 
861
  "name":"尘磊岩麟果",
862
  "level":"九品药材",
863
  "type":"药材",
864
+ "rank":25,
865
  "主药":{
866
  "h_a_c":{
867
  "type":0,
 
887
  "name":"剑魄竹笋",
888
  "level":"九品药材",
889
  "type":"药材",
890
+ "rank":25,
891
  "主药":{
892
  "h_a_c":{
893
  "type":-1,
 
913
  "name":"明心问道果",
914
  "level":"九品药材",
915
  "type":"药材",
916
+ "rank":25,
917
  "主药":{
918
  "h_a_c":{
919
  "type":1,
 
939
  "name":"宁心草",
940
  "level":"一品药材",
941
  "type":"药材",
942
+ "rank":55,
943
  "主药":{
944
  "h_a_c":{
945
  "type":0,
 
965
  "name":"凝血草",
966
  "level":"一品药材",
967
  "type":"药材",
968
+ "rank":55,
969
  "主药":{
970
  "h_a_c":{
971
  "type":0,
 
991
  "name":"银月花",
992
  "level":"一品药材",
993
  "type":"药材",
994
+ "rank":55,
995
  "主药":{
996
  "h_a_c":{
997
  "type":-1,
 
1017
  "name":"宁神花",
1018
  "level":"一品药材",
1019
  "type":"药材",
1020
+ "rank":55,
1021
  "主药":{
1022
  "h_a_c":{
1023
  "type":1,
 
1043
  "name":"流莹草",
1044
  "level":"二品药材",
1045
  "type":"药材",
1046
+ "rank":49,
1047
  "主药":{
1048
  "h_a_c":{
1049
  "type":0,
 
1069
  "name":"蛇涎果",
1070
  "level":"二品药材",
1071
  "type":"药材",
1072
+ "rank":49,
1073
  "主药":{
1074
  "h_a_c":{
1075
  "type":0,
 
1095
  "name":"夏枯草",
1096
  "level":"二品药材",
1097
  "type":"药材",
1098
+ "rank":49,
1099
  "主药":{
1100
  "h_a_c":{
1101
  "type":-1,
 
1121
  "name":"百草露",
1122
  "level":"二品药材",
1123
  "type":"药材",
1124
+ "rank":49,
1125
  "主药":{
1126
  "h_a_c":{
1127
  "type":1,
 
1147
  "name":"轻灵草",
1148
  "level":"三品药材",
1149
  "type":"药材",
1150
+ "rank":46,
1151
  "主药":{
1152
  "h_a_c":{
1153
  "type":0,
 
1173
  "name":"龙葵",
1174
  "level":"三品药材",
1175
  "type":"药材",
1176
+ "rank":46,
1177
  "主药":{
1178
  "h_a_c":{
1179
  "type":0,
 
1199
  "name":"弗兰草",
1200
  "level":"三品药材",
1201
  "type":"药材",
1202
+ "rank":46,
1203
  "主药":{
1204
  "h_a_c":{
1205
  "type":-1,
 
1225
  "name":"玄参",
1226
  "level":"三品药材",
1227
  "type":"药材",
1228
+ "rank":46,
1229
  "主药":{
1230
  "h_a_c":{
1231
  "type":1,
 
1251
  "name":"菩提花",
1252
  "level":"四品药材",
1253
  "type":"药材",
1254
+ "rank":43,
1255
  "主药":{
1256
  "h_a_c":{
1257
  "type":0,
 
1277
  "name":"乌稠木",
1278
  "level":"四品药材",
1279
  "type":"药材",
1280
+ "rank":43,
1281
  "主药":{
1282
  "h_a_c":{
1283
  "type":0,
 
1303
  "name":"雪凝花",
1304
  "level":"四品药材",
1305
  "type":"药材",
1306
+ "rank":43,
1307
  "主药":{
1308
  "h_a_c":{
1309
  "type":-1,
 
1329
  "name":"龙纹草",
1330
  "level":"四品药材",
1331
  "type":"药材",
1332
+ "rank":43,
1333
  "主药":{
1334
  "h_a_c":{
1335
  "type":1,
 
1355
  "name":"天灵果",
1356
  "level":"五品药材",
1357
  "type":"药材",
1358
+ "rank":40,
1359
  "主药":{
1360
  "h_a_c":{
1361
  "type":0,
 
1381
  "name":"灯心草",
1382
  "level":"五品药材",
1383
  "type":"药材",
1384
+ "rank":40,
1385
  "主药":{
1386
  "h_a_c":{
1387
  "type":0,
 
1407
  "name":"穿心莲",
1408
  "level":"五品药材",
1409
  "type":"药材",
1410
+ "rank":40,
1411
  "主药":{
1412
  "h_a_c":{
1413
  "type":-1,
 
1433
  "name":"龙鳞果",
1434
  "level":"五品药材",
1435
  "type":"药材",
1436
+ "rank":40,
1437
  "主药":{
1438
  "h_a_c":{
1439
  "type":1,
 
1459
  "name":"白沉脂",
1460
  "level":"六品药材",
1461
  "type":"药材",
1462
+ "rank":37,
1463
  "主药":{
1464
  "h_a_c":{
1465
  "type":0,
 
1485
  "name":"苦曼藤",
1486
  "level":"六品药材",
1487
  "type":"药材",
1488
+ "rank":37,
1489
  "主药":{
1490
  "h_a_c":{
1491
  "type":0,
 
1511
  "name":"血菩提",
1512
  "level":"六品药材",
1513
  "type":"药材",
1514
+ "rank":37,
1515
  "主药":{
1516
  "h_a_c":{
1517
  "type":-1,
 
1537
  "name":"诱妖草",
1538
  "level":"六品药材",
1539
  "type":"药材",
1540
+ "rank":37,
1541
  "主药":{
1542
  "h_a_c":{
1543
  "type":1,
 
1563
  "name":"天问花",
1564
  "level":"七品药材",
1565
  "type":"药材",
1566
+ "rank":34,
1567
  "主药":{
1568
  "h_a_c":{
1569
  "type":0,
 
1589
  "name":"渊血冥花",
1590
  "level":"七品药材",
1591
  "type":"药材",
1592
+ "rank":34,
1593
  "主药":{
1594
  "h_a_c":{
1595
  "type":0,
 
1615
  "name":"芒焰果",
1616
  "level":"七品药材",
1617
  "type":"药材",
1618
+ "rank":34,
1619
  "主药":{
1620
  "h_a_c":{
1621
  "type":-1,
 
1641
  "name":"问道花",
1642
  "level":"七品药材",
1643
  "type":"药材",
1644
+ "rank":34,
1645
  "主药":{
1646
  "h_a_c":{
1647
  "type":1,
 
1667
  "name":"阴阳黄泉花",
1668
  "level":"八品药材",
1669
  "type":"药材",
1670
+ "rank":31,
1671
  "主药":{
1672
  "h_a_c":{
1673
  "type":0,
 
1693
  "name":"厉魂血珀",
1694
  "level":"八品药材",
1695
  "type":"药材",
1696
+ "rank":31,
1697
  "主药":{
1698
  "h_a_c":{
1699
  "type":0,
 
1719
  "name":"浩淼水藤",
1720
  "level":"八品药材",
1721
  "type":"药材",
1722
+ "rank":31,
1723
  "主药":{
1724
  "h_a_c":{
1725
  "type":-1,
 
1745
  "name":"道蕴花",
1746
  "level":"八品药材",
1747
  "type":"药材",
1748
+ "rank":31,
1749
  "主药":{
1750
  "h_a_c":{
1751
  "type":1,
 
1771
  "name":"太乙碧莹花",
1772
  "level":"九品药材",
1773
  "type":"药材",
1774
+ "rank":28,
1775
  "主药":{
1776
  "h_a_c":{
1777
  "type":0,
 
1797
  "name":"森檀木",
1798
  "level":"九品药材",
1799
  "type":"药材",
1800
+ "rank":28,
1801
  "主药":{
1802
  "h_a_c":{
1803
  "type":0,
 
1823
  "name":"炼心芝",
1824
  "level":"九品药材",
1825
  "type":"药材",
1826
+ "rank":28,
1827
  "主药":{
1828
  "h_a_c":{
1829
  "type":-1,
 
1849
  "name":"重元换血草",
1850
  "level":"九品药材",
1851
  "type":"药材",
1852
+ "rank":28,
1853
  "主药":{
1854
  "h_a_c":{
1855
  "type":1,
 
1875
  "name":"地黄参",
1876
  "level":"一品药材",
1877
  "type":"药材",
1878
+ "rank":55,
1879
  "主药":{
1880
  "h_a_c":{
1881
  "type":0,
 
1901
  "name":"火精枣",
1902
  "level":"一品药材",
1903
  "type":"药材",
1904
+ "rank":55,
1905
  "主药":{
1906
  "h_a_c":{
1907
  "type":0,
 
1927
  "name":"剑芦",
1928
  "level":"一品药材",
1929
  "type":"药材",
1930
+ "rank":55,
1931
  "主药":{
1932
  "h_a_c":{
1933
  "type":-1,
 
1953
  "name":"七星草",
1954
  "level":"一品药材",
1955
  "type":"药材",
1956
+ "rank":55,
1957
  "主药":{
1958
  "h_a_c":{
1959
  "type":1,
 
1979
  "name":"风灵花",
1980
  "level":"二品药材",
1981
  "type":"药材",
1982
+ "rank":49,
1983
  "主药":{
1984
  "h_a_c":{
1985
  "type":0,
 
2005
  "name":"伏龙参",
2006
  "level":"二品药材",
2007
  "type":"药材",
2008
+ "rank":49,
2009
  "主药":{
2010
  "h_a_c":{
2011
  "type":0,
 
2031
  "name":"凌风花",
2032
  "level":"二品药材",
2033
  "type":"药材",
2034
+ "rank":49,
2035
  "主药":{
2036
  "h_a_c":{
2037
  "type":-1,
 
2057
  "name":"补天芝",
2058
  "level":"二品药材",
2059
  "type":"药材",
2060
+ "rank":49,
2061
  "主药":{
2062
  "h_a_c":{
2063
  "type":1,
 
2083
  "name":"枫香脂",
2084
  "level":"三品药材",
2085
  "type":"药材",
2086
+ "rank":46,
2087
  "主药":{
2088
  "h_a_c":{
2089
  "type":0,
 
2109
  "name":"炼魂珠",
2110
  "level":"三品药材",
2111
  "type":"药材",
2112
+ "rank":46,
2113
  "主药":{
2114
  "h_a_c":{
2115
  "type":0,
 
2135
  "name":"玄冰花",
2136
  "level":"三品药材",
2137
  "type":"药材",
2138
+ "rank":46,
2139
  "主药":{
2140
  "h_a_c":{
2141
  "type":-1,
 
2161
  "name":"炼血珠",
2162
  "level":"三品药材",
2163
  "type":"药材",
2164
+ "rank":46,
2165
  "主药":{
2166
  "h_a_c":{
2167
  "type":1,
 
2187
  "name":"石龙芮",
2188
  "level":"四品药材",
2189
  "type":"药材",
2190
+ "rank":43,
2191
  "主药":{
2192
  "h_a_c":{
2193
  "type":0,
 
2213
  "name":"锦地罗",
2214
  "level":"四品药材",
2215
  "type":"药材",
2216
+ "rank":43,
2217
  "主药":{
2218
  "h_a_c":{
2219
  "type":0,
 
2239
  "name":"冰灵果",
2240
  "level":"四品药材",
2241
  "type":"药材",
2242
+ "rank":43,
2243
  "主药":{
2244
  "h_a_c":{
2245
  "type":-1,
 
2265
  "name":"玉龙参",
2266
  "level":"四品药材",
2267
  "type":"药材",
2268
+ "rank":43,
2269
  "主药":{
2270
  "h_a_c":{
2271
  "type":1,
 
2291
  "name":"伴妖草",
2292
  "level":"五品药材",
2293
  "type":"药材",
2294
+ "rank":40,
2295
  "主药":{
2296
  "h_a_c":{
2297
  "type":0,
 
2317
  "name":"剑心竹",
2318
  "level":"五品药材",
2319
  "type":"药材",
2320
+ "rank":40,
2321
  "主药":{
2322
  "h_a_c":{
2323
  "type":0,
 
2343
  "name":"绝魂草",
2344
  "level":"五品药材",
2345
  "type":"药材",
2346
+ "rank":40,
2347
  "主药":{
2348
  "h_a_c":{
2349
  "type":-1,
 
2369
  "name":"月灵花",
2370
  "level":"五品药材",
2371
  "type":"药材",
2372
+ "rank":40,
2373
  "主药":{
2374
  "h_a_c":{
2375
  "type":1,
 
2395
  "name":"混元果",
2396
  "level":"六品药材",
2397
  "type":"药材",
2398
+ "rank":37,
2399
  "主药":{
2400
  "h_a_c":{
2401
  "type":0,
 
2421
  "name":"皇龙花",
2422
  "level":"六品药材",
2423
  "type":"药材",
2424
+ "rank":37,
2425
  "主药":{
2426
  "h_a_c":{
2427
  "type":0,
 
2447
  "name":"天剑笋",
2448
  "level":"六品药材",
2449
  "type":"药材",
2450
+ "rank":37,
2451
  "主药":{
2452
  "h_a_c":{
2453
  "type":-1,
 
2473
  "name":"黑天麻",
2474
  "level":"六品药材",
2475
  "type":"药材",
2476
+ "rank":37,
2477
  "主药":{
2478
  "h_a_c":{
2479
  "type":1,
 
2499
  "name":"血玉竹",
2500
  "level":"七品药材",
2501
  "type":"药材",
2502
+ "rank":34,
2503
  "主药":{
2504
  "h_a_c":{
2505
  "type":0,
 
2525
  "name":"肠蚀草",
2526
  "level":"七品药材",
2527
  "type":"药材",
2528
+ "rank":34,
2529
  "主药":{
2530
  "h_a_c":{
2531
  "type":0,
 
2551
  "name":"凤血果",
2552
  "level":"七品药材",
2553
  "type":"药材",
2554
+ "rank":34,
2555
  "主药":{
2556
  "h_a_c":{
2557
  "type":-1,
 
2577
  "name":"冰精芝",
2578
  "level":"七品药材",
2579
  "type":"药材",
2580
+ "rank":34,
2581
  "主药":{
2582
  "h_a_c":{
2583
  "type":1,
 
2603
  "name":"狼桃",
2604
  "level":"八品药材",
2605
  "type":"药材",
2606
+ "rank":31,
2607
  "主药":{
2608
  "h_a_c":{
2609
  "type":0,
 
2629
  "name":"霸王花",
2630
  "level":"八品药材",
2631
  "type":"药材",
2632
+ "rank":31,
2633
  "主药":{
2634
  "h_a_c":{
2635
  "type":0,
 
2655
  "name":"太清玄灵草",
2656
  "level":"八品药材",
2657
  "type":"药材",
2658
+ "rank":31,
2659
  "主药":{
2660
  "h_a_c":{
2661
  "type":-1,
 
2681
  "name":"冥胎骨",
2682
  "level":"八品药材",
2683
  "type":"药材",
2684
+ "rank":31,
2685
  "主药":{
2686
  "h_a_c":{
2687
  "type":1,
 
2707
  "name":"地龙干",
2708
  "level":"九品药材",
2709
  "type":"药材",
2710
+ "rank":28,
2711
  "主药":{
2712
  "h_a_c":{
2713
  "type":0,
 
2733
  "name":"龙须藤",
2734
  "level":"九品药材",
2735
  "type":"药材",
2736
+ "rank":28,
2737
  "主药":{
2738
  "h_a_c":{
2739
  "type":0,
 
2759
  "name":"鬼面花",
2760
  "level":"九品药材",
2761
  "type":"药材",
2762
+ "rank":28,
2763
  "主药":{
2764
  "h_a_c":{
2765
  "type":-1,
 
2785
  "name":"梧桐木",
2786
  "level":"九品药材",
2787
  "type":"药材",
2788
+ "rank":28,
2789
  "主药":{
2790
  "h_a_c":{
2791
  "type":1,
src/Material.py DELETED
@@ -1,21 +0,0 @@
1
- from utils import load_json,other_data,Dict2Obj
2
-
3
- class Material:
4
- def __init__(self,name:str,level:str,main:dict,deputy:dict,assist:dict):
5
- self.name:str = name
6
- self.level:str = level
7
- assert list(main.keys()) == ["h_a_c","type","power"], f"{name}主药数据错误"
8
- assert list(deputy.keys()) == ["h_a_c","type","power"], f"{name}药引数据错误"
9
- assert list(assist.keys()) == ["type","power"], f"{name}辅药数据错误"
10
- self.main = Dict2Obj(main)
11
- self.deputy = Dict2Obj(deputy)
12
- self.assist = Dict2Obj(assist)
13
- self.children = []
14
-
15
-
16
- def __str__(self):
17
- return f"""名字:{self.name}
18
- 品级:{self.level}
19
- 主药 {other_data.material_type[str(self.main.h_a_c.type)]}{str(self.main.h_a_c.power)} {other_data.material_type[str(self.main.type)]}{str(self.main.power)}
20
- 药引 {other_data.material_type[str(self.deputy.h_a_c.type)]}{str(self.deputy.h_a_c.power)}
21
- 辅药 {other_data.material_type[str(self.assist.type)]}{str(self.assist.power)}"""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
src/check_backpack.py ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import re
2
+ from tinydb import TinyDB, Query
3
+ from src.gr_func import _get_medicine_elixir_config,material_table
4
+
5
+
6
+ def get_need_material(medicine_select, medicine_level_select="ALL",material_max_num=16) ->list:
7
+ material = Query()
8
+ m = _get_medicine_elixir_config(medicine_select)
9
+ func1_type = m["func1_type"]
10
+ func1_power = m["func1_power"]
11
+ func2_type = m["func2_type"]
12
+ func2_power = m["func2_power"]
13
+ if medicine_level_select == "ALL":
14
+ a = material_table.search((material.main_func_t == func1_type) | (material.auxi_func_t == func1_type) | (
15
+ material.main_func_t == func2_type) | (material.auxi_func_t == func2_type))
16
+ else:
17
+ a = material_table.search((material.level == medicine_level_select) & (
18
+ (material.main_func_t == func1_type) | (material.auxi_func_t == func1_type) | (
19
+ material.main_func_t == func2_type) | (material.auxi_func_t == func2_type)))
20
+
21
+ def get_num(material0):
22
+ global material_second_f
23
+ name = material0["name"]
24
+ if material0["main_func_t"] == func1_type:
25
+ material_second_f = (func2_type,False)
26
+ num = func1_power / material0["main_func_p"]
27
+ elif material0["auxi_func_t"] == func1_type:
28
+ material_second_f = (func2_type,True)
29
+ num = func1_power / material0["auxi_func_p"]
30
+ elif material0["main_func_t"] == func2_type:
31
+ material_second_f = (func1_type,False)
32
+ num = func2_power / material0["main_func_p"]
33
+ elif material0["auxi_func_t"] == func2_type:
34
+ material_second_f = (func1_type,True)
35
+ num = func2_power / material0["auxi_func_p"]
36
+ num = int(num) + 1 if num > int(num) else int(num)
37
+ return (name,num,material_second_f)
38
+ rtn = list(map(get_num, a))
39
+ rtn = list(filter(lambda x:x[1]<=material_max_num, rtn))
40
+
41
+ def check_material(material0):
42
+ if material0[1] > material_max_num:
43
+ return False
44
+ material_t = material.main_func_t if material0[2][1] else material.auxi_func_t
45
+ a = material_table.search(material_t == material0[2][0])
46
+ if a == []:
47
+ return False
48
+ return True
49
+
50
+ rtn = list(filter(check_material, rtn))
51
+ rtn = list(map(lambda x: (x[0],x[1]), rtn))
52
+ return rtn
53
+
54
+ grade_str = "一二三四五六七八九"
55
+
56
+ def sort_yaocai(text,medicine_select,material_num):
57
+ material_need_dict = {}
58
+ if medicine_select != "无":
59
+ material_need_list = get_need_material(medicine_select,material_max_num=material_num)
60
+ for name,num in material_need_list:
61
+ material_need_dict[name[:-4]] = num
62
+ print(material_need_dict)
63
+ regex = re.compile("名字:.+\n品级:.+\n.+\n.+\n拥有数量:\d+")
64
+ yaocai_l = regex.findall(text)
65
+ rtn = []
66
+ for yaocai in yaocai_l:
67
+ yaocai = yaocai.split("\n")
68
+ name = yaocai[0][3:]
69
+ num = int(yaocai[-1][5:])
70
+ grade = grade_str.index(yaocai[1][3])+1
71
+
72
+ flag = material_need_dict.get(name)
73
+ if flag is not None:
74
+ flag = "+" if num>=flag else "-"
75
+ rtn.append((name,grade,num,flag))
76
+ return rtn
src/db.json DELETED
File without changes