Merge branch 'master' of 60.1.1.230:backend/jieling_server
commit
6e4eda7a53
|
|
@ -0,0 +1,134 @@
|
|||
Id MonsterId Type Profession Quality Level Hp Attack PhysicalDefence MagicDefence Speed Hit Dodge CritFactor CritDamageFactor DamageBonusFactor DamageReduceFactor SkillList PassiveSkillList
|
||||
int int int int int int int int int int int float float float float mut,int#int,1 mut,int#int,1 mut,int#int,1 mut,int#int,2
|
||||
1 1 2 0 1 5 965 260 152 152 180 0.3 0.3 0.2 1.5 0#0#0#0#0#0 0#0#0#0#0#0 1000111 null
|
||||
2 1 2 0 1 5 965 260 152 152 60 0.3 0.3 0.2 1.5 0#0#0#0#0#0 0#0#0#0#0#0 1000111 null
|
||||
3 1 2 0 1 5 965 260 152 152 5 0.3 0.3 0.2 1.5 0#0#0#0#0#0 0#0#0#0#0#0 1000111 null
|
||||
4 2 3 0 1 5 965 260 152 152 180 0.3 0.3 0.2 1.5 0#0#0#0#0#0 0#0#0#0#0#0 1000111 null
|
||||
5 2 3 0 1 5 965 260 152 152 60 0.3 0.3 0.2 1.5 0#0#0#0#0#0 0#0#0#0#0#0 1000111 null
|
||||
6 2 3 0 1 5 965 260 152 152 5 0.3 0.3 0.2 1.5 0#0#0#0#0#0 0#0#0#0#0#0 1000111 null
|
||||
7 3 2 0 1 5 965 260 152 152 180 0.3 0.3 0.2 1.5 0#0#0#0#0#0 0#0#0#0#0#0 1000111 null
|
||||
8 3 2 0 1 5 1931 520 305 305 60 0.3 0.3 0.2 1.5 0#0#0#0#0#0 0#0#0#0#0#0 1000111 null
|
||||
9 3 2 0 1 5 1931 520 305 305 5 0.3 0.3 0.2 1.5 0#0#0#0#0#0 0#0#0#0#0#0 1000111 null
|
||||
10 4 3 0 2 5 5794 1045 610 610 180 0.3 0.3 0.2 1.5 0#0#0#0#0#1 0#0#0#0#0#1 1000111 null
|
||||
11 4 3 0 2 5 5794 1045 610 610 60 0.3 0.3 0.2 1.5 0#0#0#0#0#1 0#0#0#0#0#1 1000111 null
|
||||
12 4 3 0 2 5 5794 1045 610 610 5 0.3 0.3 0.2 1.5 0#0#0#0#0#1 0#0#0#0#0#1 1000111 null
|
||||
13 5 2 0 1 5 2173 520 305 305 180 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
14 5 2 0 1 5 2173 520 305 305 60 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
15 5 2 0 1 5 2173 520 305 305 5 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
16 6 2 0 1 5 1931 520 305 305 180 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
17 6 2 0 1 5 1931 520 305 305 60 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
18 6 2 0 1 5 1931 520 305 305 5 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
19 7 1 0 1 5 6519 1560 915 915 180 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
20 7 1 0 1 5 6519 1560 915 915 60 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
21 7 1 0 1 5 6519 1560 915 915 5 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
22 8 2 0 2 5 8692 1567 915 915 180 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
23 8 2 0 2 5 8692 1567 915 915 60 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
24 8 2 0 2 5 8692 1567 915 915 5 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
25 9 3 0 1 5 9657 2601 1526 1526 180 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
26 9 3 0 1 5 9657 2601 1526 1526 60 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
27 9 3 0 1 5 9657 2601 1526 1526 5 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
28 10 3 0 1 5 9657 2601 1526 1526 180 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
29 10 3 0 1 5 9657 2601 1526 1526 60 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
30 10 3 0 1 5 9657 2601 1526 1526 5 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
31 11 3 0 2 5 28973 5225 3052 3052 180 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
32 11 3 0 2 5 28973 5225 3052 3052 60 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
33 11 3 0 2 5 28973 5225 3052 3052 5 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
34 9 3 0 1 5 15452 4161 2441 2441 180 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
35 9 3 0 1 5 15452 4161 2441 2441 60 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
36 9 3 0 1 5 15452 4161 2441 2441 5 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
37 13 3 0 1 88 19315 5202 3052 3052 1176 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
38 13 3 0 1 88 19315 5202 3052 3052 392 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
39 13 3 0 1 88 19315 5202 3052 3052 39 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
40 7 1 0 1 88 22275 5411 3170 3170 1176 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
41 7 1 0 1 88 22275 5411 3170 3170 392 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
42 7 1 0 1 88 22275 5411 3170 3170 39 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
43 11 3 0 2 96 31905 5949 3456 3456 1272 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
44 11 3 0 2 96 31905 5949 3456 3456 424 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
45 11 3 0 2 96 31905 5949 3456 3456 42 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
46 15 1 0 1 96 23928 5917 3456 3456 1272 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
47 15 1 0 1 96 23928 5917 3456 3456 424 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
48 15 1 0 1 96 23928 5917 3456 3456 42 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
49 16 1 0 2 100 32359 6045 3495 3495 1320 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
50 16 1 0 2 100 32359 6045 3495 3495 440 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
51 16 1 0 2 100 32359 6045 3495 3495 43 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
52 17 4 0 1 100 24269 6009 3495 3495 1320 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
53 17 4 0 1 100 24269 6009 3495 3495 440 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
54 17 4 0 1 100 24269 6009 3495 3495 43 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
55 18 4 0 1 100 22254 6215 3623 3623 1320 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
56 18 4 0 1 100 22254 6215 3623 3623 440 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
57 18 4 0 1 100 22254 6215 3623 3623 43 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
58 19 4 0 2 100 31970 5950 3431 3431 1320 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
59 19 4 0 2 100 31970 5950 3431 3431 440 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
60 19 4 0 2 100 31970 5950 3431 3431 43 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
61 20 2 0 1 100 23977 5911 3431 3431 1320 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
62 20 2 0 1 100 23977 5911 3431 3431 440 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
63 20 2 0 1 100 23977 5911 3431 3431 43 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
64 21 3 0 1 100 23977 5911 3431 3431 1320 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
65 21 3 0 1 100 23977 5911 3431 3431 440 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
66 21 3 0 1 100 23977 5911 3431 3431 43 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
67 22 4 0 1 108 38829 7754 4520 4520 1416 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
68 22 4 0 1 108 38829 7754 4520 4520 472 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
69 22 4 0 1 108 38829 7754 4520 4520 47 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
70 23 3 0 1 100 20892 5802 3366 3366 1320 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
71 23 3 0 1 100 20892 5802 3366 3366 440 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
72 23 3 0 1 100 20892 5802 3366 3366 43 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
73 24 2 0 2 108 50478 7887 4520 4520 1416 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
74 24 2 0 2 108 50478 7887 4520 4520 472 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
75 24 2 0 2 108 50478 7887 4520 4520 47 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
76 25 4 0 2 108 39598 6929 4008 4008 1416 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
77 25 4 0 2 108 39598 6929 4008 4008 472 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
78 25 4 0 2 108 39598 6929 4008 4008 47 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
79 26 2 0 1 100 20892 5802 3366 3366 1320 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
80 26 2 0 1 100 20892 5802 3366 3366 440 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
81 26 2 0 1 100 20892 5802 3366 3366 43 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
82 27 2 0 1 108 21734 6021 3496 3496 1416 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
83 27 2 0 1 108 21734 6021 3496 3496 472 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
84 27 2 0 1 108 21734 6021 3496 3496 47 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
85 28 4 0 1 108 29698 6887 4008 4008 1416 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
86 28 4 0 1 108 29698 6887 4008 4008 472 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
87 28 4 0 1 108 29698 6887 4008 4008 47 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
88 29 3 0 1 108 21734 6021 3496 3496 1416 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
89 29 3 0 1 108 21734 6021 3496 3496 472 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
90 29 3 0 1 108 21734 6021 3496 3496 47 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
91 30 4 0 2 108 47227 7908 4585 4585 1416 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
92 30 4 0 2 108 47227 7908 4585 4585 472 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
93 30 4 0 2 108 47227 7908 4585 4585 47 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
94 31 2 0 1 108 21734 6021 3496 3496 1416 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
95 31 2 0 1 108 21734 6021 3496 3496 472 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
96 31 2 0 1 108 21734 6021 3496 3496 47 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
97 32 1 0 1 108 29698 6887 4008 4008 1416 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
98 32 1 0 1 108 29698 6887 4008 4008 472 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
99 32 1 0 1 108 29698 6887 4008 4008 47 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
100 33 2 0 1 120 45686 9611 5615 5615 1560 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
101 33 2 0 1 120 45686 9611 5615 5615 520 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
102 33 2 0 1 120 45686 9611 5615 5615 51 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
103 34 4 0 1 120 45686 9611 5615 5615 1560 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
104 34 4 0 1 120 45686 9611 5615 5615 520 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
105 34 4 0 1 120 45686 9611 5615 5615 51 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
106 35 2 0 1 120 31905 7972 4650 4650 1560 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
107 35 2 0 1 120 31905 7972 4650 4650 520 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
108 35 2 0 1 120 31905 7972 4650 4650 51 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
109 36 2 0 1 120 31905 7972 4650 4650 1560 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
110 36 2 0 1 120 31905 7972 4650 4650 520 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
111 36 2 0 1 120 31905 7972 4650 4650 51 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
112 37 3 0 2 122 75685 11610 6758 6758 1584 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
113 37 3 0 2 122 75685 11610 6758 6758 528 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
114 37 3 0 2 122 75685 11610 6758 6758 52 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
115 38 2 0 2 124 83849 12031 6936 6936 1608 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
116 38 2 0 2 124 83849 12031 6936 6936 536 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
117 38 2 0 2 124 83849 12031 6936 6936 53 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
118 39 2 0 1 124 56469 11497 6721 6721 1608 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
119 39 2 0 1 124 56469 11497 6721 6721 536 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
120 39 2 0 1 124 56469 11497 6721 6721 53 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
121 40 4 0 2 126 75101 11538 6704 6704 1632 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
122 40 4 0 2 126 75101 11538 6704 6704 544 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
123 40 4 0 2 126 75101 11538 6704 6704 54 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
124 41 2 0 1 124 51599 11855 6936 6936 1608 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
125 41 2 0 1 124 51599 11855 6936 6936 536 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
126 41 2 0 1 124 51599 11855 6936 6936 53 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
127 42 3 0 1 124 51599 11855 6936 6936 1608 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
128 42 3 0 1 124 51599 11855 6936 6936 536 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
129 42 3 0 1 124 51599 11855 6936 6936 53 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
130 43 0 0 2 128 83434 12001 6903 6903 1656 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
131 43 0 0 2 128 83434 12001 6903 6903 552 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
132 43 0 0 2 128 83434 12001 6903 6903 55 0.3 0.3 0.2 1.5 0#0#0#0#0#2 0#0#0#0#0#2 1000111 null
|
||||
|
|
@ -0,0 +1,56 @@
|
|||
Id Contents Rewardgroup
|
||||
int mut,int#int,2 mut,int#int,1
|
||||
10101 1#2#3 null
|
||||
10102 4#5#6 null
|
||||
10103 7#8#9 null
|
||||
10104 14#1#3 null
|
||||
10105 14#4#6 null
|
||||
10106 14#7#9 null
|
||||
10107 11#1#3 null
|
||||
10108 11#4#6 null
|
||||
10109 11#7#9 null
|
||||
10110 11 null
|
||||
10201 16#17#18 null
|
||||
10202 20#16#18 null
|
||||
10203 23#16#18 null
|
||||
10204 23 null
|
||||
10205 23#19#21 null
|
||||
10301 25#26#27 null
|
||||
10302 28#29#30 null
|
||||
10303 32#25#27 null
|
||||
10304 32#28#30 null
|
||||
10305 32 null
|
||||
0 null null
|
||||
0 null null
|
||||
0 null null
|
||||
0 null null
|
||||
0 null null
|
||||
0 null null
|
||||
0 null null
|
||||
0 null null
|
||||
0 null null
|
||||
10401 11#3 null
|
||||
10402 12#3 null
|
||||
10403 11#2|12#1 null
|
||||
10404 12#2|11#2 null
|
||||
10405 13#2 null
|
||||
10406 13#1|12#2 null
|
||||
10501 14#3 null
|
||||
10502 15#5 null
|
||||
10503 15#2|14#2 null
|
||||
10504 16#2 null
|
||||
10505 16#1|14#2 null
|
||||
10506 16#1|15#3 null
|
||||
10601 17#3 null
|
||||
10602 17#4 null
|
||||
10603 18#5 null
|
||||
10604 17#2|18#2 null
|
||||
10701 19#2 null
|
||||
10702 20#2 null
|
||||
10703 19#2|20#1 null
|
||||
10704 19#2|20#2 null
|
||||
10801 21#2 null
|
||||
10802 22#2 null
|
||||
10803 21#1|22#1 null
|
||||
10804 23#1 null
|
||||
10805 21#1|22#1|23#1 null
|
||||
|
|
@ -12,6 +12,7 @@ public class SCMap implements BaseConfig {
|
|||
private int id;
|
||||
private int event;
|
||||
private int[][] groups;
|
||||
private int isMustAppear;
|
||||
|
||||
@Override
|
||||
public void init() throws Exception {
|
||||
|
|
@ -29,4 +30,8 @@ public class SCMap implements BaseConfig {
|
|||
public int[][] getGroups() {
|
||||
return groups;
|
||||
}
|
||||
|
||||
public int getIsMustAppear() {
|
||||
return isMustAppear;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,153 @@
|
|||
package com.ljsd.jieling.config;
|
||||
|
||||
import com.ljsd.jieling.logic.STableManager;
|
||||
import com.ljsd.jieling.logic.Table;
|
||||
import com.ljsd.jieling.protocols.FightInfoProto;
|
||||
import com.ljsd.jieling.util.CBean2Proto;
|
||||
|
||||
import java.util.Map;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
|
||||
|
||||
@Table(name ="MonsterConfig")
|
||||
public class SMonsterConfig implements BaseConfig {
|
||||
private static Map<Integer,SMonsterConfig> sMonsterConfigMap;
|
||||
private static Map<Integer, FightInfoProto.Monster> monsterMap;
|
||||
private int id;
|
||||
|
||||
private int monsterId;
|
||||
|
||||
private int type;
|
||||
|
||||
private int profession;
|
||||
|
||||
private int quality;
|
||||
|
||||
private int level;
|
||||
|
||||
private int hp;
|
||||
|
||||
private int attack;
|
||||
|
||||
private int physicalDefence;
|
||||
|
||||
private int magicDefence;
|
||||
|
||||
private int speed;
|
||||
|
||||
private float hit;
|
||||
|
||||
private float dodge;
|
||||
|
||||
private float critFactor;
|
||||
|
||||
private float critDamageFactor;
|
||||
|
||||
private int[] damageBonusFactor;
|
||||
|
||||
private int[] damageReduceFactor;
|
||||
|
||||
private int[] skillList;
|
||||
|
||||
private int[][] passiveSkillList;
|
||||
|
||||
public static Map<Integer, SMonsterConfig> getsMonsterConfigMap() {
|
||||
return sMonsterConfigMap;
|
||||
}
|
||||
|
||||
public static Map<Integer, FightInfoProto.Monster> getMonsterMap() {
|
||||
return monsterMap;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void init() throws Exception {
|
||||
sMonsterConfigMap = STableManager.getConfig(SMonsterConfig.class);
|
||||
Map<Integer, FightInfoProto.Monster> monsterMapVo = new ConcurrentHashMap<>();
|
||||
for (Map.Entry<Integer,SMonsterConfig> entry :sMonsterConfigMap.entrySet()){
|
||||
SMonsterConfig sMonsterConfig = entry.getValue();
|
||||
if (!monsterMapVo.containsKey(sMonsterConfig.getId())){
|
||||
monsterMapVo.put(sMonsterConfig.getId(), CBean2Proto.getMonster(sMonsterConfig));
|
||||
}
|
||||
}
|
||||
monsterMap = monsterMapVo;
|
||||
}
|
||||
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public int getMonsterId() {
|
||||
return monsterId;
|
||||
}
|
||||
|
||||
public int getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public int getProfession() {
|
||||
return profession;
|
||||
}
|
||||
|
||||
public int getQuality() {
|
||||
return quality;
|
||||
}
|
||||
|
||||
public int getLevel() {
|
||||
return level;
|
||||
}
|
||||
|
||||
public int getHp() {
|
||||
return hp;
|
||||
}
|
||||
|
||||
public int getAttack() {
|
||||
return attack;
|
||||
}
|
||||
|
||||
public int getPhysicalDefence() {
|
||||
return physicalDefence;
|
||||
}
|
||||
|
||||
public int getMagicDefence() {
|
||||
return magicDefence;
|
||||
}
|
||||
|
||||
public int getSpeed() {
|
||||
return speed;
|
||||
}
|
||||
|
||||
public float getHit() {
|
||||
return hit;
|
||||
}
|
||||
|
||||
public float getDodge() {
|
||||
return dodge;
|
||||
}
|
||||
|
||||
public float getCritFactor() {
|
||||
return critFactor;
|
||||
}
|
||||
|
||||
public float getCritDamageFactor() {
|
||||
return critDamageFactor;
|
||||
}
|
||||
|
||||
public int[] getDamageBonusFactor() {
|
||||
return damageBonusFactor;
|
||||
}
|
||||
|
||||
public int[] getDamageReduceFactor() {
|
||||
return damageReduceFactor;
|
||||
}
|
||||
|
||||
public int[] getSkillList() {
|
||||
return skillList;
|
||||
}
|
||||
|
||||
public int[][] getPassiveSkillList() {
|
||||
return passiveSkillList;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,40 @@
|
|||
package com.ljsd.jieling.config;
|
||||
|
||||
import com.ljsd.jieling.logic.STableManager;
|
||||
import com.ljsd.jieling.logic.Table;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
@Table(name ="MonsterGroup")
|
||||
public class SMonsterGroup implements BaseConfig {
|
||||
private static Map<Integer,SMonsterGroup> sMonsterGroupMap;
|
||||
private int id;
|
||||
|
||||
private int[][] contents;
|
||||
|
||||
private int[] rewardgroup;
|
||||
|
||||
|
||||
@Override
|
||||
public void init() throws Exception {
|
||||
sMonsterGroupMap = STableManager.getConfig(SMonsterGroup.class);
|
||||
}
|
||||
|
||||
public static Map<Integer, SMonsterGroup> getsMonsterGroupMap() {
|
||||
return sMonsterGroupMap;
|
||||
}
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public int[][] getContents() {
|
||||
return contents;
|
||||
}
|
||||
|
||||
public int[] getRewardgroup() {
|
||||
return rewardgroup;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -77,8 +77,8 @@ public class MapLogic {
|
|||
return;
|
||||
}
|
||||
mapManager.setHeroes(heroes);
|
||||
user.getPlayerInfoManager().setMapId(101);
|
||||
mapManager.setCurMapId(101);
|
||||
user.getPlayerInfoManager().setMapId(mapId);
|
||||
mapManager.setCurMapId(mapId);
|
||||
initMap(mapManager, user);
|
||||
user.setMapManager(mapManager);
|
||||
} else {
|
||||
|
|
@ -96,16 +96,10 @@ public class MapLogic {
|
|||
}
|
||||
List<CommonProto.Cell> cells = new ArrayList<>(mapManager.getMapInfo().size());
|
||||
for (Map.Entry<Integer, Cell> entry : mapManager.getMapInfo().entrySet()) {
|
||||
Cell cell = entry.getValue();
|
||||
if (cell.getEventId() == -1) {
|
||||
continue;
|
||||
}
|
||||
CommonProto.Cell cellProto = CommonProto.Cell
|
||||
.newBuilder()
|
||||
.setCellId(entry.getKey())
|
||||
.setPointId(cell.getPointId())
|
||||
.build();
|
||||
cells.add(cellProto);
|
||||
cellToProto(cells, entry);
|
||||
}
|
||||
for (Map.Entry<Integer, Cell> entry : mapManager.getTypeEight().entrySet()) {
|
||||
cellToProto(cells, entry);
|
||||
}
|
||||
MapInfoProto.MapEnterResponse mapEnterResponse = MapInfoProto.MapEnterResponse
|
||||
.newBuilder()
|
||||
|
|
@ -115,6 +109,19 @@ public class MapLogic {
|
|||
MessageUtil.sendMessage(iSession, 1, messageType.getNumber(), mapEnterResponse, true);
|
||||
}
|
||||
|
||||
private void cellToProto(List<CommonProto.Cell> cells, Map.Entry<Integer, Cell> entry) {
|
||||
Cell cell = entry.getValue();
|
||||
if (cell.getEventId() == -1) {
|
||||
return;
|
||||
}
|
||||
CommonProto.Cell cellProto = CommonProto.Cell
|
||||
.newBuilder()
|
||||
.setCellId(entry.getKey())
|
||||
.setPointId(cell.getPointId())
|
||||
.build();
|
||||
cells.add(cellProto);
|
||||
}
|
||||
|
||||
|
||||
public void initMap(MapManager mapManager, User user) throws Exception {
|
||||
Map<Integer, SCMap> scMap = SCMap.sCMap.get(mapManager.getCurMapId());
|
||||
|
|
@ -134,6 +141,17 @@ public class MapLogic {
|
|||
}
|
||||
for (Map.Entry<Integer, SCMap> entry : scMap.entrySet()) {
|
||||
SCMap scMap1 = entry.getValue();
|
||||
if (scMap1.getIsMustAppear() == 1) {
|
||||
for (int i = 0; i < scMap1.getGroups().length; i++) {
|
||||
int x = scMap1.getGroups()[i][0];
|
||||
int y = scMap1.getGroups()[i][1];
|
||||
int xy = CellUtil.xy2Pos(x, y);
|
||||
MapPointConfig mapPointConfig = MapPointConfig.scMapEventMap.get(scMap1.getEvent());
|
||||
Cell cellValue = new Cell(xy, mapPointConfig.getInitialEventId(), mapPointConfig.getId());
|
||||
newMap.put(xy, cellValue);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
int randomIndex = random.nextInt(scMap1.getGroups().length);
|
||||
int x = scMap1.getGroups()[randomIndex][0];
|
||||
int y = scMap1.getGroups()[randomIndex][1];
|
||||
|
|
@ -157,7 +175,7 @@ public class MapLogic {
|
|||
if (mapPointConfig.getStyle() == EventType.enter) {
|
||||
mapManager.setCurXY(xy);
|
||||
}
|
||||
if (mapPointConfig.getStyle() == EventType.allEvents) {
|
||||
if (mapPointConfig.getStyle() == EventType.allEvents || mapPointConfig.getStyle() == EventType.hinder) {
|
||||
spicelMap.put(xy, cellValue);
|
||||
} else {
|
||||
newMap.put(xy, cellValue);
|
||||
|
|
|
|||
|
|
@ -1,15 +1,11 @@
|
|||
package com.ljsd.jieling.handler.map.behavior;
|
||||
|
||||
import com.ljsd.jieling.config.SItem;
|
||||
import com.ljsd.jieling.handler.map.EventType;
|
||||
import com.ljsd.jieling.logic.dao.User;
|
||||
import com.ljsd.jieling.protocols.MapInfoProto;
|
||||
import com.ljsd.jieling.util.ItemUtil;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
@Component
|
||||
public class EatBuffBehavior extends BaseBehavior {
|
||||
@Override
|
||||
|
|
@ -19,14 +15,10 @@ public class EatBuffBehavior extends BaseBehavior {
|
|||
|
||||
@Override
|
||||
public boolean process(User user, int[][] behaviorTypeValues, MapInfoProto.EventUpdateResponse.Builder eventUpdateResponse) throws Exception {
|
||||
SItem sItem = SItem.getsItemMap().get(behaviorTypeValues[0][0]);
|
||||
boolean isEnough = ItemUtil.checkCost(user, sItem, behaviorTypeValues[0][1]);
|
||||
boolean isEnough = ItemUtil.itemCost(user, behaviorTypeValues);
|
||||
if (!isEnough) {
|
||||
return isEnough;
|
||||
}
|
||||
Map<Integer, Integer> useItems = new HashMap<>();
|
||||
useItems.put(behaviorTypeValues[0][0], behaviorTypeValues[0][1]);
|
||||
ItemUtil.useItem(user, useItems);
|
||||
return isEnough;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -19,14 +19,10 @@ public class ScoutBehavior extends BaseBehavior {
|
|||
|
||||
@Override
|
||||
public boolean process(User user, int[][] behaviorTypeValues, MapInfoProto.EventUpdateResponse.Builder eventUpdateResponse) throws Exception {
|
||||
SItem sItem = SItem.getsItemMap().get(behaviorTypeValues[0][0]);
|
||||
boolean isEnough = ItemUtil.checkCost(user, sItem, behaviorTypeValues[0][1]);
|
||||
boolean isEnough = ItemUtil.itemCost(user, behaviorTypeValues);
|
||||
if (!isEnough) {
|
||||
return isEnough;
|
||||
}
|
||||
Map<Integer, Integer> useItems = new HashMap<>();
|
||||
useItems.put(behaviorTypeValues[0][0], behaviorTypeValues[0][1]);
|
||||
ItemUtil.useItem(user, useItems);
|
||||
return isEnough;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
package com.ljsd.jieling.handler.map.behavior;
|
||||
|
||||
import com.ljsd.jieling.config.SItem;
|
||||
import com.ljsd.jieling.handler.map.Cell;
|
||||
import com.ljsd.jieling.handler.map.EventType;
|
||||
import com.ljsd.jieling.logic.dao.User;
|
||||
|
|
@ -8,7 +7,6 @@ import com.ljsd.jieling.protocols.MapInfoProto;
|
|||
import com.ljsd.jieling.util.ItemUtil;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
@Component
|
||||
|
|
@ -20,14 +18,10 @@ public class UseItemAndDestroyBehavior extends BaseBehavior {
|
|||
|
||||
@Override
|
||||
public boolean process(User user, int[][] behaviorTypeValues, MapInfoProto.EventUpdateResponse.Builder eventUpdateResponse) throws Exception {
|
||||
SItem sItem = SItem.getsItemMap().get(behaviorTypeValues[0][0]);
|
||||
boolean isEnough = ItemUtil.checkCost(user, sItem, behaviorTypeValues[0][1]);
|
||||
boolean isEnough = ItemUtil.itemCost(user, behaviorTypeValues);
|
||||
if (!isEnough) {
|
||||
return isEnough;
|
||||
}
|
||||
Map<Integer, Integer> useItems = new HashMap<>();
|
||||
useItems.put(behaviorTypeValues[0][0], behaviorTypeValues[0][1]);
|
||||
ItemUtil.useItem(user, useItems);
|
||||
Map<Integer, Cell> mapInfo = user.getMapManager().getMapInfo();
|
||||
mapInfo.remove(user.getMapManager().getCurXY());
|
||||
user.getMapManager().setMapInfo(mapInfo);
|
||||
|
|
|
|||
|
|
@ -1,15 +1,11 @@
|
|||
package com.ljsd.jieling.handler.map.behavior;
|
||||
|
||||
import com.ljsd.jieling.config.SItem;
|
||||
import com.ljsd.jieling.handler.map.EventType;
|
||||
import com.ljsd.jieling.logic.dao.User;
|
||||
import com.ljsd.jieling.protocols.MapInfoProto;
|
||||
import com.ljsd.jieling.util.ItemUtil;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
@Component
|
||||
public class UseItemBehavior extends BaseBehavior {
|
||||
@Override
|
||||
|
|
@ -19,14 +15,10 @@ public class UseItemBehavior extends BaseBehavior {
|
|||
|
||||
@Override
|
||||
public boolean process(User user, int[][] behaviorTypeValues, MapInfoProto.EventUpdateResponse.Builder eventUpdateResponse) throws Exception {
|
||||
SItem sItem = SItem.getsItemMap().get(behaviorTypeValues[0][0]);
|
||||
boolean isEnough = ItemUtil.checkCost(user, sItem, behaviorTypeValues[0][1]);
|
||||
boolean isEnough = ItemUtil.itemCost(user, behaviorTypeValues);
|
||||
if (!isEnough) {
|
||||
return isEnough;
|
||||
}
|
||||
Map<Integer, Integer> useItems = new HashMap<>();
|
||||
useItems.put(behaviorTypeValues[0][0], behaviorTypeValues[0][1]);
|
||||
ItemUtil.useItem(user, useItems);
|
||||
return isEnough;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,11 +1,16 @@
|
|||
package com.ljsd.jieling.util;
|
||||
|
||||
import com.ljsd.jieling.config.SMonsterConfig;
|
||||
import com.ljsd.jieling.logic.dao.*;
|
||||
import com.ljsd.jieling.protocols.CommonProto;
|
||||
import com.ljsd.jieling.protocols.FightInfoProto;
|
||||
import com.sun.org.apache.regexp.internal.RE;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Queue;
|
||||
import java.util.concurrent.CopyOnWriteArrayList;
|
||||
|
||||
public class CBean2Proto {
|
||||
|
||||
|
|
@ -117,4 +122,41 @@ public class CBean2Proto {
|
|||
.addAllPokemoncomonpent(pokemoncomonpentList)
|
||||
.build();
|
||||
}
|
||||
public static FightInfoProto.Monster getMonster(SMonsterConfig sMonsterConfig) {
|
||||
List<Integer> monsterPropertyList = new CopyOnWriteArrayList<>();
|
||||
List<Integer> monsterSkillList = new CopyOnWriteArrayList<>(); //火风水地光暗
|
||||
int[] damageBonusFactor = sMonsterConfig.getDamageBonusFactor();
|
||||
int[] damageReduceFactor = sMonsterConfig.getDamageReduceFactor();
|
||||
monsterPropertyList.add(sMonsterConfig.getLevel()); //等级
|
||||
monsterPropertyList.add(sMonsterConfig.getHp()); //生命
|
||||
monsterPropertyList.add(0); //最大生命
|
||||
monsterPropertyList.add(sMonsterConfig.getAttack());//攻击力
|
||||
monsterPropertyList.add(sMonsterConfig.getPhysicalDefence()); //护甲
|
||||
monsterPropertyList.add(sMonsterConfig.getMagicDefence()); //魔抗
|
||||
monsterPropertyList.add(sMonsterConfig.getSpeed()); //速度
|
||||
monsterPropertyList.add(0); //伤害加成系数
|
||||
monsterPropertyList.add(0); //伤害减免系数
|
||||
monsterPropertyList.add((int)(sMonsterConfig.getHit() * 10000)); //命中率
|
||||
monsterPropertyList.add((int)(sMonsterConfig.getDodge() * 10000)); //闪避率
|
||||
monsterPropertyList.add((int)(sMonsterConfig.getCritDamageFactor() * 10000)); //暴击伤害系数
|
||||
monsterPropertyList.add(-1); //治疗加成系数
|
||||
monsterPropertyList.add(damageBonusFactor[0]); //火系伤害加成系数
|
||||
monsterPropertyList.add(damageReduceFactor[0]); //火系伤害减免系数
|
||||
monsterPropertyList.add(damageBonusFactor[2]); //冰系伤害加成系数
|
||||
monsterPropertyList.add(damageReduceFactor[2]); //冰系伤害减免系数
|
||||
monsterPropertyList.add(damageBonusFactor[4]); //雷系伤害加成系数
|
||||
monsterPropertyList.add(damageReduceFactor[4]); //雷系伤害减免系数
|
||||
monsterPropertyList.add(damageBonusFactor[1]); //风系伤害加成系数
|
||||
monsterPropertyList.add(damageReduceFactor[1]); //风系伤害减免系数
|
||||
monsterPropertyList.add(damageBonusFactor[3]); //地系伤害加成系数
|
||||
monsterPropertyList.add(damageReduceFactor[3]); //地系伤害减免系数
|
||||
monsterPropertyList.add(damageBonusFactor[5]); //暗系伤害加成系数
|
||||
monsterPropertyList.add(damageReduceFactor[5]); //暗系伤害减免系数
|
||||
|
||||
FightInfoProto.Monster.Builder monsterBuilder = FightInfoProto.Monster.newBuilder();
|
||||
monsterBuilder.addAllMonsterProperty(monsterPropertyList);
|
||||
monsterBuilder.addAllMonsterSkill(monsterSkillList);
|
||||
monsterBuilder.setMonsterId(String.valueOf(sMonsterConfig.getId()));
|
||||
return monsterBuilder.build();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,35 @@
|
|||
package com.ljsd.jieling.util;
|
||||
|
||||
import com.ljsd.jieling.config.SMonsterConfig;
|
||||
import com.ljsd.jieling.config.SMonsterGroup;
|
||||
import com.ljsd.jieling.protocols.FightInfoProto;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.concurrent.CopyOnWriteArrayList;
|
||||
|
||||
public class MonsterUtil {
|
||||
|
||||
public static List<FightInfoProto.Monster> getMonsterByGroup(int groupId){
|
||||
SMonsterGroup sMonsterGroup = SMonsterGroup.getsMonsterGroupMap().get(groupId);
|
||||
int[][] groupIds = sMonsterGroup.getContents();
|
||||
List<FightInfoProto.Monster> monsterList = new CopyOnWriteArrayList<>();
|
||||
Map<Integer, FightInfoProto.Monster> monsterMap = SMonsterConfig.getMonsterMap();
|
||||
for (int[] monsterIds : groupIds){
|
||||
for (int monsterId: monsterIds){
|
||||
monsterList.add(monsterMap.get(monsterId));
|
||||
}
|
||||
}
|
||||
return monsterList;
|
||||
}
|
||||
|
||||
public static List<Integer> getMonsterSkillById(int monsterId){
|
||||
FightInfoProto.Monster monster = SMonsterConfig.getMonsterMap().get(monsterId);
|
||||
return monster.getMonsterSkillList();
|
||||
}
|
||||
|
||||
public static List<Integer> getMonsterPropertyById(int monsterId){
|
||||
FightInfoProto.Monster monster = SMonsterConfig.getMonsterMap().get(monsterId);
|
||||
return monster.getMonsterPropertyList();
|
||||
}
|
||||
}
|
||||
|
|
@ -7,7 +7,7 @@ import java.util.*;
|
|||
|
||||
public class ExcelUtils {
|
||||
private static boolean isWrite = true;
|
||||
private static String excelPath ="D:/jieling_client/data_execl/map/"; //excel 文件
|
||||
private static String excelPath ="C:/ljsd/demo/tmp/base_data/"; //excel 文件
|
||||
private static String path = "conf/server/";
|
||||
private static Set<String> oldFileNames = new HashSet<>();
|
||||
private static String javaFilePath = "serverlogic/src/main/java/com/ljsd/jieling/config/";
|
||||
|
|
@ -305,8 +305,10 @@ public class ExcelUtils {
|
|||
for (Map.Entry<Object, List<Object>> entry : infoMap.entrySet()) {
|
||||
String[] split = entry.getKey().toString().split("#");
|
||||
Object npc = entry.getKey();
|
||||
if (split.length >= 2){
|
||||
Object isMustAppear = 0;
|
||||
if (split.length >= 3){
|
||||
npc = split[1];
|
||||
isMustAppear = split[2];
|
||||
}
|
||||
List<Object> value = entry.getValue();
|
||||
StringBuilder groups = new StringBuilder();
|
||||
|
|
@ -318,13 +320,13 @@ public class ExcelUtils {
|
|||
}
|
||||
}
|
||||
if (i == 0){
|
||||
out.write("id\tEvent\tGroups");
|
||||
out.write("id\tEvent\tGroups\tisMustAppear");
|
||||
out.write("\r\n");
|
||||
out.write("int"+"\t"+"int"+"\t"+"mut,int#int,2");
|
||||
out.write("int"+"\t"+"int"+"\t"+"mut,int#int,2"+"\t"+"int");
|
||||
out.write("\r\n");
|
||||
}
|
||||
i = i +1 ;
|
||||
out.write( i+"\t"+npc+"\t"+groups.toString());
|
||||
out.write( i+"\t"+npc+"\t"+groups.toString()+"\t" + isMustAppear);
|
||||
out.write("\r\n");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue