Merge branch 'dev' of http://git.legu.cc/liwei_3d/go_dreamfactory into dev
This commit is contained in:
commit
b334c855fa
@ -21197,7 +21197,7 @@
|
||||
"type_sp": 1,
|
||||
"tasktxt": {
|
||||
"key": "buried_buried_condi_tasktxt_747",
|
||||
"text": "功夫大师挑战塔3层"
|
||||
"text": "高能武者挑战塔3层"
|
||||
},
|
||||
"type": 168,
|
||||
"valid": 0,
|
||||
@ -21663,7 +21663,7 @@
|
||||
"type_sp": 1,
|
||||
"tasktxt": {
|
||||
"key": "buried_buried_condi_tasktxt_763",
|
||||
"text": "功夫大师挑战塔5层"
|
||||
"text": "高能武者挑战塔5层"
|
||||
},
|
||||
"type": 168,
|
||||
"valid": 0,
|
||||
@ -22128,7 +22128,7 @@
|
||||
"type_sp": 1,
|
||||
"tasktxt": {
|
||||
"key": "buried_buried_condi_tasktxt_779",
|
||||
"text": "功夫大师挑战塔5层"
|
||||
"text": "高能武者挑战塔5层"
|
||||
},
|
||||
"type": 168,
|
||||
"valid": 0,
|
||||
@ -22532,7 +22532,7 @@
|
||||
"type_sp": 1,
|
||||
"tasktxt": {
|
||||
"key": "buried_buried_condi_tasktxt_793",
|
||||
"text": "功夫大师挑战塔10层"
|
||||
"text": "高能武者挑战塔10层"
|
||||
},
|
||||
"type": 168,
|
||||
"valid": 0,
|
||||
@ -23019,7 +23019,7 @@
|
||||
"type_sp": 1,
|
||||
"tasktxt": {
|
||||
"key": "buried_buried_condi_tasktxt_810",
|
||||
"text": "功夫大师挑战塔20层"
|
||||
"text": "高能武者挑战塔20层"
|
||||
},
|
||||
"type": 168,
|
||||
"valid": 0,
|
||||
@ -23204,7 +23204,7 @@
|
||||
"NPC": 10904,
|
||||
"value": 1,
|
||||
"filter": [
|
||||
1200103
|
||||
1101203
|
||||
],
|
||||
"filter2": [
|
||||
"关卡ID",
|
||||
|
@ -2,8 +2,8 @@
|
||||
{
|
||||
"lv": 0,
|
||||
"newmoneyexp": 0,
|
||||
"bagtop": 20,
|
||||
"bagtagnum": 5,
|
||||
"bagtop": 50,
|
||||
"bagtagnum": 10,
|
||||
"tickettop": {
|
||||
"a": "item",
|
||||
"t": "21000001",
|
||||
@ -21,8 +21,8 @@
|
||||
{
|
||||
"lv": 1,
|
||||
"newmoneyexp": 100000,
|
||||
"bagtop": 24,
|
||||
"bagtagnum": 10,
|
||||
"bagtop": 60,
|
||||
"bagtagnum": 12,
|
||||
"tickettop": {
|
||||
"a": "item",
|
||||
"t": "21000001",
|
||||
@ -46,8 +46,8 @@
|
||||
{
|
||||
"lv": 2,
|
||||
"newmoneyexp": 200000,
|
||||
"bagtop": 28,
|
||||
"bagtagnum": 15,
|
||||
"bagtop": 70,
|
||||
"bagtagnum": 14,
|
||||
"tickettop": {
|
||||
"a": "item",
|
||||
"t": "21000001",
|
||||
@ -71,8 +71,8 @@
|
||||
{
|
||||
"lv": 3,
|
||||
"newmoneyexp": 300000,
|
||||
"bagtop": 32,
|
||||
"bagtagnum": 20,
|
||||
"bagtop": 80,
|
||||
"bagtagnum": 16,
|
||||
"tickettop": {
|
||||
"a": "item",
|
||||
"t": "21000001",
|
||||
@ -96,8 +96,8 @@
|
||||
{
|
||||
"lv": 4,
|
||||
"newmoneyexp": 400000,
|
||||
"bagtop": 36,
|
||||
"bagtagnum": 22,
|
||||
"bagtop": 90,
|
||||
"bagtagnum": 18,
|
||||
"tickettop": {
|
||||
"a": "item",
|
||||
"t": "21000001",
|
||||
@ -121,8 +121,8 @@
|
||||
{
|
||||
"lv": 5,
|
||||
"newmoneyexp": 500000,
|
||||
"bagtop": 40,
|
||||
"bagtagnum": 24,
|
||||
"bagtop": 100,
|
||||
"bagtagnum": 20,
|
||||
"tickettop": {
|
||||
"a": "item",
|
||||
"t": "21000001",
|
||||
@ -146,8 +146,8 @@
|
||||
{
|
||||
"lv": 6,
|
||||
"newmoneyexp": 600000,
|
||||
"bagtop": 44,
|
||||
"bagtagnum": 25,
|
||||
"bagtop": 110,
|
||||
"bagtagnum": 22,
|
||||
"tickettop": {
|
||||
"a": "item",
|
||||
"t": "21000001",
|
||||
@ -171,8 +171,8 @@
|
||||
{
|
||||
"lv": 7,
|
||||
"newmoneyexp": 700000,
|
||||
"bagtop": 48,
|
||||
"bagtagnum": 27,
|
||||
"bagtop": 120,
|
||||
"bagtagnum": 24,
|
||||
"tickettop": {
|
||||
"a": "item",
|
||||
"t": "21000001",
|
||||
@ -196,8 +196,8 @@
|
||||
{
|
||||
"lv": 8,
|
||||
"newmoneyexp": 800000,
|
||||
"bagtop": 52,
|
||||
"bagtagnum": 29,
|
||||
"bagtop": 130,
|
||||
"bagtagnum": 26,
|
||||
"tickettop": {
|
||||
"a": "item",
|
||||
"t": "21000001",
|
||||
@ -221,8 +221,8 @@
|
||||
{
|
||||
"lv": 9,
|
||||
"newmoneyexp": 900000,
|
||||
"bagtop": 56,
|
||||
"bagtagnum": 30,
|
||||
"bagtop": 140,
|
||||
"bagtagnum": 28,
|
||||
"tickettop": {
|
||||
"a": "item",
|
||||
"t": "21000001",
|
||||
@ -246,8 +246,8 @@
|
||||
{
|
||||
"lv": 10,
|
||||
"newmoneyexp": 1000000,
|
||||
"bagtop": 60,
|
||||
"bagtagnum": 31,
|
||||
"bagtop": 150,
|
||||
"bagtagnum": 30,
|
||||
"tickettop": {
|
||||
"a": "item",
|
||||
"t": "21000001",
|
||||
@ -271,8 +271,8 @@
|
||||
{
|
||||
"lv": 11,
|
||||
"newmoneyexp": 1100000,
|
||||
"bagtop": 64,
|
||||
"bagtagnum": 31,
|
||||
"bagtop": 160,
|
||||
"bagtagnum": 30,
|
||||
"tickettop": {
|
||||
"a": "item",
|
||||
"t": "21000001",
|
||||
@ -296,8 +296,8 @@
|
||||
{
|
||||
"lv": 12,
|
||||
"newmoneyexp": 1200000,
|
||||
"bagtop": 68,
|
||||
"bagtagnum": 32,
|
||||
"bagtop": 200,
|
||||
"bagtagnum": 35,
|
||||
"tickettop": {
|
||||
"a": "item",
|
||||
"t": "21000001",
|
||||
|
@ -26,7 +26,8 @@
|
||||
"FluctuationRange": 500,
|
||||
"pricemin": 200,
|
||||
"pricemax": 3000,
|
||||
"goodsnum": 80
|
||||
"goodsnum": 80,
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"itemid": "21000003",
|
||||
@ -55,7 +56,8 @@
|
||||
"FluctuationRange": 500,
|
||||
"pricemin": 200,
|
||||
"pricemax": 3000,
|
||||
"goodsnum": 80
|
||||
"goodsnum": 80,
|
||||
"weight": 2
|
||||
},
|
||||
{
|
||||
"itemid": "21000004",
|
||||
@ -84,7 +86,8 @@
|
||||
"FluctuationRange": 500,
|
||||
"pricemin": 200,
|
||||
"pricemax": 3000,
|
||||
"goodsnum": 80
|
||||
"goodsnum": 80,
|
||||
"weight": 3
|
||||
},
|
||||
{
|
||||
"itemid": "21000005",
|
||||
@ -113,7 +116,8 @@
|
||||
"FluctuationRange": 500,
|
||||
"pricemin": 200,
|
||||
"pricemax": 3000,
|
||||
"goodsnum": 80
|
||||
"goodsnum": 80,
|
||||
"weight": 4
|
||||
},
|
||||
{
|
||||
"itemid": "21000006",
|
||||
@ -142,7 +146,8 @@
|
||||
"FluctuationRange": 500,
|
||||
"pricemin": 200,
|
||||
"pricemax": 3000,
|
||||
"goodsnum": 80
|
||||
"goodsnum": 80,
|
||||
"weight": 5
|
||||
},
|
||||
{
|
||||
"itemid": "21000007",
|
||||
@ -171,7 +176,8 @@
|
||||
"FluctuationRange": 500,
|
||||
"pricemin": 200,
|
||||
"pricemax": 3000,
|
||||
"goodsnum": 80
|
||||
"goodsnum": 80,
|
||||
"weight": 6
|
||||
},
|
||||
{
|
||||
"itemid": "21000008",
|
||||
@ -200,7 +206,8 @@
|
||||
"FluctuationRange": 500,
|
||||
"pricemin": 200,
|
||||
"pricemax": 3000,
|
||||
"goodsnum": 80
|
||||
"goodsnum": 80,
|
||||
"weight": 7
|
||||
},
|
||||
{
|
||||
"itemid": "21000009",
|
||||
@ -229,7 +236,8 @@
|
||||
"FluctuationRange": 500,
|
||||
"pricemin": 200,
|
||||
"pricemax": 3000,
|
||||
"goodsnum": 80
|
||||
"goodsnum": 80,
|
||||
"weight": 8
|
||||
},
|
||||
{
|
||||
"itemid": "21000010",
|
||||
@ -258,7 +266,8 @@
|
||||
"FluctuationRange": 500,
|
||||
"pricemin": 200,
|
||||
"pricemax": 3000,
|
||||
"goodsnum": 80
|
||||
"goodsnum": 80,
|
||||
"weight": 9
|
||||
},
|
||||
{
|
||||
"itemid": "21000011",
|
||||
@ -287,7 +296,8 @@
|
||||
"FluctuationRange": 500,
|
||||
"pricemin": 200,
|
||||
"pricemax": 3000,
|
||||
"goodsnum": 80
|
||||
"goodsnum": 80,
|
||||
"weight": 10
|
||||
},
|
||||
{
|
||||
"itemid": "21000012",
|
||||
@ -316,7 +326,8 @@
|
||||
"FluctuationRange": 500,
|
||||
"pricemin": 200,
|
||||
"pricemax": 3000,
|
||||
"goodsnum": 80
|
||||
"goodsnum": 80,
|
||||
"weight": 11
|
||||
},
|
||||
{
|
||||
"itemid": "21000013",
|
||||
@ -345,7 +356,8 @@
|
||||
"FluctuationRange": 500,
|
||||
"pricemin": 200,
|
||||
"pricemax": 3000,
|
||||
"goodsnum": 80
|
||||
"goodsnum": 80,
|
||||
"weight": 12
|
||||
},
|
||||
{
|
||||
"itemid": "21000014",
|
||||
@ -374,7 +386,8 @@
|
||||
"FluctuationRange": 500,
|
||||
"pricemin": 200,
|
||||
"pricemax": 3000,
|
||||
"goodsnum": 80
|
||||
"goodsnum": 80,
|
||||
"weight": 13
|
||||
},
|
||||
{
|
||||
"itemid": "21000015",
|
||||
@ -403,7 +416,8 @@
|
||||
"FluctuationRange": 500,
|
||||
"pricemin": 200,
|
||||
"pricemax": 3000,
|
||||
"goodsnum": 80
|
||||
"goodsnum": 80,
|
||||
"weight": 14
|
||||
},
|
||||
{
|
||||
"itemid": "21000016",
|
||||
@ -432,7 +446,8 @@
|
||||
"FluctuationRange": 500,
|
||||
"pricemin": 200,
|
||||
"pricemax": 3000,
|
||||
"goodsnum": 80
|
||||
"goodsnum": 80,
|
||||
"weight": 15
|
||||
},
|
||||
{
|
||||
"itemid": "21000017",
|
||||
@ -461,7 +476,8 @@
|
||||
"FluctuationRange": 500,
|
||||
"pricemin": 200,
|
||||
"pricemax": 3000,
|
||||
"goodsnum": 80
|
||||
"goodsnum": 80,
|
||||
"weight": 16
|
||||
},
|
||||
{
|
||||
"itemid": "21000018",
|
||||
@ -490,7 +506,8 @@
|
||||
"FluctuationRange": 500,
|
||||
"pricemin": 200,
|
||||
"pricemax": 3000,
|
||||
"goodsnum": 80
|
||||
"goodsnum": 80,
|
||||
"weight": 17
|
||||
},
|
||||
{
|
||||
"itemid": "21000019",
|
||||
@ -519,7 +536,8 @@
|
||||
"FluctuationRange": 500,
|
||||
"pricemin": 200,
|
||||
"pricemax": 3000,
|
||||
"goodsnum": 80
|
||||
"goodsnum": 80,
|
||||
"weight": 18
|
||||
},
|
||||
{
|
||||
"itemid": "21000020",
|
||||
@ -548,7 +566,8 @@
|
||||
"FluctuationRange": 500,
|
||||
"pricemin": 200,
|
||||
"pricemax": 3000,
|
||||
"goodsnum": 80
|
||||
"goodsnum": 80,
|
||||
"weight": 19
|
||||
},
|
||||
{
|
||||
"itemid": "21000021",
|
||||
@ -577,6 +596,7 @@
|
||||
"FluctuationRange": 500,
|
||||
"pricemin": 200,
|
||||
"pricemax": 3000,
|
||||
"goodsnum": 80
|
||||
"goodsnum": 80,
|
||||
"weight": 20
|
||||
}
|
||||
]
|
@ -4,83 +4,143 @@
|
||||
"openlv": 20,
|
||||
"cd": 24,
|
||||
"sift": 3,
|
||||
"text": "passon_unlock_text_1"
|
||||
"text": "passon_unlock_text_1",
|
||||
"remake": {
|
||||
"a": "attr",
|
||||
"t": "diamond",
|
||||
"n": 200
|
||||
}
|
||||
},
|
||||
{
|
||||
"exework": 2,
|
||||
"openlv": 22,
|
||||
"cd": 24,
|
||||
"sift": 3,
|
||||
"text": "passon_unlock_text_2"
|
||||
"text": "passon_unlock_text_2",
|
||||
"remake": {
|
||||
"a": "attr",
|
||||
"t": "diamond",
|
||||
"n": 200
|
||||
}
|
||||
},
|
||||
{
|
||||
"exework": 3,
|
||||
"openlv": 24,
|
||||
"cd": 24,
|
||||
"sift": 3,
|
||||
"text": "passon_unlock_text_3"
|
||||
"text": "passon_unlock_text_3",
|
||||
"remake": {
|
||||
"a": "attr",
|
||||
"t": "diamond",
|
||||
"n": 200
|
||||
}
|
||||
},
|
||||
{
|
||||
"exework": 4,
|
||||
"openlv": 26,
|
||||
"cd": 24,
|
||||
"sift": 4,
|
||||
"text": "passon_unlock_text_4"
|
||||
"text": "passon_unlock_text_4",
|
||||
"remake": {
|
||||
"a": "attr",
|
||||
"t": "diamond",
|
||||
"n": 200
|
||||
}
|
||||
},
|
||||
{
|
||||
"exework": 5,
|
||||
"openlv": 28,
|
||||
"cd": 24,
|
||||
"sift": 4,
|
||||
"text": "passon_unlock_text_5"
|
||||
"text": "passon_unlock_text_5",
|
||||
"remake": {
|
||||
"a": "attr",
|
||||
"t": "diamond",
|
||||
"n": 200
|
||||
}
|
||||
},
|
||||
{
|
||||
"exework": 6,
|
||||
"openlv": 30,
|
||||
"cd": 24,
|
||||
"sift": 5,
|
||||
"text": "passon_unlock_text_6"
|
||||
"text": "passon_unlock_text_6",
|
||||
"remake": {
|
||||
"a": "attr",
|
||||
"t": "diamond",
|
||||
"n": 200
|
||||
}
|
||||
},
|
||||
{
|
||||
"exework": 7,
|
||||
"openlv": 32,
|
||||
"cd": 24,
|
||||
"sift": 3,
|
||||
"text": "passon_unlock_text_7"
|
||||
"text": "passon_unlock_text_7",
|
||||
"remake": {
|
||||
"a": "attr",
|
||||
"t": "diamond",
|
||||
"n": 200
|
||||
}
|
||||
},
|
||||
{
|
||||
"exework": 8,
|
||||
"openlv": 34,
|
||||
"cd": 24,
|
||||
"sift": 4,
|
||||
"text": "passon_unlock_text_8"
|
||||
"text": "passon_unlock_text_8",
|
||||
"remake": {
|
||||
"a": "attr",
|
||||
"t": "diamond",
|
||||
"n": 200
|
||||
}
|
||||
},
|
||||
{
|
||||
"exework": 9,
|
||||
"openlv": 36,
|
||||
"cd": 24,
|
||||
"sift": 5,
|
||||
"text": "passon_unlock_text_9"
|
||||
"text": "passon_unlock_text_9",
|
||||
"remake": {
|
||||
"a": "attr",
|
||||
"t": "diamond",
|
||||
"n": 200
|
||||
}
|
||||
},
|
||||
{
|
||||
"exework": 10,
|
||||
"openlv": 38,
|
||||
"cd": 24,
|
||||
"sift": 3,
|
||||
"text": "passon_unlock_text_10"
|
||||
"text": "passon_unlock_text_10",
|
||||
"remake": {
|
||||
"a": "attr",
|
||||
"t": "diamond",
|
||||
"n": 200
|
||||
}
|
||||
},
|
||||
{
|
||||
"exework": 11,
|
||||
"openlv": 40,
|
||||
"cd": 24,
|
||||
"sift": 4,
|
||||
"text": "passon_unlock_text_11"
|
||||
"text": "passon_unlock_text_11",
|
||||
"remake": {
|
||||
"a": "attr",
|
||||
"t": "diamond",
|
||||
"n": 200
|
||||
}
|
||||
},
|
||||
{
|
||||
"exework": 12,
|
||||
"openlv": 42,
|
||||
"cd": 24,
|
||||
"sift": 5,
|
||||
"text": "passon_unlock_text_12"
|
||||
"text": "passon_unlock_text_12",
|
||||
"remake": {
|
||||
"a": "attr",
|
||||
"t": "diamond",
|
||||
"n": 200
|
||||
}
|
||||
}
|
||||
]
|
@ -393,7 +393,7 @@
|
||||
"ExecuteCnt": 1,
|
||||
"Type": 3,
|
||||
"Argu": [
|
||||
390001207,
|
||||
390001452,
|
||||
1000,
|
||||
1,
|
||||
2
|
||||
@ -410,6 +410,30 @@
|
||||
{
|
||||
"Id": 225004312,
|
||||
"EmitPR": 1000,
|
||||
"From": 3,
|
||||
"Where": [],
|
||||
"Order": "",
|
||||
"Limit": 1,
|
||||
"ExecuteCnt": 1,
|
||||
"Type": 3,
|
||||
"Argu": [
|
||||
390001207,
|
||||
1000,
|
||||
1,
|
||||
2
|
||||
],
|
||||
"FollowSK": [],
|
||||
"SucFollowSK": [],
|
||||
"FailFollowSK": [],
|
||||
"MustHit": false,
|
||||
"DpsRevisiType": 0,
|
||||
"DpsCondition": "",
|
||||
"RevisiCondition": "",
|
||||
"RevisiParams": []
|
||||
},
|
||||
{
|
||||
"Id": 225004313,
|
||||
"EmitPR": 1000,
|
||||
"From": 1,
|
||||
"Where": [],
|
||||
"Order": "",
|
||||
@ -432,7 +456,7 @@
|
||||
"RevisiParams": []
|
||||
},
|
||||
{
|
||||
"Id": 225004313,
|
||||
"Id": 225004314,
|
||||
"EmitPR": 1000,
|
||||
"From": 3,
|
||||
"Where": [],
|
||||
@ -455,7 +479,7 @@
|
||||
"RevisiParams": []
|
||||
},
|
||||
{
|
||||
"Id": 225004314,
|
||||
"Id": 225004315,
|
||||
"EmitPR": 1000,
|
||||
"From": 1,
|
||||
"Where": [],
|
||||
@ -478,7 +502,7 @@
|
||||
"RevisiParams": []
|
||||
},
|
||||
{
|
||||
"Id": 225004315,
|
||||
"Id": 225004316,
|
||||
"EmitPR": 1000,
|
||||
"From": 1,
|
||||
"Where": [],
|
||||
|
@ -332,6 +332,9 @@
|
||||
"Target": 0,
|
||||
"ChildSkill": {
|
||||
"Id": [
|
||||
225004311,
|
||||
225004312,
|
||||
225004313,
|
||||
225004314
|
||||
]
|
||||
},
|
||||
@ -363,6 +366,9 @@
|
||||
"Target": 0,
|
||||
"ChildSkill": {
|
||||
"Id": [
|
||||
225004311,
|
||||
225004312,
|
||||
225004313,
|
||||
225004314
|
||||
]
|
||||
},
|
||||
@ -394,6 +400,9 @@
|
||||
"Target": 0,
|
||||
"ChildSkill": {
|
||||
"Id": [
|
||||
225004311,
|
||||
225004312,
|
||||
225004313,
|
||||
225004314
|
||||
]
|
||||
},
|
||||
@ -425,6 +434,9 @@
|
||||
"Target": 0,
|
||||
"ChildSkill": {
|
||||
"Id": [
|
||||
225004311,
|
||||
225004312,
|
||||
225004313,
|
||||
225004314
|
||||
]
|
||||
},
|
||||
@ -456,6 +468,9 @@
|
||||
"Target": 0,
|
||||
"ChildSkill": {
|
||||
"Id": [
|
||||
225004311,
|
||||
225004312,
|
||||
225004313,
|
||||
225004314
|
||||
]
|
||||
},
|
||||
@ -9701,7 +9716,7 @@
|
||||
},
|
||||
"Desc": {
|
||||
"key": "skill_skill_atk_Desc_135005311_1",
|
||||
"text": "幸运·普雷斯科特为己方附加2回合[color=#37d8a9]免疫[/color]和[color=#37d8a9]防御提升[/color]状态,并对敌方目标造成攻击力4 00%的伤害,并附加2回合[color=#e5621b]攻击下降[/color]的状态。"
|
||||
"text": "幸运·普雷斯科特为己方附加2回合[color=#37d8a9]免疫[/color]和[color=#37d8a9]防御提升[/color]状态,并对敌方目标造成攻击力4 00%的伤害,并附加2回合[color=#e5621b]防御下降[/color]的状态。"
|
||||
},
|
||||
"buffid": [
|
||||
390001111,
|
||||
@ -21712,7 +21727,7 @@
|
||||
},
|
||||
"Desc": {
|
||||
"key": "skill_skill_atk_Desc_155002111_1",
|
||||
"text": "对敌方单体目标发起一次攻击,并造成1次伤害。"
|
||||
"text": "对敌方全体目标发起一次攻击。"
|
||||
},
|
||||
"buffid": [],
|
||||
"map": ""
|
||||
|
@ -1432,7 +1432,7 @@
|
||||
"OverlayTimes": 1,
|
||||
"SameID": false,
|
||||
"golbalbufficon": "",
|
||||
"buffIcon": "ty_icon_buff_xy",
|
||||
"buffIcon": "",
|
||||
"buffeffect": "",
|
||||
"buffpos": "根节点"
|
||||
},
|
||||
@ -1463,7 +1463,7 @@
|
||||
"OverlayTimes": 1,
|
||||
"SameID": false,
|
||||
"golbalbufficon": "",
|
||||
"buffIcon": "ty_icon_buff_xy",
|
||||
"buffIcon": "",
|
||||
"buffeffect": "",
|
||||
"buffpos": "根节点"
|
||||
},
|
||||
@ -4119,5 +4119,33 @@
|
||||
"buffIcon": "",
|
||||
"buffeffect": "",
|
||||
"buffpos": "根节点"
|
||||
},
|
||||
{
|
||||
"Id": 390001452,
|
||||
"Name": {
|
||||
"key": "skill_skill_buff_Name_390001452",
|
||||
"text": "[color=#37d8a9]喜悦[/color] "
|
||||
},
|
||||
"Desc": {
|
||||
"key": "skill_skill_buff_Desc_390001452",
|
||||
"text": "喜悦"
|
||||
},
|
||||
"BuffType": 0,
|
||||
"EffectArgu": [],
|
||||
"BufParNum": 1,
|
||||
"RelyCheckArgu": [],
|
||||
"CoexistCheckArgu": [],
|
||||
"Effect": [
|
||||
0
|
||||
],
|
||||
"AddEffect": false,
|
||||
"RemoveType": false,
|
||||
"NotOverlay": 0,
|
||||
"OverlayTimes": 1,
|
||||
"SameID": false,
|
||||
"golbalbufficon": "",
|
||||
"buffIcon": "ty_icon_buff_xy",
|
||||
"buffeffect": "",
|
||||
"buffpos": "根节点"
|
||||
}
|
||||
]
|
@ -50,8 +50,8 @@
|
||||
"MaxEmitTimes": 0,
|
||||
"MaxEmitTimesInRound": 1,
|
||||
"Callback": [
|
||||
225004314,
|
||||
225004315
|
||||
225004315,
|
||||
225004316
|
||||
]
|
||||
},
|
||||
{
|
||||
|
62
modules/passon/api_clearcd.go
Normal file
62
modules/passon/api_clearcd.go
Normal file
@ -0,0 +1,62 @@
|
||||
package passon
|
||||
|
||||
import (
|
||||
"go_dreamfactory/comm"
|
||||
"go_dreamfactory/lego/sys/mgo"
|
||||
"go_dreamfactory/pb"
|
||||
cfg "go_dreamfactory/sys/configure/structs"
|
||||
)
|
||||
|
||||
// 参数校验
|
||||
func (this *apiComp) ClearCDCheck(session comm.IUserSession, req *pb.PassonClearCDReq) (errdata *pb.ErrorData) {
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
// /获取自己的排行榜信息
|
||||
func (this *apiComp) ClearCD(session comm.IUserSession, req *pb.PassonClearCDReq) (errdata *pb.ErrorData) {
|
||||
var (
|
||||
info *pb.DBPasson
|
||||
conf *cfg.GamePassonData
|
||||
err error
|
||||
)
|
||||
|
||||
if errdata = this.ClearCDCheck(session, req); errdata != nil {
|
||||
return
|
||||
}
|
||||
if conf, err = this.module.configure.GetPassonConf(req.Index); err != nil {
|
||||
errdata = &pb.ErrorData{
|
||||
Code: pb.ErrorCode_ConfigNoFound,
|
||||
Title: pb.ErrorCode_ConfigNoFound.ToString(),
|
||||
Message: err.Error(),
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
if errdata = this.module.DispenseRes(session, []*cfg.Gameatn{conf.Remake}, true); errdata != nil {
|
||||
return
|
||||
}
|
||||
|
||||
if info, err = this.module.modelPasson.getUserPasson(session.GetUserId()); err != nil && err != mgo.MongodbNil {
|
||||
errdata = &pb.ErrorData{
|
||||
Code: pb.ErrorCode_DBError,
|
||||
Title: pb.ErrorCode_DBError.ToString(),
|
||||
Message: err.Error(),
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
info.Student[req.Index].Heroid = ""
|
||||
info.Student[req.Index].State = 0
|
||||
info.Student[req.Index].Cdtime = 0
|
||||
if err = this.module.modelPasson.updateUserPasson(session.GetUserId(), info); err != nil {
|
||||
errdata = &pb.ErrorData{
|
||||
Code: pb.ErrorCode_DBError,
|
||||
Title: pb.ErrorCode_DBError.ToString(),
|
||||
Message: err.Error(),
|
||||
}
|
||||
return
|
||||
}
|
||||
session.SendMsg(string(this.module.GetType()), "clearcd", &pb.PassonClearCDResp{Index: req.Index})
|
||||
return
|
||||
}
|
@ -4,6 +4,9 @@ import (
|
||||
"go_dreamfactory/comm"
|
||||
"go_dreamfactory/lego/sys/mgo"
|
||||
"go_dreamfactory/pb"
|
||||
"go_dreamfactory/sys/configure"
|
||||
cfg "go_dreamfactory/sys/configure/structs"
|
||||
"time"
|
||||
)
|
||||
|
||||
// 参数校验
|
||||
@ -15,8 +18,10 @@ func (this *apiComp) InfoCheck(session comm.IUserSession, req *pb.PassonInfoReq)
|
||||
// /获取自己的排行榜信息
|
||||
func (this *apiComp) Info(session comm.IUserSession, req *pb.PassonInfoReq) (errdata *pb.ErrorData) {
|
||||
var (
|
||||
info *pb.DBPasson
|
||||
err error
|
||||
info *pb.DBPasson
|
||||
conf *cfg.GamePassonData
|
||||
chanage bool
|
||||
err error
|
||||
)
|
||||
|
||||
if errdata = this.InfoCheck(session, req); errdata != nil {
|
||||
@ -32,6 +37,32 @@ func (this *apiComp) Info(session comm.IUserSession, req *pb.PassonInfoReq) (err
|
||||
return
|
||||
}
|
||||
|
||||
for i, v := range info.Student {
|
||||
if v.State == 2 {
|
||||
if conf, err = this.module.configure.GetPassonConf(int32(i + 1)); err != nil {
|
||||
errdata = &pb.ErrorData{
|
||||
Code: pb.ErrorCode_ConfigNoFound,
|
||||
Title: pb.ErrorCode_ConfigNoFound.ToString(),
|
||||
Message: err.Error(),
|
||||
}
|
||||
return
|
||||
}
|
||||
if int32(configure.Now().Sub(time.Unix(v.Cdtime, 0)).Hours()) >= conf.Cd {
|
||||
chanage = true
|
||||
v.State = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
if chanage {
|
||||
if err = this.module.modelPasson.updateUserPasson(session.GetUserId(), info); err != nil {
|
||||
errdata = &pb.ErrorData{
|
||||
Code: pb.ErrorCode_DBError,
|
||||
Title: pb.ErrorCode_DBError.ToString(),
|
||||
Message: err.Error(),
|
||||
}
|
||||
return
|
||||
}
|
||||
}
|
||||
session.SendMsg(string(this.module.GetType()), "info", &pb.PassonInfoResp{Info: info})
|
||||
return
|
||||
}
|
||||
|
@ -4,6 +4,9 @@ import (
|
||||
"fmt"
|
||||
"go_dreamfactory/comm"
|
||||
"go_dreamfactory/pb"
|
||||
"go_dreamfactory/sys/configure"
|
||||
cfg "go_dreamfactory/sys/configure/structs"
|
||||
"time"
|
||||
)
|
||||
|
||||
// 参数校验
|
||||
@ -24,6 +27,7 @@ func (this *apiComp) InRoom(session comm.IUserSession, req *pb.PassonInRoomReq)
|
||||
heros []*pb.DBHero
|
||||
hero *pb.DBHero
|
||||
passon *pb.DBPasson
|
||||
conf *cfg.GamePassonData
|
||||
err error
|
||||
)
|
||||
|
||||
@ -81,6 +85,30 @@ func (this *apiComp) InRoom(session comm.IUserSession, req *pb.PassonInRoomReq)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
if passon.Student[req.Index].State != 2 {
|
||||
if conf, err = this.module.configure.GetPassonConf(req.Index); err != nil {
|
||||
errdata = &pb.ErrorData{
|
||||
Code: pb.ErrorCode_ConfigNoFound,
|
||||
Title: pb.ErrorCode_ConfigNoFound.ToString(),
|
||||
Message: err.Error(),
|
||||
}
|
||||
return
|
||||
}
|
||||
if int32(configure.Now().Sub(time.Unix(passon.Student[req.Index].Cdtime, 0)).Hours()) >= conf.Cd {
|
||||
passon.Student[req.Index].State = 0
|
||||
}
|
||||
}
|
||||
|
||||
if passon.Student[req.Index].State != 0 {
|
||||
errdata = &pb.ErrorData{
|
||||
Code: pb.ErrorCode_PassonSeatStateErr,
|
||||
Title: pb.ErrorCode_PassonSeatStateErr.ToString(),
|
||||
Message: fmt.Sprintf("seat:%d state:%d", req.Index, passon.Student[req.Index].State),
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
hero.Ispasson = true
|
||||
if errdata = this.module.ModuleHero.PassonHero(session, map[string]bool{hero.Id: true}); errdata != nil {
|
||||
return
|
||||
|
@ -22,7 +22,6 @@ type Configure_Comp struct {
|
||||
func (this *Configure_Comp) Init(service core.IService, module core.IModule, comp core.IModuleComp, options core.IModuleOptions) (err error) {
|
||||
err = this.MCompConfigure.Init(service, module, comp, options)
|
||||
this.LoadConfigure(game_passon, cfg.NewGamePasson)
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
|
@ -408,6 +408,7 @@ const (
|
||||
//传功房
|
||||
ErrorCode_PassonHeroNumNotEnough ErrorCode = 4701 //英雄数量不足
|
||||
ErrorCode_PassonHeroUnavailable ErrorCode = 4702 //当前英雄不可用
|
||||
ErrorCode_PassonSeatStateErr ErrorCode = 4703 //传功塔状态错误
|
||||
)
|
||||
|
||||
// Enum value maps for ErrorCode.
|
||||
@ -758,6 +759,7 @@ var (
|
||||
4605: "OldtimesNoAllFinished",
|
||||
4701: "PassonHeroNumNotEnough",
|
||||
4702: "PassonHeroUnavailable",
|
||||
4703: "PassonSeatStateErr",
|
||||
}
|
||||
ErrorCode_value = map[string]int32{
|
||||
"Success": 0,
|
||||
@ -1105,6 +1107,7 @@ var (
|
||||
"OldtimesNoAllFinished": 4605,
|
||||
"PassonHeroNumNotEnough": 4701,
|
||||
"PassonHeroUnavailable": 4702,
|
||||
"PassonSeatStateErr": 4703,
|
||||
}
|
||||
)
|
||||
|
||||
@ -1139,7 +1142,7 @@ var File_errorcode_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_errorcode_proto_rawDesc = []byte{
|
||||
0x0a, 0x0f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x63, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
||||
0x6f, 0x2a, 0xc5, 0x3f, 0x0a, 0x09, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12,
|
||||
0x6f, 0x2a, 0xde, 0x3f, 0x0a, 0x09, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12,
|
||||
0x0b, 0x0a, 0x07, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10,
|
||||
0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x45, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e,
|
||||
0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x4e, 0x6f, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x65, 0x72, 0x76,
|
||||
@ -1647,8 +1650,10 @@ var file_errorcode_proto_rawDesc = []byte{
|
||||
0x12, 0x1b, 0x0a, 0x16, 0x50, 0x61, 0x73, 0x73, 0x6f, 0x6e, 0x48, 0x65, 0x72, 0x6f, 0x4e, 0x75,
|
||||
0x6d, 0x4e, 0x6f, 0x74, 0x45, 0x6e, 0x6f, 0x75, 0x67, 0x68, 0x10, 0xdd, 0x24, 0x12, 0x1a, 0x0a,
|
||||
0x15, 0x50, 0x61, 0x73, 0x73, 0x6f, 0x6e, 0x48, 0x65, 0x72, 0x6f, 0x55, 0x6e, 0x61, 0x76, 0x61,
|
||||
0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x10, 0xde, 0x24, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70,
|
||||
0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x10, 0xde, 0x24, 0x12, 0x17, 0x0a, 0x12, 0x50, 0x61, 0x73,
|
||||
0x73, 0x6f, 0x6e, 0x53, 0x65, 0x61, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x45, 0x72, 0x72, 0x10,
|
||||
0xdf, 0x24, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
|
||||
0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
|
@ -22,6 +22,7 @@ type GameCaravanThingData struct {
|
||||
Pricemin int32
|
||||
Pricemax int32
|
||||
Goodsnum int32
|
||||
Weight int32
|
||||
}
|
||||
|
||||
const TypeId_GameCaravanThingData = 638455774
|
||||
@ -107,6 +108,7 @@ func (_v *GameCaravanThingData)Deserialize(_buf map[string]interface{}) (err err
|
||||
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["pricemin"].(float64); !_ok_ { err = errors.New("pricemin error"); return }; _v.Pricemin = int32(_tempNum_) }
|
||||
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["pricemax"].(float64); !_ok_ { err = errors.New("pricemax error"); return }; _v.Pricemax = int32(_tempNum_) }
|
||||
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["goodsnum"].(float64); !_ok_ { err = errors.New("goodsnum error"); return }; _v.Goodsnum = int32(_tempNum_) }
|
||||
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["weight"].(float64); !_ok_ { err = errors.New("weight error"); return }; _v.Weight = int32(_tempNum_) }
|
||||
return
|
||||
}
|
||||
|
||||
|
@ -16,6 +16,7 @@ type GamePassonData struct {
|
||||
Cd int32
|
||||
Sift int32
|
||||
Text string
|
||||
Remake *Gameatn
|
||||
}
|
||||
|
||||
const TypeId_GamePassonData = -1897293578
|
||||
@ -30,6 +31,7 @@ func (_v *GamePassonData)Deserialize(_buf map[string]interface{}) (err error) {
|
||||
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["cd"].(float64); !_ok_ { err = errors.New("cd error"); return }; _v.Cd = int32(_tempNum_) }
|
||||
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["sift"].(float64); !_ok_ { err = errors.New("sift error"); return }; _v.Sift = int32(_tempNum_) }
|
||||
{ var _ok_ bool; if _v.Text, _ok_ = _buf["text"].(string); !_ok_ { err = errors.New("text error"); return } }
|
||||
{ var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _buf["remake"].(map[string]interface{}); !_ok_ { err = errors.New("remake error"); return }; if _v.Remake, err = DeserializeGameatn(_x_); err != nil { return } }
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user