Bläddra i källkod

修改盲盒字段

neo 1 år sedan
förälder
incheckning
d320c75a02
2 ändrade filer med 20 tillägg och 13 borttagningar
  1. 4 4
      BlindBoxAwardConfig.lua
  2. 16 9
      ResItemConfig.lua

+ 4 - 4
BlindBoxAwardConfig.lua

@@ -2,22 +2,22 @@ local root = {
2
     {
2
     {
3
         boxId = 1001,
3
         boxId = 1001,
4
         itemId = 10001,
4
         itemId = 10001,
5
-        Constant = '100.0'
5
+        weightByPrice = 100
6
     },
6
     },
7
     {
7
     {
8
         boxId = 1001,
8
         boxId = 1001,
9
         itemId = 10101,
9
         itemId = 10101,
10
-        Constant = '100.0'
10
+        weightByPrice = 100
11
     },
11
     },
12
     {
12
     {
13
         boxId = 1002,
13
         boxId = 1002,
14
         itemId = 10001,
14
         itemId = 10001,
15
-        Constant = '100.0'
15
+        weightByPrice = 100
16
     },
16
     },
17
     {
17
     {
18
         boxId = 1002,
18
         boxId = 1002,
19
         itemId = 10003,
19
         itemId = 10003,
20
-        Constant = '100.0'
20
+        weightByPrice = 100
21
     }
21
     }
22
 }
22
 }
23
 return root
23
 return root

+ 16 - 9
ResItemConfig.lua

@@ -3,6 +3,8 @@ local root = {
3
         id = 101,
3
         id = 101,
4
         type = 1,
4
         type = 1,
5
         name = '金币',
5
         name = '金币',
6
+        modelType = 0,
7
+        surface = 0,
6
         seq = 1,
8
         seq = 1,
7
         enableComposite = true
9
         enableComposite = true
8
     },
10
     },
@@ -10,6 +12,8 @@ local root = {
10
         id = 102,
12
         id = 102,
11
         type = 1,
13
         type = 1,
12
         name = '钻石',
14
         name = '钻石',
15
+        modelType = 0,
16
+        surface = 0,
13
         seq = 2,
17
         seq = 2,
14
         enableComposite = true
18
         enableComposite = true
15
     },
19
     },
@@ -17,6 +21,9 @@ local root = {
17
         id = 103,
21
         id = 103,
18
         type = 1,
22
         type = 1,
19
         name = 'N1纪念布章',
23
         name = 'N1纪念布章',
24
+        quality = 7,
25
+        modelType = 0,
26
+        surface = 0,
20
         seq = 3,
27
         seq = 3,
21
         enableComposite = true,
28
         enableComposite = true,
22
         price = 1
29
         price = 1
@@ -28,7 +35,7 @@ local root = {
28
         quality = 1,
35
         quality = 1,
29
         modelType = 1,
36
         modelType = 1,
30
         surface = 1,
37
         surface = 1,
31
-        enableComposite = true,
38
+        enableComposite = false,
32
         price = 135000
39
         price = 135000
33
     },
40
     },
34
     {
41
     {
@@ -38,7 +45,7 @@ local root = {
38
         quality = 2,
45
         quality = 2,
39
         modelType = 1,
46
         modelType = 1,
40
         surface = 2,
47
         surface = 2,
41
-        enableComposite = true,
48
+        enableComposite = false,
42
         price = 145000
49
         price = 145000
43
     },
50
     },
44
     {
51
     {
@@ -48,7 +55,7 @@ local root = {
48
         quality = 3,
55
         quality = 3,
49
         modelType = 1,
56
         modelType = 1,
50
         surface = 3,
57
         surface = 3,
51
-        enableComposite = true,
58
+        enableComposite = false,
52
         price = 155000
59
         price = 155000
53
     },
60
     },
54
     {
61
     {
@@ -58,7 +65,7 @@ local root = {
58
         quality = 4,
65
         quality = 4,
59
         modelType = 1,
66
         modelType = 1,
60
         surface = 4,
67
         surface = 4,
61
-        enableComposite = true,
68
+        enableComposite = false,
62
         price = 165000
69
         price = 165000
63
     },
70
     },
64
     {
71
     {
@@ -68,7 +75,7 @@ local root = {
68
         quality = 5,
75
         quality = 5,
69
         modelType = 1,
76
         modelType = 1,
70
         surface = 5,
77
         surface = 5,
71
-        enableComposite = true,
78
+        enableComposite = false,
72
         price = 175000
79
         price = 175000
73
     },
80
     },
74
     {
81
     {
@@ -78,7 +85,7 @@ local root = {
78
         quality = 6,
85
         quality = 6,
79
         modelType = 1,
86
         modelType = 1,
80
         surface = 6,
87
         surface = 6,
81
-        enableComposite = true,
88
+        enableComposite = false,
82
         price = 185000
89
         price = 185000
83
     },
90
     },
84
     {
91
     {
@@ -88,7 +95,7 @@ local root = {
88
         quality = 1,
95
         quality = 1,
89
         modelType = 1,
96
         modelType = 1,
90
         surface = 1,
97
         surface = 1,
91
-        enableComposite = true,
98
+        enableComposite = false,
92
         price = 185000
99
         price = 185000
93
     },
100
     },
94
     {
101
     {
@@ -98,7 +105,7 @@ local root = {
98
         quality = 3,
105
         quality = 3,
99
         modelType = 3,
106
         modelType = 3,
100
         surface = 3,
107
         surface = 3,
101
-        enableComposite = true,
108
+        enableComposite = false,
102
         price = 205000
109
         price = 205000
103
     },
110
     },
104
     {
111
     {
@@ -108,7 +115,7 @@ local root = {
108
         quality = 2,
115
         quality = 2,
109
         modelType = 2,
116
         modelType = 2,
110
         surface = 2,
117
         surface = 2,
111
-        enableComposite = true,
118
+        enableComposite = false,
112
         price = 195000
119
         price = 195000
113
     }
120
     }
114
 }
121
 }