This commit is contained in:
liwei1dao 2022-09-28 21:03:26 +08:00
commit ba3f28b4d6
39 changed files with 1878 additions and 953 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1038,5 +1038,109 @@
],
"star": 1,
"p": 1000
},
{
"id": 81,
"dropid": 50005,
"prize": [
{
"a": "item",
"t": "50005",
"n": 1
}
],
"star": 0,
"p": 1000
},
{
"id": 82,
"dropid": 50006,
"prize": [
{
"a": "item",
"t": "50006",
"n": 1
}
],
"star": 0,
"p": 1000
},
{
"id": 83,
"dropid": 50007,
"prize": [
{
"a": "item",
"t": "50007",
"n": 1
}
],
"star": 0,
"p": 1000
},
{
"id": 84,
"dropid": 50008,
"prize": [
{
"a": "item",
"t": "50008",
"n": 1
}
],
"star": 0,
"p": 1000
},
{
"id": 85,
"dropid": 50009,
"prize": [
{
"a": "item",
"t": "50009",
"n": 1
}
],
"star": 0,
"p": 1000
},
{
"id": 86,
"dropid": 50010,
"prize": [
{
"a": "item",
"t": "50010",
"n": 1
}
],
"star": 0,
"p": 1000
},
{
"id": 87,
"dropid": 50011,
"prize": [
{
"a": "item",
"t": "50011",
"n": 1
}
],
"star": 0,
"p": 1000
},
{
"id": 88,
"dropid": 50012,
"prize": [
{
"a": "item",
"t": "50012",
"n": 1
}
],
"star": 0,
"p": 1000
}
]

View File

@ -105,24 +105,39 @@
"camp4_pool1": "camp4_pool",
"base_pool1": {
"s": 0,
"e": 1,
"e": 0,
"p": "base_pool1"
},
"base_pool2": {
"s": 2,
"e": 200,
"s": 1,
"e": 1,
"p": "base_pool2"
},
"base_pool3": {
"s": 201,
"e": 1000,
"s": 2,
"e": 2,
"p": "base_pool3"
},
"base_pool4": {
"s": 1001,
"e": 99999999,
"s": 3,
"e": 10,
"p": "base_pool4"
},
"base_pool5": {
"s": 11,
"e": 199,
"p": "base_pool5"
},
"base_pool6": {
"s": 200,
"e": 999,
"p": "base_pool6"
},
"base_pool7": {
"s": 1000,
"e": 99999999,
"p": "base_pool7"
},
"base_pool_star3": 9000,
"base_pool_star4": 900,
"base_pool_star5": 100,

View File

@ -1925,8 +1925,8 @@
"key": "hero_25004",
"text": "波比"
},
"star": 3,
"color": 2,
"star": 4,
"color": 3,
"race": 2,
"job": 3,
"type": 1,
@ -5712,7 +5712,7 @@
"type": 5,
"ip": 1,
"sd": 1,
"handbook": 1,
"handbook": -1,
"prefab": "53001",
"rotation": "0|0|0",
"icon": "53001",

View File

@ -0,0 +1,18 @@
[
{
"race": 1,
"id": "50001"
},
{
"race": 2,
"id": "50002"
},
{
"race": 3,
"id": "50003"
},
{
"race": 4,
"id": "50004"
}
]

View File

