地图修改
parent
3f0f5d4cf6
commit
f5cf36911f
|
@ -1,15 +1,15 @@
|
||||||
Id Info Size MoveConfused EnergyConfused OpenRule
|
Id Info Size MoveConfused EnergyConfused OpenRule
|
||||||
int string mut,int#int,1 int int string
|
int string mut,int#int,1 int int mut,int#int,1
|
||||||
100 序章 10#10 1 0
|
100 序章 10#10 0 0 null
|
||||||
101 战乱荒林 15#20 1 10
|
101 战乱荒林 15#20 1 10 1#2
|
||||||
102 三途津 15#20 2 10
|
102 三途津 15#20 2 10 2#4
|
||||||
103 青龙门 20#15 2 20
|
103 青龙门 20#15 2 20 3#5
|
||||||
104 风见原野 40#20 2 20
|
104 风见原野 40#20 2 20 4#2
|
||||||
105 观澜港 15#20 2 20
|
105 观澜港 15#20 2 20 5#3
|
||||||
106 白叶渡 20#30 2 20
|
106 白叶渡 20#30 2 20 null
|
||||||
107 荆棘流域 30#30 2 20
|
107 荆棘流域 30#30 2 20 null
|
||||||
108 中心枢纽 10#20 2 20
|
108 中心枢纽 10#20 2 20 null
|
||||||
109 毁灭之城 30#40 2 20
|
109 毁灭之城 30#40 2 20 null
|
||||||
110 寒水溶洞 15#20 2 20
|
110 寒水溶洞 15#20 2 20 null
|
||||||
111 地图11 15#20 2 20
|
111 地图11 15#20 2 20 null
|
||||||
112 地图12 15#20 2 20
|
112 地图12 15#20 2 20 null
|
||||||
|
|
|
@ -19,7 +19,7 @@ int int int int int int int
|
||||||
101022 2 2 2 0 101130 0
|
101022 2 2 2 0 101130 0
|
||||||
101015 2 3 2 0 101134 0
|
101015 2 3 2 0 101134 0
|
||||||
101021 2 3 2 0 101129 0
|
101021 2 3 2 0 101129 0
|
||||||
101005 3 2 2 0 101005 0
|
101005 3 2 2 0 101005 30
|
||||||
101006 4 2 2 0 101153 0
|
101006 4 2 2 0 101153 0
|
||||||
0 0 0 0 0 0 0
|
0 0 0 0 0 0 0
|
||||||
101008 5 3 2 0 101006 0
|
101008 5 3 2 0 101006 0
|
||||||
|
|
|
@ -11,7 +11,7 @@ int mut,int#int,2 mut,int#int,1 string
|
||||||
10108 11#4#6 10108#20108
|
10108 11#4#6 10108#20108
|
||||||
10109 11#7#9 10109#20109
|
10109 11#7#9 10109#20109
|
||||||
10110 11 10110#20110
|
10110 11 10110#20110
|
||||||
10111 136#137#138 10104#20104
|
10111 136#137#138 10111#20111
|
||||||
10201 16#17#18 10201#20201
|
10201 16#17#18 10201#20201
|
||||||
10202 20#16#18 10202#20202
|
10202 20#16#18 10202#20202
|
||||||
10203 23#16#18 10203#20203
|
10203 23#16#18 10203#20203
|
||||||
|
@ -29,8 +29,8 @@ int mut,int#int,2 mut,int#int,1 string
|
||||||
10405 44#34#36 10405#20405
|
10405 44#34#36 10405#20405
|
||||||
10406 44#37#39 10406#20406
|
10406 44#37#39 10406#20406
|
||||||
10407 44 10407#20407
|
10407 44 10407#20407
|
||||||
10408 43#45 10409#20409
|
10408 43#45 10408#20408
|
||||||
10409 43#45#40#42 10408#20408
|
10409 43#45#40#42 10409#20409
|
||||||
10501 46#48 10501#20501
|
10501 46#48 10501#20501
|
||||||
10502 46#47#48 10502#20502
|
10502 46#47#48 10502#20502
|
||||||
10503 50#46#48 10503#20503
|
10503 50#46#48 10503#20503
|
||||||
|
@ -72,56 +72,56 @@ int mut,int#int,2 mut,int#int,1 string
|
||||||
11004 122#125#128 11004#21004
|
11004 122#125#128 11004#21004
|
||||||
11005 122 11005#21005
|
11005 122 11005#21005
|
||||||
11006 131 11006#21006
|
11006 131 11006#21006
|
||||||
1010001 1002#1003#1004 10104#20104
|
1010001 1002#1003#1004 1010001#1020001
|
||||||
1010002 1005#1006#1007 10105#20105
|
1010002 1005#1006#1007 1010002#1020002
|
||||||
1010003 1008#1009#1010 10106#20106
|
1010003 1008#1009#1010 1010003#1020003
|
||||||
1010004 1011#1012#1013 10107#20107
|
1010004 1011#1012#1013 1010004#1020004
|
||||||
1010005 1014#1016 10107#20107
|
1010005 1014#1016 1010005#1020005
|
||||||
1010006 1014#1015#1016 10107#20107
|
1010006 1014#1015#1016 1010006#1020006
|
||||||
1010007 1017 10110#20110
|
1010007 1017 1010007#1020007
|
||||||
1020001 1018#1019#1020 10201#20201
|
1020001 1018#1019#1020 1020001#1030001
|
||||||
1020002 1021#1022#1023 10201#20201
|
1020002 1021#1022#1023 1020002#1030002
|
||||||
1020003 1024#1025#1026 10201#20201
|
1020003 1024#1025#1026 1020003#1030003
|
||||||
1020004 1027#1028#1029 10201#20201
|
1020004 1027#1028#1029 1020004#1030004
|
||||||
1020005 1030#1031#1032 10201#20201
|
1020005 1030#1031#1032 1020005#1030005
|
||||||
1020006 1033#1034#1035 10202#20202
|
1020006 1033#1034#1035 1020006#1030006
|
||||||
1020007 1036#1037#1038 10203#20203
|
1020007 1036#1037#1038 1020007#1030007
|
||||||
1020008 1039#1040#1041 10204#20204
|
1020008 1039#1040#1041 1020008#1030008
|
||||||
1020009 1042 10205#20205
|
1020009 1042 1020009#1030009
|
||||||
1030001 1043#1044#1045 10302#20302
|
1030001 1043#1044#1045 1030001#1040001
|
||||||
1030002 1046#1047#1048 10303#20303
|
1030002 1046#1047#1048 1030002#1040002
|
||||||
1030003 1052#1049#1051 10304#20304
|
1030003 1052#1049#1051 1030003#1040003
|
||||||
1030004 1053 10305#20305
|
1030004 1053 1030004#1040004
|
||||||
1040001 1054#1055#1056 10404#20404
|
1040001 1054#1055#1056 1040001#1050001
|
||||||
1040002 1057#1058#1059 10404#20404
|
1040002 1057#1058#1059 1040002#1050002
|
||||||
1040003 1060#1061#1062 10405#20405
|
1040003 1060#1061#1062 1040003#1050003
|
||||||
1040004 1063 10406#20406
|
1040004 1063 1040004#1050004
|
||||||
1040005 1063#1064#1060#1062 10407#20407
|
1040005 1063#1064#1060#1062 1040005#1050005
|
||||||
1040006 1065#1066#1067 10409#20409
|
1040006 1065#1066#1067 1040006#1050006
|
||||||
1050001 1069 10501#20501
|
1050001 1069 1050001#1060001
|
||||||
1050002 1071#1072#1073 10502#20502
|
1050002 1071#1072#1073 1050002#1060002
|
||||||
1050003 1075#1071#1073 10503#20503
|
1050003 1075#1071#1073 1050003#1060003
|
||||||
1050004 1078 10504#20504
|
1050004 1078 1050004#1060004
|
||||||
1050005 1080 10504#20504
|
1050005 1080 1050005#1060005
|
||||||
1050006 1081#1082 10504#20504
|
1050006 1081#1082 1050006#1060006
|
||||||
1060001 1083#1084#1085 10601#20601
|
1060001 1083#1084#1085 1060001#1070001
|
||||||
1060002 1086#1087#1088 10601#20601
|
1060002 1086#1087#1088 1060002#1070002
|
||||||
1060003 1089#1090#1091 10601#20601
|
1060003 1089#1090#1091 1060003#1070003
|
||||||
1060004 1092 10602#20602
|
1060004 1092 1060004#1070004
|
||||||
1060005 1093#1094#1095 10603#20603
|
1060005 1093#1094#1095 1060005#1070005
|
||||||
1060006 1096#1097#1098 10604#20604
|
1060006 1096#1097#1098 1060006#1070006
|
||||||
1060007 1099#1101#1102#1104 10605#20605
|
1060007 1099#1101#1102#1104 1060007#1070007
|
||||||
1070001 1108#1110#1105#1107 10708#20708
|
1070001 1108#1110#1105#1107 1070001#1080001
|
||||||
1070002 1111 10709#20709
|
1070002 1111 1070002#1080002
|
||||||
1080001 1112#1114 10808#20808
|
1080001 1112#1114 1080001#1090001
|
||||||
1080002 1115#1117 10808#20808
|
1080002 1115#1117 1080002#1090002
|
||||||
1080003 1118#1120 10808#20808
|
1080003 1118#1120 1080003#1090003
|
||||||
1080004 1121#1123 10808#20808
|
1080004 1121#1123 1080004#1090004
|
||||||
1080005 1124#1126 10808#20808
|
1080005 1124#1126 1080005#1090005
|
||||||
1080006 1127#1129 10808#20808
|
1080006 1127#1129 1080006#1090006
|
||||||
1080007 1130#1131 10809#20809
|
1080007 1130#1131 1080007#1090007
|
||||||
1080008 1132 10809#20809
|
1080008 1132 1080008#1090008
|
||||||
1080009 1133 10809#20809
|
1080009 1133 1080009#1090009
|
||||||
1090001 1134#1135#1136 10906#20906
|
1090001 1134#1135#1136 1090001#1100001
|
||||||
1090002 1137#1138#1139 10906#20906
|
1090002 1137#1138#1139 1090002#1100002
|
||||||
1090003 1140 10907#20907
|
1090003 1140 1090003#1100003
|
||||||
|
|
|
@ -71,7 +71,7 @@ int int int mut,int#int,2 mut,int#int,1 int mut,int#int,2
|
||||||
101035 0 0 null null 1 101029
|
101035 0 0 null null 1 101029
|
||||||
101036 0 0 null null 1 101030
|
101036 0 0 null null 1 101030
|
||||||
101037 0 0 null null 6 101027
|
101037 0 0 null null 6 101027
|
||||||
101038 0 0 null null 1 101035
|
101038 0 28 30 null 1 101035
|
||||||
101039 0 0 null null 4 null
|
101039 0 0 null null 4 null
|
||||||
101040 0 0 null null 0 null
|
101040 0 0 null null 0 null
|
||||||
101041 0 0 null null 0 null
|
101041 0 0 null null 0 null
|
||||||
|
|
|
@ -207,67 +207,68 @@ int int mut,int#int,1 int int
|
||||||
10107 1 1006#2006 2 0
|
10107 1 1006#2006 2 0
|
||||||
10108 1 1007#2007 2 0
|
10108 1 1007#2007 2 0
|
||||||
10109 1 1008#2008 2 0
|
10109 1 1008#2008 2 0
|
||||||
10110 1 1009#2009#103 2 0
|
10110 1 1009#2009 2 0
|
||||||
10201 1 1010#2010 2 0
|
10111 1 1010#2010 2 0
|
||||||
10202 1 1011#2011 2 0
|
10201 1 1011#2011 2 0
|
||||||
10203 1 1012#2012 2 0
|
10202 1 1012#2012 2 0
|
||||||
10204 1 1013#2013 2 0
|
10203 1 1013#2013 2 0
|
||||||
10205 1 1014#2014 2 0
|
10204 1 1014#2014 2 0
|
||||||
10301 1 1015#2015 2 0
|
10205 1 1015#2015 2 0
|
||||||
10302 1 1016#2016 2 0
|
10301 1 1016#2016 2 0
|
||||||
10303 1 1017#2017 2 0
|
10302 1 1017#2017 2 0
|
||||||
10304 1 1018#2018 2 0
|
10303 1 1018#2018 2 0
|
||||||
10305 1 1019#2019 2 0
|
10304 1 1019#2019 2 0
|
||||||
10401 1 1020#2020 2 0
|
10305 1 1020#2020 2 0
|
||||||
10402 1 1021#2021 2 0
|
10401 1 1021#2021 2 0
|
||||||
10403 1 1022#2022 2 0
|
10402 1 1022#2022 2 0
|
||||||
10404 1 1023#2023 2 0
|
10403 1 1023#2023 2 0
|
||||||
10405 1 1024#2024 2 0
|
10404 1 1024#2024 2 0
|
||||||
10406 1 1025#2025 2 0
|
10405 1 1025#2025 2 0
|
||||||
10407 1 1026#2026 2 0
|
10406 1 1026#2026 2 0
|
||||||
10408 1 1027#2027 2 0
|
10407 1 1027#2027 2 0
|
||||||
10409 1 1069#2069 2 0
|
10408 1 1028#2028 2 0
|
||||||
10501 1 1028#2028 2 0
|
10409 1 1029#2029 2 0
|
||||||
10502 1 1029#2029 2 0
|
10501 1 1030#2030 2 0
|
||||||
10503 1 1030#2030 2 0
|
10502 1 1031#2031 2 0
|
||||||
10504 1 1031#2031 2 0
|
10503 1 1032#2032 2 0
|
||||||
10505 1 1032#2032 2 0
|
10504 1 1033#2033 2 0
|
||||||
10601 1 1033#2033 2 0
|
10505 1 1034#2034 2 0
|
||||||
10602 1 1034#2034 2 0
|
10601 1 1035#2035 2 0
|
||||||
10603 1 1035#2035 2 0
|
10602 1 1036#2036 2 0
|
||||||
10604 1 1036#2036 2 0
|
10603 1 1037#2037 2 0
|
||||||
10605 1 1037#2037 2 0
|
10604 1 1038#2038 2 0
|
||||||
10701 1 1038#2038 2 0
|
10605 1 1039#2039 2 0
|
||||||
10702 1 1039#2039 2 0
|
10701 1 1040#2040 2 0
|
||||||
10703 1 1040#2040 2 0
|
10702 1 1041#2041 2 0
|
||||||
10704 1 1041#2041 2 0
|
10703 1 1042#2042 2 0
|
||||||
10705 1 1042#2042 2 0
|
10704 1 1043#2043 2 0
|
||||||
10706 1 1043#2043 2 0
|
10705 1 1044#2044 2 0
|
||||||
10707 1 1044#2044 2 0
|
10706 1 1045#2045 2 0
|
||||||
10708 1 1045#2045 2 0
|
10707 1 1046#2046 2 0
|
||||||
10709 1 1046#2046 2 0
|
10708 1 1047#2047 2 0
|
||||||
10801 1 1047#2047 2 0
|
10709 1 1048#2048 2 0
|
||||||
10802 1 1048#2048 2 0
|
10801 1 1049#2049 2 0
|
||||||
10803 1 1049#2049 2 0
|
10802 1 1050#2050 2 0
|
||||||
10804 1 1050#2050 2 0
|
10803 1 1051#2051 2 0
|
||||||
10805 1 1051#2051 2 0
|
10804 1 1052#2052 2 0
|
||||||
10806 1 1052#2052 2 0
|
10805 1 1053#2053 2 0
|
||||||
10807 1 1053#2053 2 0
|
10806 1 1054#2054 2 0
|
||||||
10808 1 1054#2054 2 0
|
10807 1 1055#2055 2 0
|
||||||
10809 1 1055#2055 2 0
|
10808 1 1056#2056 2 0
|
||||||
10901 1 1056#2056 2 0
|
10809 1 1057#2057 2 0
|
||||||
10902 1 1057#2057 2 0
|
10901 1 1058#2058 2 0
|
||||||
10903 1 1058#2058 2 0
|
10902 1 1059#2059 2 0
|
||||||
10904 1 1059#2059 2 0
|
10903 1 1060#2060 2 0
|
||||||
10905 1 1060#2060 2 0
|
10904 1 1061#2061 2 0
|
||||||
10906 1 1061#2061 2 0
|
10905 1 1062#2062 2 0
|
||||||
10907 1 1062#2062 2 0
|
10906 1 1063#2063 2 0
|
||||||
11001 1 1063#2063 2 0
|
10907 1 1064#2064 2 0
|
||||||
11002 1 1064#2064 2 0
|
11001 1 1065#2065 2 0
|
||||||
11003 1 1065#2065 2 0
|
11002 1 1066#2066 2 0
|
||||||
11004 1 1066#2066 2 0
|
11003 1 1067#2067 2 0
|
||||||
11005 1 1067#2067 2 0
|
11004 1 1068#2068 2 0
|
||||||
11006 1 1068#2068 2 0
|
11005 1 1069#2069 2 0
|
||||||
|
11006 1 1070#2070 2 0
|
||||||
20101 2 100#101#102#103#104#105#106#107#108#109#110#111#112#113#114#115#116#117#118 1 0
|
20101 2 100#101#102#103#104#105#106#107#108#109#110#111#112#113#114#115#116#117#118 1 0
|
||||||
20102 2 100#101#102#103#104#105#106#107#108#109#110#111#112#113#114#115#116#117#118 1 0
|
20102 2 100#101#102#103#104#105#106#107#108#109#110#111#112#113#114#115#116#117#118 1 0
|
||||||
20103 2 100#101#102#103#104#105#106#107#108#109#110#111#112#113#114#115#116#117#118 1 0
|
20103 2 100#101#102#103#104#105#106#107#108#109#110#111#112#113#114#115#116#117#118 1 0
|
||||||
|
@ -278,6 +279,7 @@ int int mut,int#int,1 int int
|
||||||
20108 2 100#101#102#103#104#105#106#107#108#109#110#111#112#113#114#115#116#117#118 1 0
|
20108 2 100#101#102#103#104#105#106#107#108#109#110#111#112#113#114#115#116#117#118 1 0
|
||||||
20109 2 100#101#102#103#104#105#106#107#108#109#110#111#112#113#114#115#116#117#118 1 0
|
20109 2 100#101#102#103#104#105#106#107#108#109#110#111#112#113#114#115#116#117#118 1 0
|
||||||
20110 2 100#101#102#103#104#105#106#107#108#109#110#111#112#113#114#115#116#117#118 1 0
|
20110 2 100#101#102#103#104#105#106#107#108#109#110#111#112#113#114#115#116#117#118 1 0
|
||||||
|
20111 2 100#101#102#103#104#105#106#107#108#109#110#111#112#113#114#115#116#117#118 1 0
|
||||||
20201 2 100#101#102#103#104#105#106#107#108#109#110#111#112#113#114#115#116#117#118 1 0
|
20201 2 100#101#102#103#104#105#106#107#108#109#110#111#112#113#114#115#116#117#118 1 0
|
||||||
20202 2 100#101#102#103#104#105#106#107#108#109#110#111#112#113#114#115#116#117#118 1 0
|
20202 2 100#101#102#103#104#105#106#107#108#109#110#111#112#113#114#115#116#117#118 1 0
|
||||||
20203 2 100#101#102#103#104#105#106#107#108#109#110#111#112#113#114#115#116#117#118 1 0
|
20203 2 100#101#102#103#104#105#106#107#108#109#110#111#112#113#114#115#116#117#118 1 0
|
||||||
|
@ -296,7 +298,7 @@ int int mut,int#int,1 int int
|
||||||
20406 2 100#101#102#103#104#105#106#107#108#109#110#111#112#113#114#115#116#117#118 1 0
|
20406 2 100#101#102#103#104#105#106#107#108#109#110#111#112#113#114#115#116#117#118 1 0
|
||||||
20407 2 100#101#102#103#104#105#106#107#108#109#110#111#112#113#114#115#116#117#118 1 0
|
20407 2 100#101#102#103#104#105#106#107#108#109#110#111#112#113#114#115#116#117#118 1 0
|
||||||
20408 2 100#101#102#103#104#105#106#107#108#109#110#111#112#113#114#115#116#117#118 1 0
|
20408 2 100#101#102#103#104#105#106#107#108#109#110#111#112#113#114#115#116#117#118 1 0
|
||||||
20409 2 100#201#202#203#204#205#206#207#208#209#210#211#212#213#214#215#216#217#218 1 0
|
20409 2 100#101#102#103#104#105#106#107#108#109#110#111#112#113#114#115#116#117#118 1 0
|
||||||
20501 2 100#201#202#203#204#205#206#207#208#209#210#211#212#213#214#215#216#217#218 1 0
|
20501 2 100#201#202#203#204#205#206#207#208#209#210#211#212#213#214#215#216#217#218 1 0
|
||||||
20502 2 100#201#202#203#204#205#206#207#208#209#210#211#212#213#214#215#216#217#218 1 0
|
20502 2 100#201#202#203#204#205#206#207#208#209#210#211#212#213#214#215#216#217#218 1 0
|
||||||
20503 2 100#201#202#203#204#205#206#207#208#209#210#211#212#213#214#215#216#217#218 1 0
|
20503 2 100#201#202#203#204#205#206#207#208#209#210#211#212#213#214#215#216#217#218 1 0
|
||||||
|
@ -338,9 +340,6 @@ int int mut,int#int,1 int int
|
||||||
21004 2 100#301#302#303#304#305#306#307#308#309#310#311#312#313#314#315#316#317#318 1 0
|
21004 2 100#301#302#303#304#305#306#307#308#309#310#311#312#313#314#315#316#317#318 1 0
|
||||||
21005 2 100#301#302#303#304#305#306#307#308#309#310#311#312#313#314#315#316#317#318 1 0
|
21005 2 100#301#302#303#304#305#306#307#308#309#310#311#312#313#314#315#316#317#318 1 0
|
||||||
21006 2 100#301#302#303#304#305#306#307#308#309#310#311#312#313#314#315#316#317#318 1 0
|
21006 2 100#301#302#303#304#305#306#307#308#309#310#311#312#313#314#315#316#317#318 1 0
|
||||||
0 0 null 0 0
|
|
||||||
0 0 null 0 0
|
|
||||||
0 0 null 0 0
|
|
||||||
100001 1 100001 1 0
|
100001 1 100001 1 0
|
||||||
100002 1 100002 1 0
|
100002 1 100002 1 0
|
||||||
100003 1 100003 1 0
|
100003 1 100003 1 0
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
Id ItemId Chance GrowChance RandomMin RandomMax
|
Id ItemId Chance GrowChance RandomMin RandomMax
|
||||||
int int int float int int
|
int int int float int int
|
||||||
100 3001 1 1.0 0 0
|
100 3001 10200 1.0 0 0
|
||||||
101 3001 100 1.0 1 1
|
101 3001 100 1.0 1 1
|
||||||
102 3002 100 1.0 1 1
|
102 3002 100 1.0 1 1
|
||||||
103 3003 100 1.0 1 1
|
103 3003 100 1.0 1 1
|
||||||
|
@ -73,146 +73,148 @@ int int int float int int
|
||||||
416 3316 100 1.0 1 1
|
416 3316 100 1.0 1 1
|
||||||
417 3317 100 1.0 1 1
|
417 3317 100 1.0 1 1
|
||||||
418 3318 100 1.0 1 1
|
418 3318 100 1.0 1 1
|
||||||
1000 3 100 1.0 3 7
|
1000 3 100 1.0 18 22
|
||||||
1001 3 100 1.0 3 7
|
1001 3 100 1.0 14 17
|
||||||
1002 3 100 1.0 3 7
|
1002 3 100 1.0 14 17
|
||||||
1003 3 100 1.0 3 7
|
1003 3 100 1.0 14 17
|
||||||
1004 3 100 1.0 3 7
|
1004 3 100 1.0 14 17
|
||||||
1005 3 100 1.0 3 7
|
1005 3 100 1.0 14 17
|
||||||
1006 3 100 1.0 3 7
|
1006 3 100 1.0 18 22
|
||||||
1007 3 100 1.0 3 7
|
1007 3 100 1.0 18 22
|
||||||
1008 3 100 1.0 3 7
|
1008 3 100 1.0 18 22
|
||||||
1009 3 100 1.0 150 150
|
1009 3 100 1.0 100 100
|
||||||
1010 3 100 1.0 3 7
|
1010 3 100 1.0 100 100
|
||||||
1011 3 100 1.0 3 7
|
1011 3 100 1.0 18 22
|
||||||
1012 3 100 1.0 8 12
|
1012 3 100 1.0 18 22
|
||||||
1013 3 100 1.0 3 7
|
1013 3 100 1.0 23 28
|
||||||
1014 3 100 1.0 300 300
|
1014 3 100 1.0 150 150
|
||||||
1015 3 100 1.0 8 12
|
1015 3 100 1.0 300 300
|
||||||
1016 3 100 1.0 8 12
|
1016 3 100 1.0 23 28
|
||||||
1017 3 100 1.0 8 12
|
1017 3 100 1.0 23 28
|
||||||
1018 3 100 1.0 8 12
|
1018 3 100 1.0 27 33
|
||||||
1019 3 100 1.0 160 160
|
1019 3 100 1.0 36 44
|
||||||
1020 3 100 1.0 8 12
|
1020 3 100 1.0 150 150
|
||||||
1021 3 100 1.0 8 12
|
1021 3 100 1.0 32 39
|
||||||
1022 3 100 1.0 8 12
|
1022 3 100 1.0 32 39
|
||||||
1023 3 100 1.0 8 12
|
1023 3 100 1.0 32 39
|
||||||
1024 3 100 1.0 13 17
|
1024 3 100 1.0 32 39
|
||||||
1025 3 100 1.0 13 17
|
1025 3 100 1.0 36 44
|
||||||
1026 3 100 1.0 170 170
|
1026 3 100 1.0 36 44
|
||||||
1027 3 100 1.0 18 22
|
1027 3 100 1.0 150 150
|
||||||
1028 3 100 1.0 8 12
|
1028 3 100 1.0 400 400
|
||||||
1029 3 100 1.0 13 17
|
1029 3 100 1.0 400 400
|
||||||
1030 3 100 1.0 13 17
|
1030 3 100 1.0 27 33
|
||||||
1031 3 100 1.0 180 180
|
1031 3 100 1.0 41 50
|
||||||
1032 3 100 1.0 350 350
|
1032 3 100 1.0 45 55
|
||||||
1033 3 100 1.0 13 17
|
1033 3 100 1.0 200 200
|
||||||
1034 3 100 1.0 13 17
|
1034 3 100 1.0 500 500
|
||||||
1035 3 100 1.0 13 17
|
1035 3 100 1.0 41 50
|
||||||
1036 3 100 1.0 190 190
|
1036 3 100 1.0 41 50
|
||||||
1037 3 100 1.0 400 400
|
1037 3 100 1.0 45 55
|
||||||
1038 3 100 1.0 13 17
|
1038 3 100 1.0 250 250
|
||||||
1039 3 100 1.0 13 17
|
1039 3 100 1.0 600 600
|
||||||
1040 3 100 1.0 13 17
|
1040 3 100 1.0 45 55
|
||||||
1041 3 100 1.0 13 17
|
1041 3 100 1.0 45 55
|
||||||
1042 3 100 1.0 13 17
|
1042 3 100 1.0 45 55
|
||||||
1043 3 100 1.0 3 7
|
1043 3 100 1.0 45 55
|
||||||
1044 3 100 1.0 13 17
|
1044 3 100 1.0 54 66
|
||||||
1045 3 100 1.0 200 200
|
1045 3 100 1.0 18 22
|
||||||
1046 3 100 1.0 450 450
|
1046 3 100 1.0 54 66
|
||||||
1047 3 100 1.0 13 17
|
1047 3 100 1.0 300 300
|
||||||
1048 3 100 1.0 13 17
|
1048 3 100 1.0 700 700
|
||||||
1049 3 100 1.0 13 17
|
1049 3 100 1.0 45 55
|
||||||
1050 3 100 1.0 13 17
|
1050 3 100 1.0 45 55
|
||||||
1051 3 100 1.0 8 12
|
1051 3 100 1.0 45 55
|
||||||
1052 3 100 1.0 13 17
|
1052 3 100 1.0 45 55
|
||||||
1053 3 100 1.0 13 17
|
1053 3 100 1.0 32 39
|
||||||
1054 3 100 1.0 210 210
|
1054 3 100 1.0 54 66
|
||||||
1055 3 100 1.0 500 500
|
1055 3 100 1.0 45 55
|
||||||
1056 3 100 1.0 13 17
|
1056 3 100 1.0 350 350
|
||||||
1057 3 100 1.0 13 17
|
1057 3 100 1.0 800 800
|
||||||
1058 3 100 1.0 13 17
|
1058 3 100 1.0 54 66
|
||||||
1059 3 100 1.0 13 17
|
1059 3 100 1.0 54 66
|
||||||
1060 3 100 1.0 18 22
|
1060 3 100 1.0 54 66
|
||||||
1061 3 100 1.0 220 220
|
1061 3 100 1.0 54 66
|
||||||
1062 3 100 1.0 550 550
|
1062 3 100 1.0 63 77
|
||||||
1063 3 100 1.0 18 22
|
1063 3 100 1.0 400 400
|
||||||
1064 3 100 1.0 23 27
|
1064 3 100 1.0 900 900
|
||||||
1065 3 100 1.0 23 27
|
1065 3 100 1.0 81 99
|
||||||
1066 3 100 1.0 28 32
|
1066 3 100 1.0 90 110
|
||||||
1067 3 100 1.0 13 17
|
1067 3 100 1.0 90 110
|
||||||
1068 3 100 1.0 600 600
|
1068 3 100 1.0 117 143
|
||||||
1069 3 100 1.0 700 700
|
1069 3 100 1.0 50 61
|
||||||
2000 14 100 1.0 120 160
|
1070 3 100 1.0 1000 1000
|
||||||
2001 14 100 1.0 120 160
|
2000 14 100 1.0 522 638
|
||||||
2002 14 100 1.0 120 160
|
2001 14 100 1.0 450 550
|
||||||
2003 14 100 1.0 120 160
|
2002 14 100 1.0 450 550
|
||||||
2004 14 100 1.0 120 160
|
2003 14 100 1.0 450 550
|
||||||
2005 14 100 1.0 120 160
|
2004 14 100 1.0 450 550
|
||||||
2006 14 100 1.0 140 180
|
2005 14 100 1.0 450 550
|
||||||
2007 14 100 1.0 140 180
|
2006 14 100 1.0 522 638
|
||||||
2008 14 100 1.0 140 180
|
2007 14 100 1.0 522 638
|
||||||
2009 14 100 1.0 300 300
|
2008 14 100 1.0 522 638
|
||||||
2010 14 100 1.0 180 220
|
2009 14 100 1.0 306 374
|
||||||
2011 14 100 1.0 180 220
|
2010 14 100 1.0 603 737
|
||||||
2012 14 100 1.0 210 250
|
2011 14 100 1.0 603 737
|
||||||
2013 14 100 1.0 300 300
|
2012 14 100 1.0 603 737
|
||||||
2014 14 100 1.0 500 500
|
2013 14 100 1.0 693 847
|
||||||
2015 14 100 1.0 260 300
|
2014 14 100 1.0 423 517
|
||||||
2016 14 100 1.0 260 300
|
2015 14 100 1.0 963 1177
|
||||||
2017 14 100 1.0 300 340
|
2016 14 100 1.0 837 1023
|
||||||
2018 14 100 1.0 300 340
|
2017 14 100 1.0 837 1023
|
||||||
2019 14 100 1.0 400 400
|
2018 14 100 1.0 963 1177
|
||||||
2020 14 100 1.0 260 300
|
2019 14 100 1.0 963 1177
|
||||||
2021 14 100 1.0 260 300
|
2020 14 100 1.0 423 517
|
||||||
2022 14 100 1.0 260 300
|
2021 14 100 1.0 837 1023
|
||||||
2023 14 100 1.0 260 300
|
2022 14 100 1.0 837 1023
|
||||||
2024 14 100 1.0 300 340
|
2023 14 100 1.0 837 1023
|
||||||
2025 14 100 1.0 300 340
|
2024 14 100 1.0 837 1023
|
||||||
2026 14 100 1.0 450 450
|
2025 14 100 1.0 963 1177
|
||||||
2027 14 100 1.0 430 470
|
2026 14 100 1.0 963 1177
|
||||||
2028 14 100 1.0 210 250
|
2027 14 100 1.0 540 660
|
||||||
2029 14 100 1.0 310 350
|
2028 14 100 1.0 1080 1320
|
||||||
2030 14 100 1.0 360 400
|
2029 14 100 1.0 1782 2178
|
||||||
2031 14 100 1.0 500 500
|
2030 14 100 1.0 756 924
|
||||||
2032 14 100 1.0 700 700
|
2031 14 100 1.0 1080 1320
|
||||||
2033 14 100 1.0 310 350
|
2032 14 100 1.0 1242 1518
|
||||||
2034 14 100 1.0 310 350
|
2033 14 100 1.0 540 660
|
||||||
2035 14 100 1.0 360 400
|
2034 14 100 1.0 1080 1320
|
||||||
2036 14 100 1.0 600 600
|
2035 14 100 1.0 1080 1320
|
||||||
2037 14 100 1.0 800 800
|
2036 14 100 1.0 1080 1320
|
||||||
2038 14 100 1.0 320 360
|
2037 14 100 1.0 1242 1518
|
||||||
2039 14 100 1.0 320 360
|
2038 14 100 1.0 594 726
|
||||||
2040 14 100 1.0 320 360
|
2039 14 100 1.0 1359 1661
|
||||||
2041 14 100 1.0 320 360
|
2040 14 100 1.0 1179 1441
|
||||||
2042 14 100 1.0 370 410
|
2041 14 100 1.0 1179 1441
|
||||||
2043 14 100 1.0 100 140
|
2042 14 100 1.0 1179 1441
|
||||||
2044 14 100 1.0 370 410
|
2043 14 100 1.0 1179 1441
|
||||||
2045 14 100 1.0 650 650
|
2044 14 100 1.0 1359 1661
|
||||||
2046 14 100 1.0 888 888
|
2045 14 100 1.0 414 506
|
||||||
2047 14 100 1.0 320 360
|
2046 14 100 1.0 1359 1661
|
||||||
2048 14 100 1.0 320 360
|
2047 14 100 1.0 594 726
|
||||||
2049 14 100 1.0 320 360
|
2048 14 100 1.0 594 726
|
||||||
2050 14 100 1.0 320 360
|
2049 14 100 1.0 1179 1441
|
||||||
2051 14 100 1.0 220 260
|
2050 14 100 1.0 1179 1441
|
||||||
2052 14 100 1.0 370 410
|
2051 14 100 1.0 1179 1441
|
||||||
2053 14 100 1.0 320 360
|
2052 14 100 1.0 1179 1441
|
||||||
2054 14 100 1.0 600 600
|
2053 14 100 1.0 828 1012
|
||||||
2055 14 100 1.0 1000 1000
|
2054 14 100 1.0 1359 1661
|
||||||
2056 14 100 1.0 370 410
|
2055 14 100 1.0 1179 1441
|
||||||
2057 14 100 1.0 370 410
|
2056 14 100 1.0 702 858
|
||||||
2058 14 100 1.0 370 410
|
2057 14 100 1.0 2304 2816
|
||||||
2059 14 100 1.0 370 410
|
2058 14 100 1.0 1395 1705
|
||||||
2060 14 100 1.0 430 470
|
2059 14 100 1.0 1395 1705
|
||||||
2061 14 100 1.0 700 700
|
2060 14 100 1.0 1395 1705
|
||||||
2062 14 100 1.0 1500 1500
|
2061 14 100 1.0 1395 1705
|
||||||
2063 14 100 1.0 320 360
|
2062 14 100 1.0 1611 1969
|
||||||
2064 14 100 1.0 370 410
|
2063 14 100 1.0 612 748
|
||||||
2065 14 100 1.0 370 410
|
2064 14 100 1.0 711 869
|
||||||
2066 14 100 1.0 470 510
|
2065 14 100 1.0 1413 1727
|
||||||
2067 14 100 1.0 200 240
|
2066 14 100 1.0 1602 1958
|
||||||
2068 14 100 1.0 800 800
|
2067 14 100 1.0 1602 1958
|
||||||
2069 14 100 1.0 1600 1600
|
2068 14 100 1.0 2070 2530
|
||||||
|
2069 14 100 1.0 900 1100
|
||||||
|
2070 14 100 1.0 1710 2090
|
||||||
6000 14 100 1.0 88888 88888
|
6000 14 100 1.0 88888 88888
|
||||||
6001 3001 100 1.0 1 1
|
6001 3001 100 1.0 1 1
|
||||||
6002 3003 100 1.0 1 1
|
6002 3003 100 1.0 1 1
|
||||||
|
@ -677,7 +679,7 @@ int int int float int int
|
||||||
100019 14 100 1.0 0 0
|
100019 14 100 1.0 0 0
|
||||||
100020 14 100 1.0 0 0
|
100020 14 100 1.0 0 0
|
||||||
101001 4 100 1.0 10 10
|
101001 4 100 1.0 10 10
|
||||||
101002 4 100 1.0 30 3
|
101002 4 100 1.0 30 30
|
||||||
101003 4 100 1.0 50 50
|
101003 4 100 1.0 50 50
|
||||||
101004 4 100 1.0 80 80
|
101004 4 100 1.0 80 80
|
||||||
101005 4 100 1.0 100 100
|
101005 4 100 1.0 100 100
|
||||||
|
@ -716,3 +718,4 @@ int int int float int int
|
||||||
102018 3 100 1.0 0 0
|
102018 3 100 1.0 0 0
|
||||||
102019 3 100 1.0 0 0
|
102019 3 100 1.0 0 0
|
||||||
102020 3 100 1.0 0 0
|
102020 3 100 1.0 0 0
|
||||||
|
0 0 0 1.0 0 0
|
||||||
|
|
|
@ -14,7 +14,7 @@ public class SCMapConfig implements BaseConfig {
|
||||||
private int[] size; // 0:行 1列
|
private int[] size; // 0:行 1列
|
||||||
private int moveConfused; //地图上的行动力消耗
|
private int moveConfused; //地图上的行动力消耗
|
||||||
private int energyConfused; //妖灵师精力消耗
|
private int energyConfused; //妖灵师精力消耗
|
||||||
private String openRule; //开启条件
|
private int[] openRule; //开启条件
|
||||||
@Override
|
@Override
|
||||||
public void init() throws Exception {
|
public void init() throws Exception {
|
||||||
sCMapSize = STableManager.getConfig(SCMapConfig.class);
|
sCMapSize = STableManager.getConfig(SCMapConfig.class);
|
||||||
|
@ -44,7 +44,7 @@ public class SCMapConfig implements BaseConfig {
|
||||||
return energyConfused;
|
return energyConfused;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getOpenRule() {
|
public int[] getOpenRule() {
|
||||||
return openRule;
|
return openRule;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,8 +11,6 @@ public class Cell extends MongoBase {
|
||||||
|
|
||||||
private int eventId;
|
private int eventId;
|
||||||
|
|
||||||
private boolean isCostStep;
|
|
||||||
|
|
||||||
public Cell() {
|
public Cell() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -43,13 +41,4 @@ public class Cell extends MongoBase {
|
||||||
updateString("eventId", eventId);
|
updateString("eventId", eventId);
|
||||||
this.eventId = eventId;
|
this.eventId = eventId;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isCostStep() {
|
|
||||||
return isCostStep;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setCostStep(boolean costStep) {
|
|
||||||
updateString("isCostStep", isCostStep);
|
|
||||||
isCostStep = costStep;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -80,7 +80,7 @@ public class EventType {
|
||||||
public static final int twentyFive = 25;
|
public static final int twentyFive = 25;
|
||||||
public static final int openAppointMission = 26;
|
public static final int openAppointMission = 26;
|
||||||
public static final int openNotDoMission = 27;
|
public static final int openNotDoMission = 27;
|
||||||
|
public static final int twentyEight = 28;
|
||||||
|
|
||||||
public static final int updateEvent = 1;
|
public static final int updateEvent = 1;
|
||||||
public static final int fightEvent = 2;
|
public static final int fightEvent = 2;
|
||||||
|
|
|
@ -96,12 +96,30 @@ public class MapLogic {
|
||||||
MessageUtil.sendErrorResponse(iSession, 0, messageType.getNumber(), "");
|
MessageUtil.sendErrorResponse(iSession, 0, messageType.getNumber(), "");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
SCMapConfig scMapConfig = SCMapConfig.getsCMapSize().get(mapId);
|
||||||
|
if (scMapConfig == null || scMapConfig.getOpenRule() == null) {
|
||||||
|
LOGGER.info("enterMap() uid=>{} mapId=>{}, scMapConfig.getOpenRule()=>{}", uid, mapId, scMapConfig == null ? "" : scMapConfig.getOpenRule());
|
||||||
|
MessageUtil.sendErrorResponse(iSession, 0, messageType.getNumber(), "");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
int missionId = scMapConfig.getOpenRule()[0];
|
||||||
|
if (!user.getMissionManager().getFinishMissions().contains(missionId) && !user.getMissionManager().getTakeRewardMissions().contains(missionId)) {
|
||||||
|
Mission mission = user.getMissionManager().getDoingMissions().get(missionId);
|
||||||
|
if (mission == null || mission.getMissionStep() < scMapConfig.getOpenRule()[1]) {
|
||||||
|
LOGGER.info("enterMap() uid=>{} map not open == missionId =>{} step=>{}", uid, missionId, mission == null ? 0 : mission.getMissionStep());
|
||||||
|
MessageUtil.sendErrorResponse(iSession, 0, messageType.getNumber(), "需要完成任务:" + (scMapConfig == null ? "" : scMapConfig.getOpenRule()[0] + "#" + scMapConfig.getOpenRule()[1]));
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (mapManager.getMaxMapId() < mapId) {
|
||||||
|
mapManager.setMaxMapId(mapId);
|
||||||
|
}
|
||||||
if (mapId > mapManager.getMaxMapId()) {
|
if (mapId > mapManager.getMaxMapId()) {
|
||||||
LOGGER.info("enterMap() uid=>{} mapManager.getMaxMapId()=>{} mapId =>{} ", uid, mapManager.getMaxMapId(), mapId);
|
LOGGER.info("enterMap() uid=>{} mapManager.getMaxMapId()=>{} mapId =>{} ", uid, mapManager.getMaxMapId(), mapId);
|
||||||
MessageUtil.sendErrorResponse(iSession, 0, messageType.getNumber(), "");
|
MessageUtil.sendErrorResponse(iSession, 0, messageType.getNumber(), "");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
SCMapConfig scMapConfig = SCMapConfig.getsCMapSize().get(mapId);
|
|
||||||
if (energy < scMapConfig.getEnergyConfused()) {
|
if (energy < scMapConfig.getEnergyConfused()) {
|
||||||
LOGGER.info("enterMap() uid=>{} energy=>{} need=>{} energy not enough ", uid, energy, scMapConfig.getEnergyConfused());
|
LOGGER.info("enterMap() uid=>{} energy=>{} need=>{} energy not enough ", uid, energy, scMapConfig.getEnergyConfused());
|
||||||
MessageUtil.sendErrorResponse(iSession, 0, messageType.getNumber(), "");
|
MessageUtil.sendErrorResponse(iSession, 0, messageType.getNumber(), "");
|
||||||
|
@ -252,9 +270,6 @@ public class MapLogic {
|
||||||
newMap.put(xy, cellValue);
|
newMap.put(xy, cellValue);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (mapManager.getCurMapId() > mapManager.getMaxMapId()) {
|
|
||||||
mapManager.setMaxMapId(mapManager.getCurMapId());
|
|
||||||
}
|
|
||||||
if (mapManager.getMaxMapId() == 100) {
|
if (mapManager.getMaxMapId() == 100) {
|
||||||
SGameSetting sGameSetting = SGameSetting.getGameSetting();
|
SGameSetting sGameSetting = SGameSetting.getGameSetting();
|
||||||
int xy = CellUtil.xy2Pos(sGameSetting.getBornPosition()[0], sGameSetting.getBornPosition()[1]);
|
int xy = CellUtil.xy2Pos(sGameSetting.getBornPosition()[0], sGameSetting.getBornPosition()[1]);
|
||||||
|
@ -427,16 +442,6 @@ public class MapLogic {
|
||||||
MessageUtil.sendErrorResponse(session,0, messageType.getNumber(), "");
|
MessageUtil.sendErrorResponse(session,0, messageType.getNumber(), "");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// 触发消耗
|
|
||||||
if (mapPointConfig.getConfused() > 0 && !cell.isCostStep()) {
|
|
||||||
if (mapManager.getTotalStep() < mapPointConfig.getConfused()) {
|
|
||||||
LOGGER.info("sOptionConfig step not enough leftStep=>{} needStep=>{}", mapManager.getTotalStep(), mapPointConfig.getConfused());
|
|
||||||
MessageUtil.sendErrorResponse(session,0, messageType.getNumber(), "");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
mapManager.setTotalStep(mapManager.getTotalStep() - mapPointConfig.getConfused());
|
|
||||||
updateMapMission(mapManager,EventType.updateEvent,MapMissionType.CONSUME_ACTION_POWER_EVENT.getMissionTypeValue(),mapPointConfig.getConfused());
|
|
||||||
}
|
|
||||||
int behaviorType = sOptionConfig.getBehaviorType();
|
int behaviorType = sOptionConfig.getBehaviorType();
|
||||||
int[][] behaviorTypeValues = sOptionConfig.getBehaviorTypeValues();
|
int[][] behaviorTypeValues = sOptionConfig.getBehaviorTypeValues();
|
||||||
BaseBehavior baseBehavior = baseBehaviorMap.get(behaviorType);
|
BaseBehavior baseBehavior = baseBehaviorMap.get(behaviorType);
|
||||||
|
@ -503,7 +508,6 @@ public class MapLogic {
|
||||||
|
|
||||||
// 检测该事件点是否已被销毁
|
// 检测该事件点是否已被销毁
|
||||||
if (cell != null && nextEventId != 0) {
|
if (cell != null && nextEventId != 0) {
|
||||||
cell.setCostStep(true);
|
|
||||||
cell.setEventId(nextEventId);
|
cell.setEventId(nextEventId);
|
||||||
mapManager.addOrUpdateCell(mapManager.getCurXY(), cell);
|
mapManager.addOrUpdateCell(mapManager.getCurXY(), cell);
|
||||||
}
|
}
|
||||||
|
@ -730,9 +734,6 @@ public class MapLogic {
|
||||||
MessageUtil.sendErrorResponse(session,0, messageType.getNumber(), "");
|
MessageUtil.sendErrorResponse(session,0, messageType.getNumber(), "");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (mapManager.getCurMapId() == mapManager.getMaxMapId()) {
|
|
||||||
mapManager.setMaxMapId(mapManager.getMaxMapId() + 1);
|
|
||||||
}
|
|
||||||
resetMapInfo(user, true);
|
resetMapInfo(user, true);
|
||||||
MapMission mapMission = mapManager.getAllMissionProgress().get(mapId);
|
MapMission mapMission = mapManager.getAllMissionProgress().get(mapId);
|
||||||
if(mapMission!=null){
|
if(mapMission!=null){
|
||||||
|
|
|
@ -0,0 +1,29 @@
|
||||||
|
package com.ljsd.jieling.handler.map.behavior;
|
||||||
|
|
||||||
|
import com.ljsd.jieling.handler.map.EventType;
|
||||||
|
import com.ljsd.jieling.handler.map.MapLogic;
|
||||||
|
import com.ljsd.jieling.handler.map.MapManager;
|
||||||
|
import com.ljsd.jieling.handler.map.MapMissionType;
|
||||||
|
import com.ljsd.jieling.logic.dao.root.User;
|
||||||
|
import com.ljsd.jieling.protocols.MapInfoProto;
|
||||||
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
|
@Component
|
||||||
|
public class UseStepBehavior extends BaseBehavior {
|
||||||
|
@Override
|
||||||
|
public int getBehaviorType() {
|
||||||
|
return EventType.twentyEight;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean process(User user, int[][] behaviorTypeValues, MapInfoProto.EventUpdateResponse.Builder eventUpdateResponse) throws Exception {
|
||||||
|
MapManager mapManager = user.getMapManager();
|
||||||
|
int totalStep = mapManager.getTotalStep();
|
||||||
|
if (totalStep < behaviorTypeValues[0][0]) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
mapManager.setTotalStep(totalStep - behaviorTypeValues[0][0]);
|
||||||
|
MapLogic.getInstance().updateMapMission(mapManager,EventType.updateEvent, MapMissionType.CONSUME_ACTION_POWER_EVENT.getMissionTypeValue(),behaviorTypeValues[0][0]);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue