瀏覽代碼

修改盲盒字段

neo 1 年之前
父節點
當前提交
d320c75a02
共有 2 個文件被更改,包括 20 次插入13 次删除
  1. 4 4
      BlindBoxAwardConfig.lua
  2. 16 9
      ResItemConfig.lua

+ 4 - 4
BlindBoxAwardConfig.lua

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

+ 16 - 9
ResItemConfig.lua

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