@ -6,7 +6,7 @@
"prize": [
{
"a": "hero",
"t": "13001",
"t": "43901",
"n": 1
}
],
@ -39,7 +39,7 @@
"prize": [
{
"a": "hero",
"t": "13002",
"t": "43901",
"n": 1
}
],
@ -72,7 +72,7 @@
"prize": [
{
"a": "hero",
"t": "13003",
"t": "43901",
"n": 1
}
],
@ -105,7 +105,7 @@
"prize": [
{
"a": "hero",
"t": "13004",
"t": "43901",
"n": 1
}
],
@ -138,7 +138,7 @@
"prize": [
{
"a": "hero",
"t": "13005",
"t": "43901",
"n": 1
}
],
@ -171,7 +171,7 @@
"prize": [
{
"a": "hero",
"t": "14001",
"t": "43902",
"n": 1
}
],
@ -204,7 +204,7 @@
"prize": [
{
"a": "hero",
"t": "14002",
"t": "43902",
"n": 1
}
],
@ -237,7 +237,7 @@
"prize": [
{
"a": "hero",
"t": "14003",
"t": "43901",
"n": 1
}
],
@ -270,7 +270,7 @@
"prize": [
{
"a": "hero",
"t": "14004",
"t": "43902",
"n": 1
}
],
@ -303,7 +303,7 @@
"prize": [
{
"a": "hero",
"t": "14005",
"t": "43902",
"n": 1
}
],
@ -336,7 +336,7 @@
"prize": [
{
"a": "hero",
"t": "14006",
"t": "43902",
"n": 1
}
],
@ -369,7 +369,7 @@
"prize": [
{
"a": "hero",
"t": "14007",
"t": "43903",
"n": 1
}
],
@ -402,7 +402,7 @@
"prize": [
{
"a": "hero",
"t": "15001",
"t": "43903",
"n": 1
}
],
@ -435,7 +435,7 @@
"prize": [
{
"a": "hero",
"t": "15002",
"t": "43903",
"n": 1
}
],
@ -468,7 +468,7 @@
"prize": [
{
"a": "hero",
"t": "15003",
"t": "43903",
"n": 1
}
],
@ -501,7 +501,7 @@
"prize": [
{
"a": "hero",
"t": "15004",
"t": "43901",
"n": 1
}
],
@ -534,7 +534,7 @@
"prize": [
{
"a": "hero",
"t": "23001",
"t": "43901",
"n": 1
}
],
@ -567,7 +567,7 @@
"prize": [
{
"a": "hero",
"t": "23002",
"t": "43901",
"n": 1
}
],
@ -600,7 +600,7 @@
"prize": [
{
"a": "hero",
"t": "23003",
"t": "43901",
"n": 1
}
],
@ -633,7 +633,7 @@
"prize": [
{
"a": "hero",
"t": "23004",
"t": "43901",
"n": 1
}
],
@ -666,7 +666,7 @@
"prize": [
{
"a": "hero",
"t": "24001",
"t": "43902",
"n": 1
}
],
@ -699,7 +699,7 @@
"prize": [
{
"a": "hero",
"t": "24002",
"t": "43901",
"n": 1
}
],
@ -732,7 +732,7 @@
"prize": [
{
"a": "hero",
"t": "24003",
"t": "43901",
"n": 1
}
],
@ -765,7 +765,7 @@
"prize": [
{
"a": "hero",
"t": "24004",
"t": "43901",
"n": 1
}
],
@ -798,7 +798,7 @@
"prize": [
{
"a": "hero",
"t": "24005",
"t": "43902",
"n": 1
}
],
@ -831,7 +831,7 @@
"prize": [
{
"a": "hero",
"t": "24006",
"t": "43902",
"n": 1
}
],
@ -864,7 +864,7 @@
"prize": [
{
"a": "hero",
"t": "24007",
"t": "43902",
"n": 1
}
],
@ -897,7 +897,7 @@
"prize": [
{
"a": "hero",
"t": "24008",
"t": "43902",
"n": 1
}
],
@ -930,7 +930,7 @@
"prize": [
{
"a": "hero",
"t": "24009",
"t": "43902",
"n": 1
}
],
@ -963,7 +963,7 @@
"prize": [
{
"a": "hero",
"t": "25001",
"t": "43902",
"n": 1
}
],
@ -996,7 +996,7 @@
"prize": [
{
"a": "hero",
"t": "25002",
"t": "43903",
"n": 1
}
],
@ -1029,7 +1029,7 @@
"prize": [
{
"a": "hero",
"t": "25003",
"t": "43903",
"n": 1
}
],
@ -1057,12 +1057,12 @@
},
{
"hid": "25004",
"star": 3,
"star": 4,
"energy": 6,
"prize": [
{
"a": "hero",
"t": "25004",
"t": "43902",
"n": 1
}
],
@ -1095,7 +1095,7 @@
"prize": [
{
"a": "hero",
"t": "33001",
"t": "43901",
"n": 1
}
],
@ -1128,7 +1128,7 @@
"prize": [
{
"a": "hero",
"t": "33002",
"t": "43901",
"n": 1
}
],
@ -1161,7 +1161,7 @@
"prize": [
{
"a": "hero",
"t": "33003",
"t": "43901",
"n": 1
}
],
@ -1194,7 +1194,7 @@
"prize": [
{
"a": "hero",
"t": "33004",
"t": "43901",
"n": 1
}
],
@ -1227,7 +1227,7 @@
"prize": [
{
"a": "hero",
"t": "33005",
"t": "43901",
"n": 1
}
],
@ -1260,7 +1260,7 @@
"prize": [
{
"a": "hero",
"t": "33006",
"t": "43901",
"n": 1
}
],
@ -1293,7 +1293,7 @@
"prize": [
{
"a": "hero",
"t": "34001",
"t": "43902",
"n": 1
}
],
@ -1326,7 +1326,7 @@
"prize": [
{
"a": "hero",
"t": "34002",
"t": "43902",
"n": 1
}
],
@ -1359,7 +1359,7 @@
"prize": [
{
"a": "hero",
"t": "34003",
"t": "43902",
"n": 1
}
],
@ -1392,7 +1392,7 @@
"prize": [
{
"a": "hero",
"t": "34004",
"t": "43902",
"n": 1
}
],
@ -1425,7 +1425,7 @@
"prize": [
{
"a": "hero",
"t": "34005",
"t": "43902",
"n": 1
}
],
@ -1458,7 +1458,7 @@
"prize": [
{
"a": "hero",
"t": "34006",
"t": "43902",
"n": 1
}
],
@ -1491,7 +1491,7 @@
"prize": [
{
"a": "hero",
"t": "34007",
"t": "43902",
"n": 1
}
],
@ -1524,7 +1524,7 @@
"prize": [
{
"a": "hero",
"t": "34008",
"t": "43902",
"n": 1
}
],
@ -1557,7 +1557,7 @@
"prize": [
{
"a": "hero",
"t": "35001",
"t": "43901",
"n": 1
}
],
@ -1590,7 +1590,7 @@
"prize": [
{
"a": "hero",
"t": "35002",
"t": "43903",
"n": 1
}
],
@ -1623,7 +1623,7 @@
"prize": [
{
"a": "hero",
"t": "35003",
"t": "43901",
"n": 1
}
],
@ -1656,7 +1656,7 @@
"prize": [
{
"a": "hero",
"t": "35004",
"t": "43903",
"n": 1
}
],
@ -1689,7 +1689,7 @@
"prize": [
{
"a": "hero",
"t": "35005",
"t": "43903",
"n": 1
}
],
@ -1722,7 +1722,7 @@
"prize": [
{
"a": "hero",
"t": "35006",
"t": "43903",
"n": 1
}
],
@ -1755,7 +1755,7 @@
"prize": [
{
"a": "hero",
"t": "43001",
"t": "43901",
"n": 1
}
],
@ -1788,7 +1788,7 @@
"prize": [
{
"a": "hero",
"t": "43002",
"t": "43901",
"n": 1
}
],
@ -1821,7 +1821,7 @@
"prize": [
{
"a": "hero",
"t": "43003",
"t": "43901",
"n": 1
}
],
@ -1854,7 +1854,7 @@
"prize": [
{
"a": "hero",
"t": "43004",
"t": "43901",
"n": 1
}
],
@ -1887,7 +1887,7 @@
"prize": [
{
"a": "hero",
"t": "43005",
"t": "43901",
"n": 1
}
],
@ -1920,7 +1920,7 @@
"prize": [
{
"a": "hero",
"t": "43006",
"t": "43901",
"n": 1
}
],
@ -1953,7 +1953,7 @@
"prize": [
{
"a": "hero",
"t": "43007",
"t": "43901",
"n": 1
}
],
@ -1986,7 +1986,7 @@
"prize": [
{
"a": "hero",
"t": "44001",
"t": "43902",
"n": 1
}
],
@ -2019,7 +2019,7 @@
"prize": [
{
"a": "hero",
"t": "44002",
"t": "43902",
"n": 1
}
],
@ -2052,7 +2052,7 @@
"prize": [
{
"a": "hero",
"t": "44003",
"t": "43902",
"n": 1
}
],
@ -2085,7 +2085,7 @@
"prize": [
{
"a": "hero",
"t": "44004",
"t": "43902",
"n": 1
}
],
@ -2118,7 +2118,7 @@
"prize": [
{
"a": "hero",
"t": "44006",
"t": "43901",
"n": 1
}
],
@ -2151,7 +2151,7 @@
"prize": [
{
"a": "hero",
"t": "45001",
"t": "43903",
"n": 1
}
],
@ -2184,7 +2184,7 @@
"prize": [
{
"a": "hero",
"t": "45002",
"t": "43903",
"n": 1
}
],
@ -2217,7 +2217,7 @@
"prize": [
{
"a": "hero",
"t": "45003",
"t": "43901",
"n": 1
}
],
@ -2250,7 +2250,7 @@
"prize": [
{
"a": "hero",
"t": "45004",
"t": "43903",
"n": 1
}
],
@ -2283,7 +2283,7 @@
"prize": [
{
"a": "hero",
"t": "44005",
"t": "43901",
"n": 1
}
],
@ -2316,7 +2316,7 @@
"prize": [
{
"a": "hero",
"t": "15005",
"t": "43901",
"n": 1
}
],

View File

@ -971,7 +971,7 @@
"special_type": 0,
"time": 0,
"effects": "",
"box_id": 0,
"box_id": 50005,
"synthetize_num": 5,
"access": [
109
@ -1020,7 +1020,7 @@
"special_type": 0,
"time": 0,
"effects": "",
"box_id": 0,
"box_id": 50006,
"synthetize_num": 5,
"access": [
109
@ -1069,7 +1069,7 @@
"special_type": 0,
"time": 0,
"effects": "",
"box_id": 0,
"box_id": 50007,
"synthetize_num": 5,
"access": [
109
@ -1118,7 +1118,7 @@
"special_type": 0,
"time": 0,
"effects": "",
"box_id": 0,
"box_id": 50008,
"synthetize_num": 5,
"access": [
109
@ -1167,7 +1167,7 @@
"special_type": 0,
"time": 0,
"effects": "",
"box_id": 0,
"box_id": 50009,
"synthetize_num": 5,
"access": [
109
@ -1216,7 +1216,7 @@
"special_type": 0,
"time": 0,
"effects": "",
"box_id": 0,
"box_id": 50010,
"synthetize_num": 5,
"access": [
109
@ -1265,7 +1265,7 @@
"special_type": 0,
"time": 0,
"effects": "",
"box_id": 0,
"box_id": 50011,
"synthetize_num": 5,
"access": [
109
@ -1314,7 +1314,7 @@
"special_type": 0,
"time": 0,
"effects": "",
"box_id": 0,
"box_id": 50012,
"synthetize_num": 5,
"access": [
109

View File

@ -46,7 +46,7 @@
"FormatList": [
101011
],
"captainId": "240044",
"captainId": "",
"battlescene": "bg_zhandoulmboss",
"award": [
{
@ -179,7 +179,7 @@
"FormatList": [
101031
],
"captainId": "240031",
"captainId": "",
"battlescene": "bg_zhandoulmboss",
"award": [
{
@ -359,7 +359,7 @@
101061,
101062
],
"captainId": "240031",
"captainId": "",
"battlescene": "bg_zhandoulmboss",
"award": [
{

View File

@ -303,7 +303,7 @@
"id": "14007",
"preson": "14007",
"presonshow": "14007_exhibition",
"presonstory": "14007",
"presonstory": "14007_story",
"presondraw": "14007_gachashow",
"height": 1,
"weight": 1,
@ -1153,7 +1153,7 @@
"id": "34006",
"preson": "34006",
"presonshow": "34006_exhibition",
"presonstory": "34006",
"presonstory": "34006_story",
"presondraw": "",
"height": 1,
"weight": 1,
@ -2053,7 +2053,7 @@
"id": "51004",
"preson": "51004",
"presonshow": "51004_exhibition",
"presonstory": "51004",
"presonstory": "51004_story",
"presondraw": "",
"height": 1,
"weight": 1,

View File

@ -6610,7 +6610,7 @@
-1
],
"lv": 4,
"hppro": 1,
"hppro": 0.5,
"atkpro": 0.3,
"defpro": 1
},
@ -6625,7 +6625,7 @@
510043
],
"lv": 5,
"hppro": 1,
"hppro": 0.5,
"atkpro": 0.3,
"defpro": 1
},
@ -6640,7 +6640,7 @@
510043
],
"lv": 5,
"hppro": 1,
"hppro": 0.5,
"atkpro": 0.3,
"defpro": 1
},
@ -6655,8 +6655,8 @@
440053
],
"lv": 7,
"hppro": 1,
"atkpro": 1,
"hppro": 0.5,
"atkpro": 0.5,
"defpro": 1
},
{
@ -6670,8 +6670,8 @@
250014
],
"lv": 7,
"hppro": 1,
"atkpro": 1,
"hppro": 0.5,
"atkpro": 0.5,
"defpro": 1
},
{
@ -6685,8 +6685,8 @@
340065
],
"lv": 9,
"hppro": 1,
"atkpro": 1,
"hppro": 0.5,
"atkpro": 0.5,
"defpro": 1
},
{
@ -6700,8 +6700,8 @@
440053
],
"lv": 9,
"hppro": 1,
"atkpro": 1,
"hppro": 0.6,
"atkpro": 0.6,
"defpro": 1
},
{
@ -6715,8 +6715,8 @@
340064
],
"lv": 11,
"hppro": 1,
"atkpro": 1,
"hppro": 0.6,
"atkpro": 0.6,
"defpro": 1
},
{
@ -6730,8 +6730,8 @@
250014
],
"lv": 11,
"hppro": 1,
"atkpro": 1,
"hppro": 0.6,
"atkpro": 0.6,
"defpro": 1
},
{
@ -6745,8 +6745,8 @@
250014
],
"lv": 13,
"hppro": 1,
"atkpro": 1,
"hppro": 0.6,
"atkpro": 0.6,
"defpro": 1
},
{
@ -6760,8 +6760,8 @@
440053
],
"lv": 13,
"hppro": 1,
"atkpro": 1,
"hppro": 0.6,
"atkpro": 0.6,
"defpro": 1
},
{
@ -6775,8 +6775,8 @@
250014
],
"lv": 15,
"hppro": 1,
"atkpro": 1,
"hppro": 0.6,
"atkpro": 0.6,
"defpro": 1
},
{
@ -6790,8 +6790,8 @@
340065
],
"lv": 15,
"hppro": 1,
"atkpro": 1,
"hppro": 0.7,
"atkpro": 0.7,
"defpro": 1
},
{
@ -6805,8 +6805,8 @@
440053
],
"lv": 17,
"hppro": 1,
"atkpro": 1,
"hppro": 0.7,
"atkpro": 0.7,
"defpro": 1
},
{
@ -6820,8 +6820,8 @@
340064
],
"lv": 17,
"hppro": 1,
"atkpro": 1,
"hppro": 0.7,
"atkpro": 0.7,
"defpro": 1
},
{
@ -6835,8 +6835,8 @@
250014
],
"lv": 19,
"hppro": 1,
"atkpro": 1,
"hppro": 0.7,
"atkpro": 0.7,
"defpro": 1
},
{
@ -6850,8 +6850,8 @@
250014
],
"lv": 19,
"hppro": 1,
"atkpro": 1,
"hppro": 0.7,
"atkpro": 0.7,
"defpro": 1
},
{
@ -6865,8 +6865,8 @@
440053
],
"lv": 21,
"hppro": 1,
"atkpro": 1,
"hppro": 0.7,
"atkpro": 0.7,
"defpro": 1
},
{
@ -6880,8 +6880,8 @@
250014
],
"lv": 21,
"hppro": 1,
"atkpro": 1,
"hppro": 0.8,
"atkpro": 0.6,
"defpro": 1
},
{
@ -6895,8 +6895,8 @@
340065
],
"lv": 23,
"hppro": 1,
"atkpro": 1,
"hppro": 0.8,
"atkpro": 0.6,
"defpro": 1
},
{
@ -6910,8 +6910,8 @@
440053
],
"lv": 23,
"hppro": 1,
"atkpro": 1,
"hppro": 0.8,
"atkpro": 0.6,
"defpro": 1
},
{
@ -6925,8 +6925,8 @@
340064
],
"lv": 25,
"hppro": 1,
"atkpro": 1,
"hppro": 0.8,
"atkpro": 0.6,
"defpro": 1
},
{
@ -6940,8 +6940,8 @@
250014
],
"lv": 25,
"hppro": 1,
"atkpro": 1,
"hppro": 0.8,
"atkpro": 0.6,
"defpro": 1
},
{
@ -6955,8 +6955,8 @@
250014
],
"lv": 27,
"hppro": 1,
"atkpro": 1,
"hppro": 0.8,
"atkpro": 0.6,
"defpro": 1
},
{
@ -6970,8 +6970,8 @@
440053
],
"lv": 27,
"hppro": 1,
"atkpro": 1,
"hppro": 0.9,
"atkpro": 0.7,
"defpro": 1
},
{
@ -6985,8 +6985,8 @@
250014
],
"lv": 29,
"hppro": 1,
"atkpro": 1,
"hppro": 0.9,
"atkpro": 0.7,
"defpro": 1
},
{
@ -7000,8 +7000,8 @@
340065
],
"lv": 29,
"hppro": 1,
"atkpro": 1,
"hppro": 0.9,
"atkpro": 0.7,
"defpro": 1
},
{
@ -7015,8 +7015,8 @@
440053
],
"lv": 31,
"hppro": 1,
"atkpro": 1,
"hppro": 0.9,
"atkpro": 0.7,
"defpro": 1
},
{
@ -7030,8 +7030,8 @@
340064
],
"lv": 31,
"hppro": 1,
"atkpro": 1,
"hppro": 0.9,
"atkpro": 0.7,
"defpro": 1
},
{
@ -7045,8 +7045,8 @@
250014
],
"lv": 33,
"hppro": 1,
"atkpro": 1,
"hppro": 0.9,
"atkpro": 0.7,
"defpro": 1
},
{
@ -7060,8 +7060,8 @@
250014
],
"lv": 33,
"hppro": 1,
"atkpro": 1,
"hppro": 0.9,
"atkpro": 0.7,
"defpro": 1
},
{
@ -7075,8 +7075,8 @@
440053
],
"lv": 35,
"hppro": 1,
"atkpro": 1,
"hppro": 0.9,
"atkpro": 0.7,
"defpro": 1
},
{
@ -7090,8 +7090,8 @@
250014
],
"lv": 35,
"hppro": 1,
"atkpro": 1,
"hppro": 0.9,
"atkpro": 0.7,
"defpro": 1
},
{
@ -7105,8 +7105,8 @@
340065
],
"lv": 37,
"hppro": 1,
"atkpro": 1,
"hppro": 0.9,
"atkpro": 0.7,
"defpro": 1
},
{
@ -7120,8 +7120,8 @@
440053
],
"lv": 37,
"hppro": 1,
"atkpro": 1,
"hppro": 0.9,
"atkpro": 0.7,
"defpro": 1
},
{
@ -7135,8 +7135,8 @@
340064
],
"lv": 39,
"hppro": 1,
"atkpro": 1,
"hppro": 0.9,
"atkpro": 0.7,
"defpro": 1
},
{
@ -20105,13 +20105,13 @@
"monsterList": [
-1,
-1,
350012,
510042,
-1,
-1
],
"lv": 4,
"hppro": 2,
"atkpro": 0.3,
"lv": 1,
"hppro": 1.1,
"atkpro": 1.1,
"defpro": 1
}
]

View File

@ -5,7 +5,8 @@
"Level_type": 1,
"layer_num": 1,
"monster_id": [
501001
501001,
501002
],
"reward": [
{
@ -33,7 +34,8 @@
"Level_type": 1,
"layer_num": 2,
"monster_id": [
501004
501004,
501005
],
"reward": [
{

View File

@ -153,7 +153,7 @@
"id": 20004,
"num": 1,
"preTid": 0,
"gotoLevel": 0,
"gotoLevel": 101,
"needItem": [
0
],

View File

@ -37,7 +37,7 @@
"datatype": 2,
"type": 4,
"inited": [],
"data1": 25004,
"data1": 14007,
"data2": 10,
"data3": 0,
"data4": 0,
@ -60,7 +60,7 @@
"type": 6,
"inited": [],
"data1": 25004,
"data2": 4,
"data2": 5,
"data3": 0,
"data4": 0,
"data5": 0
@ -204,8 +204,8 @@
-1,
-1
],
"data1": 7,
"data2": 5,
"data1": 1,
"data2": 3,
"data3": 0,
"data4": 0,
"data5": 0

View File

@ -437,7 +437,7 @@
"modelaction": "",
"rotation": {
"x": 0,
"y": 90,
"y": 181,
"z": 0
},
"modelstate": 0,
@ -460,7 +460,7 @@
"objType": 1,
"location": "right",
"point": "model_06",
"storyBegin": 307,
"storyBegin": 9999,
"Entity": [],
"EntityChange": [],
"EntityStateChange": [],
@ -477,60 +477,6 @@
"enableAi": false,
"boxreplace": "",
"timeline": "",
"chooseId": [
20007
],
"endTid": [
-1
],
"storyEnd": 0,
"reward": [
{
"ChooseId": 20007,
"Reward": [
{
"a": "item",
"t": "30001",
"n": 1
},
{
"a": "hero",
"t": "44005",
"n": 1
},
{
"a": "hero",
"t": "25004",
"n": 1
}
]
}
],
"nextTid": 100209,
"CD": 0
},
{
"id": 2007,
"objType": 1,
"location": "middle",
"point": "model_03",
"storyBegin": 217,
"Entity": [],
"EntityChange": [],
"EntityStateChange": [],
"EntityInteractive": [],
"modelaction": "Enter",
"rotation": {
"x": 0,
"y": 90,
"z": 0
},
"modelstate": 0,
"popup": "",
"special": "",
"enableAi": false,
"boxreplace": "",
"timeline": "",
"chooseId": [],
"endTid": [
-1
@ -541,7 +487,7 @@
"CD": 0
},
{
"id": 2008,
"id": 2007,
"objType": 1,
"location": "middle",
"point": "model_02",
@ -569,8 +515,7 @@
"boxreplace": "",
"timeline": "",
"chooseId": [
20008,
20009
20008
],
"endTid": [
-1
@ -580,6 +525,37 @@
"nextTid": 100211,
"CD": 0
},
{
"id": 2008,
"objType": 1,
"location": "middle",
"point": "model_03",
"storyBegin": 217,
"Entity": [],
"EntityChange": [],
"EntityStateChange": [],
"EntityInteractive": [],
"modelaction": "Enter",
"rotation": {
"x": 0,
"y": 90,
"z": 0
},
"modelstate": 0,
"popup": "",
"special": "",
"enableAi": false,
"boxreplace": "",
"timeline": "",
"chooseId": [],
"endTid": [
-1
],
"storyEnd": 0,
"reward": [],
"nextTid": -1,
"CD": 0
},
{
"id": 2009,
"objType": 1,
@ -646,7 +622,7 @@
"id": 2011,
"objType": 1,
"location": "middle",
"point": "model_02",
"point": "model_03",
"storyBegin": 312,
"Entity": [],
"EntityChange": [],
@ -655,7 +631,7 @@
"modelaction": "",
"rotation": {
"x": 0,
"y": -90,
"y": 90,
"z": 0
},
"modelstate": 0,
@ -665,8 +641,7 @@
"boxreplace": "",
"timeline": "",
"chooseId": [
200012,
200015
200012
],
"endTid": [
118
@ -681,11 +656,6 @@
"t": "44911",
"n": 10
},
{
"a": "hero",
"t": "25004",
"n": 1
},
{
"a": "attr",
"t": "gold",
@ -701,7 +671,7 @@
"id": 2012,
"objType": 1,
"location": "middle",
"point": "model_03",
"point": "model_02",
"storyBegin": 313,
"Entity": [],
"EntityChange": [],
@ -710,7 +680,7 @@
"modelaction": "",
"rotation": {
"x": 0,
"y": 90,
"y": -90,
"z": 0
},
"modelstate": 0,
@ -792,7 +762,7 @@
"id": 2014,
"objType": 1,
"location": "middle",
"point": "model_02",
"point": "model_03",
"storyBegin": 315,
"Entity": [],
"EntityChange": [],
@ -801,7 +771,7 @@
"modelaction": "",
"rotation": {
"x": 0,
"y": -90,
"y": 90,
"z": 0
},
"modelstate": 0,
@ -823,7 +793,7 @@
"id": 2015,
"objType": 1,
"location": "middle",
"point": "model_03",
"point": "model_02",
"storyBegin": 316,
"Entity": [],
"EntityChange": [],
@ -832,7 +802,7 @@
"modelaction": "",
"rotation": {
"x": 0,
"y": 90,
"y": -90,
"z": 0
},
"modelstate": 0,
@ -881,12 +851,12 @@
"storyEnd": 0,
"reward": [
{
"ChooseId": 0,
"ChooseId": 200010,
"Reward": [
{
"a": "hero",
"t": "43901",
"n": 5
"n": 15
}
]
}
@ -958,7 +928,7 @@
},
{
"id": 2019,
"objType": 2,
"objType": 1,
"location": "left",
"point": "icon_01",
"storyBegin": 321,
@ -969,7 +939,7 @@
"modelaction": "",
"rotation": {
"x": 0,
"y": 0,
"y": -180,
"z": 0
},
"modelstate": 0,
@ -985,13 +955,24 @@
158
],
"storyEnd": 0,
"reward": [],
"reward": [
{
"ChooseId": 200017,
"Reward": [
{
"a": "item",
"t": "30001",
"n": 10
}
]
}
],
"nextTid": 100216,
"CD": 0
},
{
"id": 2020,
"objType": 2,
"objType": 1,
"location": "left",
"point": "icon_01",
"storyBegin": 323,
@ -1002,7 +983,7 @@
"modelaction": "",
"rotation": {
"x": 0,
"y": 0,
"y": -180,
"z": 0
},
"modelstate": 0,
@ -1017,7 +998,7 @@
"endTid": [
-1
],
"storyEnd": 322,
"storyEnd": 0,
"reward": [],
"nextTid": 100217,
"CD": 0
@ -1055,18 +1036,7 @@
-1
],
"storyEnd": 0,
"reward": [
{
"ChooseId": 0,
"Reward": [
{
"a": "item",
"t": "30001",
"n": 10
}
]
}
],
"reward": [],
"nextTid": 100218,
"CD": 0
},
@ -1315,13 +1285,13 @@
"id": 2029,
"objType": 1,
"location": "middle",
"point": "model_11",
"point": "model_07",
"storyBegin": 328,
"Entity": [],
"EntityChange": [],
"EntityStateChange": [],
"EntityInteractive": [],
"modelaction": "",
"modelaction": "Enter",
"rotation": {
"x": 0,
"y": -180,
@ -1468,14 +1438,14 @@
],
"storyEnd": 0,
"reward": [],
"nextTid": 100206,
"nextTid": 100204,
"CD": 0
},
{
"id": 2034,
"objType": 1,
"location": "middle",
"point": "model_02",
"point": "model_03",
"storyBegin": 337,
"Entity": [],
"EntityChange": [],
@ -1484,7 +1454,7 @@
"modelaction": "",
"rotation": {
"x": 0,
"y": -90,
"y": 90,
"z": 0
},
"modelstate": 0,
@ -1558,8 +1528,7 @@
"boxreplace": "",
"timeline": "",
"chooseId": [
200023,
200015
200023
],
"endTid": [
146
@ -1573,7 +1542,7 @@
"id": 2037,
"objType": 1,
"location": "middle",
"point": "model_02",
"point": "model_03",
"storyBegin": 339,
"Entity": [],
"EntityChange": [],
@ -1582,7 +1551,7 @@
"modelaction": "",
"rotation": {
"x": 0,
"y": -90,
"y": 90,
"z": 0
},
"modelstate": 0,
@ -1604,7 +1573,7 @@
"id": 2038,
"objType": 1,
"location": "middle",
"point": "model_03",
"point": "model_02",
"storyBegin": 340,
"Entity": [],
"EntityChange": [],
@ -1613,7 +1582,7 @@
"modelaction": "",
"rotation": {
"x": 0,
"y": 90,
"y": -90,
"z": 0
},
"modelstate": 0,
@ -1644,7 +1613,7 @@
"modelaction": "Run",
"rotation": {
"x": 0,
"y": -90,
"y": 2.657,
"z": 0
},
"modelstate": 0,
@ -1667,7 +1636,7 @@
"objType": 1,
"location": "right",
"point": "model_08",
"storyBegin": 342,
"storyBegin": 307,
"Entity": [],
"EntityChange": [],
"EntityStateChange": [],
@ -1684,13 +1653,31 @@
"enableAi": false,
"boxreplace": "",
"timeline": "",
"chooseId": [],
"chooseId": [
20007
],
"endTid": [
-1
],
"storyEnd": 0,
"reward": [],
"nextTid": -1,
"reward": [
{
"ChooseId": 20007,
"Reward": [
{
"a": "item",
"t": "30001",
"n": 1
},
{
"a": "hero",
"t": "44005",
"n": 1
}
]
}
],
"nextTid": 100209,
"CD": 0
},
{
@ -1698,7 +1685,7 @@
"objType": 1,
"location": "middle",
"point": "model_03",
"storyBegin": 343,
"storyBegin": 302,
"Entity": [],
"EntityChange": [],
"EntityStateChange": [],
@ -1773,7 +1760,7 @@
"objType": 1,
"location": "middle",
"point": "model_03",
"storyBegin": 344,
"storyBegin": 303,
"Entity": [],
"EntityChange": [],
"EntityStateChange": [],
@ -1856,7 +1843,7 @@
"modelaction": "",
"rotation": {
"x": 0,
"y": -90,
"y": 2.657,
"z": 0
},
"modelstate": 0,
@ -1887,7 +1874,7 @@
"modelaction": "",
"rotation": {
"x": 0,
"y": 90,
"y": -75,
"z": 0
},
"modelstate": 0,

View File

@ -2076,12 +2076,12 @@
"Where": "",
"Order": "",
"Limit": 10,
"ExecuteCnt": 1,
"ExecuteCnt": 3,
"Type": 1,
"Argu": [
1,
4,
700
222
],
"FollowSK": [],
"SucFollowSK": [
@ -2100,7 +2100,7 @@
"ExecuteCnt": 1,
"Type": 11,
"Argu": [
-300
-100
],
"FollowSK": [],
"SucFollowSK": [],
@ -2114,12 +2114,12 @@
"Where": "",
"Order": "",
"Limit": 10,
"ExecuteCnt": 1,
"ExecuteCnt": 3,
"Type": 1,
"Argu": [
1,
4,
750
250
],
"FollowSK": [],
"SucFollowSK": [
@ -2138,7 +2138,7 @@
"ExecuteCnt": 1,
"Type": 11,
"Argu": [
-300
-100
],
"FollowSK": [],
"SucFollowSK": [],
@ -2152,12 +2152,12 @@
"Where": "",
"Order": "",
"Limit": 10,
"ExecuteCnt": 1,
"ExecuteCnt": 3,
"Type": 1,
"Argu": [
1,
4,
750
250
],
"FollowSK": [],
"SucFollowSK": [
@ -2176,7 +2176,7 @@
"ExecuteCnt": 1,
"Type": 11,
"Argu": [
-300
-100
],
"FollowSK": [],
"SucFollowSK": [],
@ -2190,12 +2190,12 @@
"Where": "",
"Order": "",
"Limit": 10,
"ExecuteCnt": 1,
"ExecuteCnt": 3,
"Type": 1,
"Argu": [
1,
4,
800
287
],
"FollowSK": [],
"SucFollowSK": [
@ -2214,7 +2214,7 @@
"ExecuteCnt": 1,
"Type": 11,
"Argu": [
-300
-100
],
"FollowSK": [],
"SucFollowSK": [],
@ -7533,7 +7533,7 @@
"Where": "",
"Order": "",
"Limit": 1,
"ExecuteCnt": 1,
"ExecuteCnt": 2,
"Type": 1,
"Argu": [
1,
@ -7554,14 +7554,16 @@
"Where": "",
"Order": "Type=Rand",
"Limit": 1,
"ExecuteCnt": 1,
"ExecuteCnt": 2,
"Type": 1,
"Argu": [
1,
4,
550
],
"FollowSK": [],
"FollowSK": [
224002112
],
"SucFollowSK": [
224002113
],
@ -7602,7 +7604,9 @@
4,
600
],
"FollowSK": [],
"FollowSK": [
224002122
],
"SucFollowSK": [
224002113
],
@ -7644,7 +7648,9 @@
4,
650
],
"FollowSK": [],
"FollowSK": [
224002132
],
"SucFollowSK": [
224002113
],
@ -7686,7 +7692,9 @@
4,
700
],
"FollowSK": [],
"FollowSK": [
224002142
],
"SucFollowSK": [
224002113
],
@ -7728,7 +7736,9 @@
4,
750
],
"FollowSK": [],
"FollowSK": [
224002152
],
"SucFollowSK": [
224002113
],
@ -7770,7 +7780,9 @@
4,
800
],
"FollowSK": [],
"FollowSK": [
224002162
],
"SucFollowSK": [
224002113
],
@ -8343,7 +8355,7 @@
"Argu": [
1,
5,
100
150
],
"FollowSK": [],
"SucFollowSK": [],
@ -8362,7 +8374,7 @@
"Argu": [
1,
5,
200
300
],
"FollowSK": [],
"SucFollowSK": [
@ -8424,7 +8436,7 @@
"Argu": [
1,
5,
100
150
],
"FollowSK": [],
"SucFollowSK": [],
@ -8443,7 +8455,7 @@
"Argu": [
1,
5,
250
400
],
"FollowSK": [],
"SucFollowSK": [
@ -8505,7 +8517,7 @@
"Argu": [
1,
5,
100
150
],
"FollowSK": [],
"SucFollowSK": [],
@ -8524,7 +8536,7 @@
"Argu": [
1,
5,
250
400
],
"FollowSK": [],
"SucFollowSK": [
@ -8586,7 +8598,7 @@
"Argu": [
1,
5,
100
150
],
"FollowSK": [],
"SucFollowSK": [],
@ -8605,7 +8617,7 @@
"Argu": [
1,
5,
300
500
],
"FollowSK": [],
"SucFollowSK": [
@ -8667,7 +8679,7 @@
"Argu": [
1,
5,
100
150
],
"FollowSK": [],
"SucFollowSK": [],
@ -8686,7 +8698,7 @@
"Argu": [
1,
5,
300
500
],
"FollowSK": [],
"SucFollowSK": [

View File

@ -186,7 +186,7 @@
"act": "Skill_2",
"Type": 1,
"CD": 5,
"Target": 1,
"Target": 0,
"ChildSkill": {
"Id": [
225004211,
@ -213,7 +213,7 @@
"act": "Skill_2",
"Type": 1,
"CD": 4,
"Target": 1,
"Target": 0,
"ChildSkill": {
"Id": [
225004211,
@ -240,7 +240,7 @@
"act": "Skill_2",
"Type": 1,
"CD": 3,
"Target": 1,
"Target": 0,
"ChildSkill": {
"Id": [
225004211,
@ -5516,8 +5516,7 @@
"Target": 2,
"ChildSkill": {
"Id": [
224002111,
224002112
224002111
]
},
"Desc": {
@ -5542,8 +5541,7 @@
"Target": 2,
"ChildSkill": {
"Id": [
224002121,
224002122
224002121
]
},
"Desc": {
@ -5568,8 +5566,7 @@
"Target": 2,
"ChildSkill": {
"Id": [
224002131,
224002132
224002131
]
},
"Desc": {
@ -5594,8 +5591,7 @@
"Target": 2,
"ChildSkill": {
"Id": [
224002141,
224002142
224002141
]
},
"Desc": {
@ -5620,8 +5616,7 @@
"Target": 2,
"ChildSkill": {
"Id": [
224002151,
224002152
224002151
]
},
"Desc": {
@ -5646,8 +5641,7 @@
"Target": 2,
"ChildSkill": {
"Id": [
224002161,
224002162
224002161
]
},
"Desc": {

View File

@ -579,7 +579,7 @@
"RemoveType": true,
"OverlayTimes": 1,
"SameID": false,
"buffIcon": "",
"buffIcon": "ty_zd_buff_z010",
"buffeffect": "",
"buffpos": "Bip016 HeadNub"
},
@ -823,7 +823,7 @@
"RemoveType": true,
"OverlayTimes": 1,
"SameID": false,
"buffIcon": "",
"buffIcon": "ty_zd_buff_z010",
"buffeffect": "",
"buffpos": "Bip026 HeadNub"
},
@ -851,7 +851,7 @@
"RemoveType": true,
"OverlayTimes": 3,
"SameID": false,
"buffIcon": "",
"buffIcon": "ty_zd_buff_z010",
"buffeffect": "",
"buffpos": "Bip027 HeadNub"
},

View File

@ -74,7 +74,7 @@
},
{
"Id": 425001212,
"When": "SufEnd",
"When": "BeDamage",
"TargetCheck": 3,
"AddCon": "EffID=390001209",
"PasPr": 1000,
@ -110,7 +110,7 @@
},
{
"Id": 425001222,
"When": "SufEnd",
"When": "BeDamage",
"TargetCheck": 3,
"AddCon": "EffID=390001209",
"PasPr": 1000,
@ -146,7 +146,7 @@
},
{
"Id": 425001232,
"When": "SufEnd",
"When": "BeDamage",
"TargetCheck": 3,
"AddCon": "EffID=390001209",
"PasPr": 1000,
@ -182,7 +182,7 @@
},
{
"Id": 425001242,
"When": "SufEnd",
"When": "BeDamage",
"TargetCheck": 3,
"AddCon": "EffID=390001209",
"PasPr": 1000,
@ -218,7 +218,7 @@
},
{
"Id": 425001252,
"When": "SufEnd",
"When": "BeDamage",
"TargetCheck": 3,
"AddCon": "EffID=390001209",
"PasPr": 1000,
@ -254,7 +254,7 @@
},
{
"Id": 435001211,
"When": "AtkEnd",
"When": "Damage",
"TargetCheck": 3,
"AddCon": "",
"PasPr": 1000,
@ -266,7 +266,7 @@
},
{
"Id": 435001212,
"When": "AtkEnd",
"When": "Damage",
"TargetCheck": 3,
"AddCon": "",
"PasPr": 1000,
@ -375,32 +375,32 @@
},
{
"Id": 424002211,
"When": "AtkStart",
"When": "Damage",
"TargetCheck": 3,
"AddCon": "Target=9,EffID=390001211",
"PasPr": 1000,
"Type": "CallSkillPas",
"MaxEmitTimes": 1,
"Callback": [
124002213
224002213
]
},
{
"Id": 424002212,
"When": "SufEnd",
"When": "BeDamage",
"TargetCheck": 3,
"AddCon": "Target=8,EffID=390001211",
"PasPr": 1000,
"Type": "CallSkillPas",
"MaxEmitTimes": 1,
"Callback": [
124002111,
124002112
224002111,
224002112
]
},
{
"Id": 414007211,
"When": "SufEnd",
"When": "BeDamage",
"TargetCheck": 3,
"AddCon": "",
"PasPr": 1000,
@ -413,19 +413,19 @@
},
{
"Id": 414003311,
"When": "AtkEnd",
"When": "Damage",
"TargetCheck": 3,
"AddCon": "",
"PasPr": 1000,
"Type": "CallSkillPas",
"MaxEmitTimes": 1,
"Callback": [
924004212
214003212
]
},
{
"Id": 445003211,
"When": "SufEnd",
"When": "BeDamage",
"TargetCheck": 3,
"AddCon": "",
"PasPr": 1000,
@ -437,7 +437,7 @@
},
{
"Id": 435003211,
"When": "SufEff",
"When": "AddBuff",
"TargetCheck": 3,
"AddCon": "EffType=0,Result=1",
"PasPr": 1000,
@ -449,7 +449,7 @@
},
{
"Id": 435003212,
"When": "SufEff",
"When": "AddBuff",
"TargetCheck": 3,
"AddCon": "EffType=0,Result=0",
"PasPr": 1000,
@ -461,7 +461,7 @@
},
{
"Id": 435003213,
"When": "SufEnd",
"When": "BeDamage",
"TargetCheck": 3,
"AddCon": "",
"PasPr": 1000,

File diff suppressed because it is too large Load Diff

View File

@ -8,7 +8,7 @@
"text": "提升任意英雄1级"
},
"type_id": 10001,
"active": 40,
"active": 10,
"id_after": 0,
"jump_interface": 103,
"icon": "wp_icon_0001",
@ -20,12 +20,12 @@
"id_tag": 1,
"task_display": {
"key": "task_10002",
"text": "登录游戏"
"text": "提升任意英雄5级"
},
"type_id": 10101,
"active": 40,
"type_id": 10001,
"active": 15,
"id_after": 0,
"jump_interface": 0,
"jump_interface": 103,
"icon": "wp_icon_0001",
"reword": []
},
@ -35,10 +35,70 @@
"id_tag": 1,
"task_display": {
"key": "task_10003",
"text": "提升任意英雄10级"
},
"type_id": 10001,
"active": 25,
"id_after": 0,
"jump_interface": 103,
"icon": "wp_icon_0001",
"reword": []
},
{
"key": 10004,
"id_list": 4,
"id_tag": 1,
"task_display": {
"key": "task_10004",
"text": "登录游戏"
},
"type_id": 10101,
"active": 10,
"id_after": 0,
"jump_interface": 0,
"icon": "wp_icon_0001",
"reword": []
},
{
"key": 10005,
"id_list": 5,
"id_tag": 1,
"task_display": {
"key": "task_10005",
"text": "进行1次普通招募"
},
"type_id": 10201,
"active": 40,
"active": 10,
"id_after": 0,
"jump_interface": 107,
"icon": "wp_icon_0001",
"reword": []
},
{
"key": 10006,
"id_list": 6,
"id_tag": 1,
"task_display": {
"key": "task_10006",
"text": "进行5次普通招募"
},
"type_id": 10202,
"active": 15,
"id_after": 0,
"jump_interface": 107,
"icon": "wp_icon_0001",
"reword": []
},
{
"key": 10007,
"id_list": 7,
"id_tag": 1,
"task_display": {
"key": "task_10007",
"text": "进行10次普通招募"
},
"type_id": 10203,
"active": 25,
"id_after": 0,
"jump_interface": 107,
"icon": "wp_icon_0001",
@ -46,14 +106,29 @@
},
{
"key": 20001,
"id_list": 9,
"id_list": 8,
"id_tag": 2,
"task_display": {
"key": "task_20001",
"text": "提升任意英雄5级"
},
"type_id": 10002,
"active": 100,
"active": 25,
"id_after": 0,
"jump_interface": 103,
"icon": "wp_icon_0001",
"reword": []
},
{
"key": 20002,
"id_list": 9,
"id_tag": 2,
"task_display": {
"key": "task_20002",
"text": "提升任意英雄10级"
},
"type_id": 10003,
"active": 35,
"id_after": 0,
"jump_interface": 103,
"icon": "wp_icon_0001",
@ -65,10 +140,55 @@
"id_tag": 2,
"task_display": {
"key": "task_20003",
"text": "提升任意英雄20级"
},
"type_id": 10004,
"active": 60,
"id_after": 0,
"jump_interface": 103,
"icon": "wp_icon_0001",
"reword": []
},
{
"key": 20004,
"id_list": 11,
"id_tag": 2,
"task_display": {
"key": "task_20004",
"text": "进行5次普通招募"
},
"type_id": 10202,
"active": 100,
"active": 25,
"id_after": 0,
"jump_interface": 107,
"icon": "wp_icon_0001",
"reword": []
},
{
"key": 20005,
"id_list": 12,
"id_tag": 2,
"task_display": {
"key": "task_20005",
"text": "进行10次普通招募"
},
"type_id": 10203,
"active": 35,
"id_after": 0,
"jump_interface": 107,
"icon": "wp_icon_0001",
"reword": []
},
{
"key": 20006,
"id_list": 13,
"id_tag": 2,
"task_display": {
"key": "task_20006",
"text": "进行20次普通招募"
},
"type_id": 10204,
"active": 60,
"id_after": 0,
"jump_interface": 107,
"icon": "wp_icon_0001",
@ -76,7 +196,7 @@
},
{
"key": 30001,
"id_list": 16,
"id_list": 14,
"id_tag": 3,
"task_display": {
"key": "task_30001",
@ -84,7 +204,7 @@
},
"type_id": 10003,
"active": 0,
"id_after": 30002,
"id_after": 0,
"jump_interface": 103,
"icon": "rw_cj_icon10",
"reword": [
@ -97,7 +217,7 @@
},
{
"key": 30002,
"id_list": 17,
"id_list": 15,
"id_tag": 3,
"task_display": {
"key": "task_30002",
@ -105,7 +225,7 @@
},
"type_id": 10004,
"active": 0,
"id_after": 30003,
"id_after": 0,
"jump_interface": 103,
"icon": "rw_cj_icon10",
"reword": [
@ -118,7 +238,7 @@
},
{
"key": 30003,
"id_list": 18,
"id_list": 16,
"id_tag": 3,
"task_display": {
"key": "task_30003",
@ -126,7 +246,7 @@
},
"type_id": 10005,
"active": 0,
"id_after": 30004,
"id_after": 0,
"jump_interface": 103,
"icon": "rw_cj_icon10",
"reword": [
@ -139,7 +259,7 @@
},
{
"key": 30004,
"id_list": 19,
"id_list": 17,
"id_tag": 3,
"task_display": {
"key": "task_30004",
@ -147,7 +267,7 @@
},
"type_id": 10006,
"active": 0,
"id_after": 30005,
"id_after": 0,
"jump_interface": 103,
"icon": "rw_cj_icon10",
"reword": [
@ -160,7 +280,7 @@
},
{
"key": 30005,
"id_list": 20,
"id_list": 18,
"id_tag": 3,
"task_display": {
"key": "task_30005",
@ -168,7 +288,7 @@
},
"type_id": 10007,
"active": 0,
"id_after": 30006,
"id_after": 0,
"jump_interface": 103,
"icon": "rw_cj_icon10",
"reword": [
@ -181,7 +301,7 @@
},
{
"key": 30006,
"id_list": 21,
"id_list": 19,
"id_tag": 3,
"task_display": {
"key": "task_30006",
@ -189,7 +309,7 @@
},
"type_id": 10008,
"active": 0,
"id_after": 30007,
"id_after": 0,
"jump_interface": 103,
"icon": "rw_cj_icon10",
"reword": [
@ -202,7 +322,7 @@
},
{
"key": 30007,
"id_list": 22,
"id_list": 20,
"id_tag": 3,
"task_display": {
"key": "task_30007",
@ -210,7 +330,7 @@
},
"type_id": 10009,
"active": 0,
"id_after": 30008,
"id_after": 0,
"jump_interface": 103,
"icon": "rw_cj_icon10",
"reword": [
@ -223,7 +343,7 @@
},
{
"key": 30008,
"id_list": 23,
"id_list": 21,
"id_tag": 3,
"task_display": {
"key": "task_30008",
@ -244,7 +364,7 @@
},
{
"key": 30101,
"id_list": 24,
"id_list": 22,
"id_tag": 3,
"task_display": {
"key": "task_30101",
@ -252,7 +372,7 @@
},
"type_id": 10203,
"active": 0,
"id_after": 30102,
"id_after": 0,
"jump_interface": 107,
"icon": "rw_cj_icon15",
"reword": [
@ -265,7 +385,7 @@
},
{
"key": 30102,
"id_list": 25,
"id_list": 23,
"id_tag": 3,
"task_display": {
"key": "task_30102",
@ -273,7 +393,7 @@
},
"type_id": 10204,
"active": 0,
"id_after": 30103,
"id_after": 0,
"jump_interface": 107,
"icon": "rw_cj_icon15",
"reword": [
@ -286,7 +406,7 @@
},
{
"key": 30103,
"id_list": 26,
"id_list": 24,
"id_tag": 3,
"task_display": {
"key": "task_30103",
@ -294,7 +414,7 @@
},
"type_id": 10205,
"active": 0,
"id_after": 30104,
"id_after": 0,
"jump_interface": 107,
"icon": "rw_cj_icon15",
"reword": [
@ -307,7 +427,7 @@
},
{
"key": 30104,
"id_list": 27,
"id_list": 25,
"id_tag": 3,
"task_display": {
"key": "task_30104",
@ -315,7 +435,7 @@
},
"type_id": 10206,
"active": 0,
"id_after": 30105,
"id_after": 0,
"jump_interface": 107,
"icon": "rw_cj_icon15",
"reword": [
@ -328,7 +448,7 @@
},
{
"key": 30105,
"id_list": 28,
"id_list": 26,
"id_tag": 3,
"task_display": {
"key": "task_30105",
@ -336,7 +456,7 @@
},
"type_id": 10207,
"active": 0,
"id_after": 30106,
"id_after": 0,
"jump_interface": 107,
"icon": "rw_cj_icon15",
"reword": [
@ -349,7 +469,7 @@
},
{
"key": 30106,
"id_list": 29,
"id_list": 27,
"id_tag": 3,
"task_display": {
"key": "task_30106",
@ -357,7 +477,7 @@
},
"type_id": 10208,
"active": 0,
"id_after": 30107,
"id_after": 0,
"jump_interface": 107,
"icon": "rw_cj_icon15",
"reword": [
@ -370,7 +490,7 @@
},
{
"key": 30107,
"id_list": 30,
"id_list": 28,
"id_tag": 3,
"task_display": {
"key": "task_30107",
@ -378,7 +498,7 @@
},
"type_id": 10209,
"active": 0,
"id_after": 30108,
"id_after": 0,
"jump_interface": 107,
"icon": "rw_cj_icon15",
"reword": [
@ -391,7 +511,7 @@
},
{
"key": 30108,
"id_list": 31,
"id_list": 29,
"id_tag": 3,
"task_display": {
"key": "task_30108",

View File

@ -97,23 +97,6 @@ func (this *appGen) LazyInit(obs observer.Observer) error {
tmpDir.Text = gt.TmpDir
}
// 打开目录
openFolder := func(entry *widget.Entry) {
dConf := dialog.NewFolderOpen(func(lu fyne.ListableURI, err error) {
if lu == nil {
return
}
entry.Text = lu.Path()
entry.Refresh()
}, toolWin.w)
luri, _ := storage.ListerForURI(storage.NewFileURI("."))
dConf.SetLocation(luri)
dConf.SetConfirmText("打开")
dConf.SetDismissText("取消")
dConf.Resize(fyne.NewSize(750, 500))
dConf.Show()
}
form := widget.NewForm(
widget.NewFormItem("服务地址", serverAddr),
widget.NewFormItem("项目目录", container.NewBorder(nil, nil, nil, widget.NewButtonWithIcon("", theme.FolderIcon(), func() {
@ -392,6 +375,23 @@ func (this *appGen) LazyInit(obs observer.Observer) error {
return nil
}
// 打开目录
func openFolder(entry *widget.Entry) {
dConf := dialog.NewFolderOpen(func(lu fyne.ListableURI, err error) {
if lu == nil {
return
}
entry.Text = lu.Path()
entry.Refresh()
}, toolWin.w)
luri, _ := storage.ListerForURI(storage.NewFileURI("."))
dConf.SetLocation(luri)
dConf.SetConfirmText("打开")
dConf.SetDismissText("取消")
dConf.Resize(fyne.NewSize(750, 500))
dConf.Show()
}
type fileList struct {
selItemIds []string //选择的ID
fileTotal int //文件总数

View File

@ -44,8 +44,12 @@ func (this *appTerm) LazyInit(obs observer.Observer) error {
remoteDir.PlaceHolder = `远程目录`
dirForm := widget.NewForm(
&widget.FormItem{Text: "本地目录:", Widget: localDir},
&widget.FormItem{Text: "远程目录:", Widget: remoteDir},
widget.NewFormItem("本地目录", container.NewBorder(nil, nil, nil, widget.NewButtonWithIcon("", theme.FolderIcon(), func() {
openFolder(localDir)
}), localDir)),
widget.NewFormItem("远程目录", container.NewBorder(nil, nil, nil, widget.NewButtonWithIcon("", theme.FolderIcon(), func() {
openFolder(remoteDir)
}), remoteDir)),
)
// output panel

View File

@ -113,8 +113,8 @@ func (this *apiComp) Awaken(session comm.IUserSession, req *pb.HeroAwakenReq) (c
//xx英雄满级、共鸣、觉醒至最高状态
nextAwaken := this.module.configure.GetHeroAwakenConfig(_hero.HeroID, _hero.JuexingLv+1)
if nextAwaken == nil { // 达到满级觉醒
resonConfig := this.module.configure.GetHeroResonanceConfig(_hero.HeroID, _hero.Star+1)
if resonConfig == nil { // 满星
resonConfig := this.module.configure.GetHeroResonanceConfig(_hero.HeroID, cfg.Star)
if resonConfig.Maxnum == _hero.ResonateNum {
if _hero.Lv == _hero.Star*comm.HeroStarLvRatio {
this.module.ModuleRtask.SendToRtask(session, comm.Rtype37, 1, cfg.Color)
this.module.ModuleRtask.SendToRtask(session, comm.Rtype38, 1)

View File

@ -61,8 +61,8 @@ func (this *apiComp) DrawCard(session comm.IUserSession, req *pb.HeroDrawCardReq
}
for i := 0; i < int(req.DrawCount); i++ {
drawCount += 1
pool = this.module.modelHero.CheckPool(drawCount, cfg)
drawCount += 1
strPool = append(strPool, pool)
sz := make([]int32, 0)

View File

@ -21,10 +21,8 @@ func (this *apiComp) ResonanceCheck(session comm.IUserSession, req *pb.HeroReson
/// 英雄共鸣
func (this *apiComp) Resonance(session comm.IUserSession, req *pb.HeroResonanceReq) (code pb.ErrorCode, data proto.Message) {
var (
szCostHero map[string]int32 // k 卡牌配置id v 数量
totalCostCard int32 //消耗卡总数量
_hero *pb.DBHero
szCostHero map[string]int32 // k 卡牌配置id v 数量
_hero *pb.DBHero
ChangeList []*pb.DBHero // 变化的英雄数据
_costMaphero map[string]*pb.DBHero
count int32 // 共鸣升级次数
@ -41,14 +39,19 @@ func (this *apiComp) Resonance(session comm.IUserSession, req *pb.HeroResonanceR
if code != pb.ErrorCode_Success {
return
}
//获取原始星级
conf := this.module.configure.GetHero(_hero.HeroID)
if conf == nil {
code = pb.ErrorCode_ConfigNoFound
return
}
// 共鸣次数判断
resonConfig := this.module.configure.GetHeroResonanceConfig(_hero.HeroID, _hero.Star)
resonConfig := this.module.configure.GetHeroResonanceConfig(_hero.HeroID, conf.Star)
if resonConfig == nil {
code = pb.ErrorCode_ConfigNoFound
return
}
totalCostCard = resonConfig.Energy
for _, k := range req.CostObjID {
_costHero, c := this.module.GetHeroByObjID(session.GetUserId(), k) // 查询消耗卡是否存在
if c != pb.ErrorCode_Success {
@ -108,7 +111,7 @@ func (this *apiComp) Resonance(session comm.IUserSession, req *pb.HeroResonanceR
return
}
for k, _ := range szCostHero {
for k := range _costMaphero {
if k == _hero.Id {
_hero.SameCount = _costMaphero[k].SameCount
break
@ -125,7 +128,8 @@ func (this *apiComp) Resonance(session comm.IUserSession, req *pb.HeroResonanceR
}
_hero.SameCount = 1
_hero.ResonateNum += count
_hero.DistributionResonate += resonConfig.Energy * totalCostCard
_hero.DistributionResonate += resonConfig.Energy * count
_hero.IsOverlying = false
_heroMap := map[string]interface{}{
"resonateNum": _hero.ResonateNum,
"distributionResonate": _hero.DistributionResonate,
@ -139,16 +143,9 @@ func (this *apiComp) Resonance(session comm.IUserSession, req *pb.HeroResonanceR
return
}
// 返还对应初始星级的卡
for _, v := range resonConfig.Prize {
if v.A == comm.HeroType {
this.module.modelHero.createHeroOverlying(session.GetUserId(), v.T, v.N)
}
}
//this.module.modelHero.ChangeHeroProperty(session, _hero) // 推送属性变化
ChangeList = append(ChangeList, _hero)
session.SendMsg(string(this.module.GetType()), "change", &pb.HeroChangePush{List: ChangeList})
this.module.DispenseRes(session, resonConfig.Prize, true)
session.SendMsg(string(this.module.GetType()), Resonance, &pb.HeroResonanceResp{Hero: _hero})
// 任务相关
@ -160,8 +157,8 @@ func (this *apiComp) Resonance(session comm.IUserSession, req *pb.HeroResonanceR
//xx英雄满级、共鸣、觉醒至最高状态
nextAwaken := this.module.configure.GetHeroAwakenConfig(_hero.HeroID, _hero.JuexingLv+1)
if nextAwaken == nil { // 达到满级觉醒
resonConfig := this.module.configure.GetHeroResonanceConfig(_hero.HeroID, _hero.Star+1)
if resonConfig == nil { // 满星
resonConfig := this.module.configure.GetHeroResonanceConfig(_hero.HeroID, cfg.Star)
if resonConfig.Maxnum == _hero.ResonateNum { // 共鸣满
if _hero.Lv == _hero.Star*comm.HeroStarLvRatio {
this.module.ModuleRtask.SendToRtask(session, comm.Rtype37, 1, cfg.Color)
this.module.ModuleRtask.SendToRtask(session, comm.Rtype38, 1)

View File

@ -63,8 +63,9 @@ func (this *apiComp) ResonanceUseEnergy(session comm.IUserSession, req *pb.HeroR
this.module.Errorf("update hero skill failed:%v", err1)
return
}
conf := this.module.configure.GetHero(_hero.HeroID)
// 计算属性
this.module.modelHero.setEnergyProperty(_hero)
this.module.modelHero.setEnergyProperty(_hero, conf.Star)
session.SendMsg(string(this.module.GetType()), ResonanceUseEnergy, &pb.HeroResonanceUseEnergyResp{Hero: _hero})
return
}

View File

@ -201,8 +201,8 @@ func (this *apiComp) StrengthenUplv(session comm.IUserSession, req *pb.HeroStren
//xx英雄满级、共鸣、觉醒至最高状态
nextAwaken := this.module.configure.GetHeroAwakenConfig(_hero.HeroID, _hero.JuexingLv+1)
if nextAwaken == nil { // 达到满级觉醒
resonConfig := this.module.configure.GetHeroResonanceConfig(_hero.HeroID, _hero.Star+1)
if resonConfig == nil { // 满星
resonConfig := this.module.configure.GetHeroResonanceConfig(_hero.HeroID, cfg.Star)
if resonConfig.Maxnum == _hero.ResonateNum { // 共鸣满
if _hero.Lv == _hero.Star*comm.HeroStarLvRatio {
this.module.ModuleRtask.SendToRtask(session, comm.Rtype37, 1, cfg.Color)
this.module.ModuleRtask.SendToRtask(session, comm.Rtype38, 1)

View File

@ -282,8 +282,9 @@ func (this *ModelHero) setJuexingProperty(hero *pb.DBHero, key string, value int
}
// 设置共鸣能量点数属性
func (this *ModelHero) setEnergyProperty(hero *pb.DBHero) {
resonConfig := this.moduleHero.configure.GetHeroResonanceConfig(hero.HeroID, hero.Star)
func (this *ModelHero) setEnergyProperty(hero *pb.DBHero, star int32) {
resonConfig := this.moduleHero.configure.GetHeroResonanceConfig(hero.HeroID, star)
if resonConfig == nil {
return
}
@ -346,12 +347,20 @@ func (this *ModelHero) setEquipment(hero *pb.DBHero) (newHero *pb.DBHero, err er
_suiteId = hero.SuiteId
_equipID = hero.EquipID
_suiteExtId = hero.SuiteExtId
suite1Star := hero.Suite1Star
suite2Star := hero.Suite2Star
suite1Lv := hero.Suite1Lv
suite2Lv := hero.Suite2Lv
if hero.IsOverlying && hero.SameCount > 1 {
// 克隆一个新的
hero.SameCount -= 1
hero.Suite1Star = 0
hero.Suite2Star = 0
hero.Suite1Lv = 0
hero.Suite2Lv = 0
hero.SuiteId = 0
hero.EquipID = make([]string, 6)
hero.SuiteExtId = 0
hero.EquipID = make([]string, 6)
newHero = this.CloneNewHero(hero)
hero.EquipID = make([]string, 6)
hero.SameCount = 1
@ -363,6 +372,10 @@ func (this *ModelHero) setEquipment(hero *pb.DBHero) (newHero *pb.DBHero, err er
update["suiteId"] = _suiteId
update["suiteExtId"] = _suiteExtId
update["equipID"] = _equipID
update["suite1Star"] = suite1Star
update["suite2Star"] = suite2Star
update["suite1Lv"] = suite1Lv
update["suite2Lv"] = suite2Lv
if err = this.ChangeList(hero.Uid, hero.Id, update); err != nil {
this.moduleHero.Errorf("%v", err)
@ -568,8 +581,15 @@ func (this *ModelHero) CheckPool(drawCount int32, config *cfg.GameGlobalData) (p
return config.BasePool2.P
} else if config.BasePool3.S <= drawCount && config.BasePool3.E >= drawCount {
return config.BasePool3.P
} else if config.BasePool4.S <= drawCount && config.BasePool4.E >= drawCount {
return config.BasePool4.P
} else if config.BasePool5.S <= drawCount && config.BasePool5.E >= drawCount {
return config.BasePool5.P
} else if config.BasePool6.S <= drawCount && config.BasePool6.E >= drawCount {
return config.BasePool6.P
}
return config.BasePool4.P
return config.BasePool7.P
}
// 通数组里的权重随机命中 返回值为数组的下标

View File

@ -138,7 +138,7 @@ func (this *Hero) SendRdTask(session comm.IUserSession) {
equipmap := make(map[int32]map[int32]int32, 0) // k 套装id k1 xx星 v 数量
list := this.GetHeroList(session.GetUserId())
for _, v := range list {
if v.SuiteId != 0 || v.SuiteExtId != 0 {
if v.SuiteId != 0 {
if _, ok := equipmap[v.SuiteId]; !ok {
equipmap[v.SuiteId] = make(map[int32]int32, 0)
}

View File

@ -20,15 +20,8 @@ func (this *apiComp) BattleFinish(session comm.IUserSession, req *pb.RtaskBattle
return
}
defer func() {
rsp := &pb.RtaskFinishPush{
RtaskId: req.RtaskId,
}
if err := session.SendMsg(string(this.moduleRtask.GetType()), "finish", rsp); err != nil {
code = pb.ErrorCode_SystemError
}
}()
this.moduleRtask.Debugf("随机任务请求 rtaskID:%v 完成 subtaskID:%v chooseID:%v", req.RtaskId, req.RtaskSubId, req.ChooseId)
// 获取当前任务配置
conf := this.moduleRtask.configure.getRtaskById(req.RtaskId)
if conf == nil {
@ -66,17 +59,21 @@ func (this *apiComp) BattleFinish(session comm.IUserSession, req *pb.RtaskBattle
}
// 校验完成条件
var checkCondi bool
for _, v := range sideConf.EndTid {
if v == -1 {
continue
}
if err, ok := this.moduleRtask.modelRtask.checkCondi(session.GetUserId(), v); !ok {
if err != nil {
this.moduleRtask.Error(err.Error())
}
code = pb.ErrorCode_RtaskCondiNoReach
return
this.moduleRtask.Debugf("条件未达成 condiID:%v rtaskId:%v subRtaskId:%v chooseID:%v", v, req.RtaskId, req.RtaskSubId, req.ChooseId)
break
}
checkCondi = true
}
if !checkCondi {
code = pb.ErrorCode_RtaskCondiNoReach
return
}
// 更新完成的任务
@ -114,5 +111,13 @@ func (this *apiComp) BattleFinish(session comm.IUserSession, req *pb.RtaskBattle
code = pb.ErrorCode_SystemError
}
rsp := &pb.RtaskFinishPush{
RtaskId: req.RtaskId,
}
if err := session.SendMsg(string(this.moduleRtask.GetType()), "finish", rsp); err != nil {
code = pb.ErrorCode_SystemError
}
this.moduleRtask.Debugf("随机任务完成 rtaskID:%v subtaskID:%v chooseID:%v", req.RtaskId, req.RtaskSubId, req.ChooseId)
return
}

View File

@ -10,7 +10,7 @@ import (
func (this *ModelRtaskRecord) equalFirstParam(cfg *cfg.GameRdtaskCondiData, vals ...int32) (condiId int32, err error) {
//只查询参数于配置相等的情况下设置condiId否则返回0
if ok, err1 := soEqual(vals[0], cfg.Data1); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
condiId = cfg.Id
@ -19,7 +19,7 @@ func (this *ModelRtaskRecord) equalFirstParam(cfg *cfg.GameRdtaskCondiData, vals
func (this *ModelRtaskRecord) greatEqualFirstParam(cfg *cfg.GameRdtaskCondiData, vals ...int32) (condiId int32, err error) {
if ok, err1 := soGreatEqual(vals[0], cfg.Data1); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
condiId = cfg.Id
@ -28,7 +28,7 @@ func (this *ModelRtaskRecord) greatEqualFirstParam(cfg *cfg.GameRdtaskCondiData,
func (this *ModelRtaskRecord) lessEqualFirstParam(cfg *cfg.GameRdtaskCondiData, vals ...int32) (condiId int32, err error) {
if ok, err1 := soLessEqual(vals[0], cfg.Data1); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
condiId = cfg.Id
@ -47,67 +47,67 @@ func (this *ModelRtaskRecord) equalParams(cfg *cfg.GameRdtaskCondiData, vals ...
switch paramLen {
case 1:
if ok, err1 := soEqual(vals[0], cfg.Data1); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
case 2:
if ok, err1 := soEqual(vals[0], cfg.Data1); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
if ok, err1 := soGreatEqual(vals[1], cfg.Data2); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
case 3:
if ok, err1 := soEqual(vals[0], cfg.Data1); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
if ok, err1 := soGreatEqual(vals[1], cfg.Data2); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
if ok, err1 := soGreatEqual(vals[2], cfg.Data3); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
case 4:
if ok, err1 := soEqual(vals[0], cfg.Data1); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
if ok, err1 := soGreatEqual(vals[1], cfg.Data2); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
if ok, err1 := soGreatEqual(vals[2], cfg.Data3); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
if ok, err1 := soGreatEqual(vals[3], cfg.Data4); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
case 5:
if ok, err1 := soEqual(vals[0], cfg.Data1); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
if ok, err1 := soGreatEqual(vals[1], cfg.Data2); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
if ok, err1 := soGreatEqual(vals[2], cfg.Data3); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
if ok, err1 := soGreatEqual(vals[3], cfg.Data4); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
if ok, err1 := soGreatEqual(vals[4], cfg.Data5); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
default:
@ -130,67 +130,67 @@ func (this *ModelRtaskRecord) greatThanParams(cfg *cfg.GameRdtaskCondiData, vals
switch paramLen {
case 1:
if ok, err1 := soGreatEqual(vals[0], cfg.Data1); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
case 2:
if ok, err1 := soGreatEqual(vals[0], cfg.Data1); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
if ok, err1 := soGreatEqual(vals[1], cfg.Data2); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
case 3:
if ok, err1 := soGreatEqual(vals[0], cfg.Data1); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
if ok, err1 := soGreatEqual(vals[1], cfg.Data2); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
if ok, err1 := soGreatEqual(vals[2], cfg.Data3); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
case 4:
if ok, err1 := soGreatEqual(vals[0], cfg.Data1); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
if ok, err1 := soGreatEqual(vals[1], cfg.Data2); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
if ok, err1 := soGreatEqual(vals[2], cfg.Data3); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
if ok, err1 := soGreatEqual(vals[3], cfg.Data4); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
case 5:
if ok, err1 := soGreatEqual(vals[0], cfg.Data1); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
if ok, err1 := soGreatEqual(vals[1], cfg.Data2); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
if ok, err1 := soGreatEqual(vals[2], cfg.Data3); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
if ok, err1 := soGreatEqual(vals[3], cfg.Data4); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
if ok, err1 := soGreatEqual(vals[4], cfg.Data5); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
default:
@ -213,67 +213,67 @@ func (this *ModelRtaskRecord) lessThanParams(cfg *cfg.GameRdtaskCondiData, vals
switch paramLen {
case 1:
if ok, err1 := soLessEqual(vals[0], cfg.Data1); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
case 2:
if ok, err1 := soLessEqual(vals[0], cfg.Data1); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
if ok, err1 := soGreatEqual(vals[1], cfg.Data2); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
case 3:
if ok, err1 := soLessEqual(vals[0], cfg.Data1); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
if ok, err1 := soGreatEqual(vals[1], cfg.Data2); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
if ok, err1 := soGreatEqual(vals[2], cfg.Data3); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
case 4:
if ok, err1 := soLessEqual(vals[0], cfg.Data1); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
if ok, err1 := soGreatEqual(vals[1], cfg.Data2); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
if ok, err1 := soGreatEqual(vals[2], cfg.Data3); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
if ok, err1 := soGreatEqual(vals[3], cfg.Data4); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
case 5:
if ok, err1 := soLessEqual(vals[0], cfg.Data1); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
if ok, err1 := soGreatEqual(vals[1], cfg.Data2); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
if ok, err1 := soGreatEqual(vals[2], cfg.Data3); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
if ok, err1 := soGreatEqual(vals[3], cfg.Data4); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
if ok, err1 := soGreatEqual(vals[4], cfg.Data5); !ok {
err = errors.WithMessagef(err1, "id: %v type:%v", cfg.Id, cfg.Type)
err = errors.WithMessagef(err1, "id: %v type:%v vals:%v", cfg.Id, cfg.Type, vals)
return
}
default:

View File

@ -74,18 +74,22 @@ func (this *ModelRtask) checkHandle(uid string, frtaskIds []int32, conf *cfg.Gam
// 确定选项前的校验
func (this *ModelRtask) checkCondi(uid string, condiId int32) (err error, ok bool) {
if condiId == 0 {
if condiId <= 0 {
return nil, true
}
//验证限定条件
var condi *rtaskCondi
if condi, ok = this.moduleRtask.handleMap[condiId]; ok {
if condi.verify != nil {
if ok, err = condi.verify(uid, condi.cfg); !ok {
err = errors.WithMessagef(err, "uid: %v do rtask %v condition not reach", uid, condiId)
return
}
}
if condi, ok = this.moduleRtask.handleMap[condiId]; !ok {
errors.Errorf("condiID: %v handle no found", condiId)
return
}
if condi.verify == nil {
errors.Errorf("condiID: %v", condiId)
return
}
if ok, err = condi.verify(uid, condi.cfg); !ok {
err = errors.WithMessagef(err, "uid: %v do rtask [condiId:%v] condition not reach", uid, condiId)
return
}
return
}

View File

@ -3,7 +3,6 @@ package task
import (
"go_dreamfactory/comm"
"go_dreamfactory/pb"
"go_dreamfactory/utils"
"google.golang.org/protobuf/proto"
)
@ -68,14 +67,15 @@ func (this *apiComp) Receive(session comm.IUserSession, req *pb.TaskReceiveReq)
return
}
update := make(map[string]interface{})
if ue.Uid != "" {
if ue != nil {
if comm.TaskTag(req.TaskTag) == comm.TASK_DAILY {
ue.Activeday = ue.Activeday + conf.Active
update["activeday"] = ue.Activeday
}
if comm.TaskTag(req.TaskTag) == comm.TASK_WEEKLY {
ue.Activeweek = ue.Activeweek + conf.Active
update["activeweek"] = ue.Activeweek
}
update = utils.StructToMap(ue)
}
if len(update) > 0 {

View File

@ -89,7 +89,6 @@ func (this *apiComp) Create(session comm.IUserSession, req *pb.UserCreateReq) (c
//初始化用户设置
this.module.modelSetting.InitSetting(session.GetUserId())
//初始化任务
this.module.ModuleTask.InitTaskAll(self.Uid)
return
}

View File

@ -67,6 +67,9 @@ func (this *apiComp) Login(session comm.IUserSession, req *pb.UserLoginReq) (cod
log.Errorf("User_CreateUser err %v", err)
return
}
//初始化任务
this.module.ModuleTask.InitTaskAll(user.Uid)
isNewUser = true
} else {
if cu := this.module.modelSession.getUserSession(user.Uid); cu != nil {
@ -140,7 +143,7 @@ func (this *apiComp) Login(session comm.IUserSession, req *pb.UserLoginReq) (cod
// if this.module.ModuleSys.IsAccess("", user.Lv) {
this.module.ModuleRtask.InitCondiData(user.Uid)
// }
// 日常登录任务
this.module.ModuleRtask.SendToRtask(session, comm.Rtype7, 1)

View File

@ -0,0 +1,42 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
package cfg
type GameHeroConvertdata struct {
_dataMap map[int32]*GameHeroConvertdataData
_dataList []*GameHeroConvertdataData
}
func NewGameHeroConvertdata(_buf []map[string]interface{}) (*GameHeroConvertdata, error) {
_dataList := make([]*GameHeroConvertdataData, 0, len(_buf))
dataMap := make(map[int32]*GameHeroConvertdataData)
for _, _ele_ := range _buf {
if _v, err2 := DeserializeGameHeroConvertdataData(_ele_); err2 != nil {
return nil, err2
} else {
_dataList = append(_dataList, _v)
dataMap[_v.Race] = _v
}
}
return &GameHeroConvertdata{_dataList:_dataList, _dataMap:dataMap}, nil
}
func (table *GameHeroConvertdata) GetDataMap() map[int32]*GameHeroConvertdataData {
return table._dataMap
}
func (table *GameHeroConvertdata) GetDataList() []*GameHeroConvertdataData {
return table._dataList
}
func (table *GameHeroConvertdata) Get(key int32) *GameHeroConvertdataData {
return table._dataMap[key]
}

View File

@ -0,0 +1,37 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
package cfg
import "errors"
type GameHeroConvertdataData struct {
Race int32
Id string
}
const TypeId_GameHeroConvertdataData = -1689768495
func (*GameHeroConvertdataData) GetTypeId() int32 {
return -1689768495
}
func (_v *GameHeroConvertdataData)Deserialize(_buf map[string]interface{}) (err error) {
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["race"].(float64); !_ok_ { err = errors.New("race error"); return }; _v.Race = int32(_tempNum_) }
{ var _ok_ bool; if _v.Id, _ok_ = _buf["id"].(string); !_ok_ { err = errors.New("id error"); return } }
return
}
func DeserializeGameHeroConvertdataData(_buf map[string]interface{}) (*GameHeroConvertdataData, error) {
v := &GameHeroConvertdataData{}
if err := v.Deserialize(_buf); err == nil {
return v, nil
} else {
return nil, err
}
}

View File

@ -100,6 +100,7 @@ type Tables struct {
Ip *GameIp
GameColor *GameGameColor
NameLibrary *GameNameLibrary
HeroConvertdata *GameHeroConvertdata
}
func NewTables(loader JsonLoader) (*Tables, error) {
@ -641,5 +642,11 @@ func NewTables(loader JsonLoader) (*Tables, error) {
if tables.NameLibrary, err = NewGameNameLibrary(buf) ; err != nil {
return nil, err
}
if buf, err = loader("game_heroconvertdata") ; err != nil {
return nil, err
}
if tables.HeroConvertdata, err = NewGameHeroConvertdata(buf) ; err != nil {
return nil, err
}
return tables, nil
}

View File

@ -60,6 +60,9 @@ type GameGlobalData struct {
BasePool2 *Gamebasepool
BasePool3 *Gamebasepool
BasePool4 *Gamebasepool
BasePool5 *Gamebasepool
BasePool6 *Gamebasepool
BasePool7 *Gamebasepool
BasePoolStar3 int32
BasePoolStar4 int32
BasePoolStar5 int32
@ -191,6 +194,9 @@ func (_v *GameGlobalData)Deserialize(_buf map[string]interface{}) (err error) {
{ var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _buf["base_pool2"].(map[string]interface{}); !_ok_ { err = errors.New("base_pool2 error"); return }; if _v.BasePool2, err = DeserializeGamebasepool(_x_); err != nil { return } }
{ var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _buf["base_pool3"].(map[string]interface{}); !_ok_ { err = errors.New("base_pool3 error"); return }; if _v.BasePool3, err = DeserializeGamebasepool(_x_); err != nil { return } }
{ var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _buf["base_pool4"].(map[string]interface{}); !_ok_ { err = errors.New("base_pool4 error"); return }; if _v.BasePool4, err = DeserializeGamebasepool(_x_); err != nil { return } }
{ var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _buf["base_pool5"].(map[string]interface{}); !_ok_ { err = errors.New("base_pool5 error"); return }; if _v.BasePool5, err = DeserializeGamebasepool(_x_); err != nil { return } }
{ var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _buf["base_pool6"].(map[string]interface{}); !_ok_ { err = errors.New("base_pool6 error"); return }; if _v.BasePool6, err = DeserializeGamebasepool(_x_); err != nil { return } }
{ var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _buf["base_pool7"].(map[string]interface{}); !_ok_ { err = errors.New("base_pool7 error"); return }; if _v.BasePool7, err = DeserializeGamebasepool(_x_); err != nil { return } }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["base_pool_star3"].(float64); !_ok_ { err = errors.New("base_pool_star3 error"); return }; _v.BasePoolStar3 = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["base_pool_star4"].(float64); !_ok_ { err = errors.New("base_pool_star4 error"); return }; _v.BasePoolStar4 = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["base_pool_star5"].(float64); !_ok_ { err = errors.New("base_pool_star5 error"); return }; _v.BasePoolStar5 = int32(_tempNum_) }