This commit is contained in:
liwei1dao 2023-11-09 18:10:59 +08:00
commit fdaea60040
16 changed files with 1211 additions and 36 deletions

View File

@ -32924,5 +32924,30 @@
24004 24004
], ],
"filter2": [] "filter2": []
},
{
"id": 600000010,
"rtype": 1,
"ctype": 1,
"notify": [],
"type_sp": 1,
"tasktxt": {
"key": "buried_buried_condi_tasktxt_1134",
"text": "看看希卡普在哪?"
},
"type": 20001,
"valid": 0,
"head": {
"a": "attr",
"t": "gold",
"n": 1
},
"Npc_event_type": 0,
"NPC": 600011,
"value": 1,
"filter": [
7000020
],
"filter2": []
} }
] ]

View File

@ -48,23 +48,23 @@
"type": 3 "type": 3
}, },
{ {
"id": 30002, "id": 40001,
"type": 4
},
{
"id": 40002,
"type": 3 "type": 3
}, },
{ {
"id": 30003, "id": 40003,
"type": 3 "type": 3
}, },
{ {
"id": 30004, "id": 40004,
"type": 3 "type": 3
}, },
{ {
"id": 30005, "id": 40005,
"type": 3
},
{
"id": 30006,
"type": 3 "type": 3
} }
] ]

View File

@ -9533,5 +9533,35 @@
"datas": [], "datas": [],
"event": [], "event": [],
"goto": 0 "goto": 0
},
{
"id": 600010,
"heroid": 43006,
"Levelid": 0,
"datas": [
"SmithyScene",
"彩蛋礼物",
"139"
],
"event": [
2,
7000010
],
"goto": 0
},
{
"id": 600011,
"heroid": 35002,
"Levelid": 0,
"datas": [
"GameMain",
"功能入口-维京远征",
"901"
],
"event": [
2,
7000020
],
"goto": 0
} }
] ]

View File

@ -63004,5 +63004,523 @@
"DpsCondition": "", "DpsCondition": "",
"RevisiCondition": "", "RevisiCondition": "",
"RevisiParams": [] "RevisiParams": []
},
{
"Id": 245012111,
"EmitPR": 1000,
"From": 4,
"Where": [],
"Order": "",
"Limit": 1,
"ExecuteCnt": 1,
"Type": 1,
"Argu": [
1,
4,
2500
],
"FollowSK": [],
"SucFollowSK": [
245012112
],
"FailFollowSK": [],
"MustHit": false,
"DpsRevisiType": 0,
"DpsCondition": "",
"RevisiCondition": "",
"RevisiParams": []
},
{
"Id": 245012121,
"EmitPR": 1000,
"From": 4,
"Where": [],
"Order": "",
"Limit": 1,
"ExecuteCnt": 1,
"Type": 1,
"Argu": [
1,
4,
2600
],
"FollowSK": [],
"SucFollowSK": [
245012112
],
"FailFollowSK": [],
"MustHit": false,
"DpsRevisiType": 0,
"DpsCondition": "",
"RevisiCondition": "",
"RevisiParams": []
},
{
"Id": 245012131,
"EmitPR": 1000,
"From": 4,
"Where": [],
"Order": "",
"Limit": 1,
"ExecuteCnt": 1,
"Type": 1,
"Argu": [
1,
4,
2700
],
"FollowSK": [],
"SucFollowSK": [
245012112
],
"FailFollowSK": [],
"MustHit": false,
"DpsRevisiType": 0,
"DpsCondition": "",
"RevisiCondition": "",
"RevisiParams": []
},
{
"Id": 245012141,
"EmitPR": 1000,
"From": 4,
"Where": [],
"Order": "",
"Limit": 1,
"ExecuteCnt": 1,
"Type": 1,
"Argu": [
1,
4,
2800
],
"FollowSK": [],
"SucFollowSK": [
245012112
],
"FailFollowSK": [],
"MustHit": false,
"DpsRevisiType": 0,
"DpsCondition": "",
"RevisiCondition": "",
"RevisiParams": []
},
{
"Id": 245012151,
"EmitPR": 1000,
"From": 4,
"Where": [],
"Order": "",
"Limit": 1,
"ExecuteCnt": 1,
"Type": 1,
"Argu": [
1,
4,
2900
],
"FollowSK": [],
"SucFollowSK": [
245012112
],
"FailFollowSK": [],
"MustHit": false,
"DpsRevisiType": 0,
"DpsCondition": "",
"RevisiCondition": "",
"RevisiParams": []
},
{
"Id": 245012112,
"EmitPR": 1000,
"From": 4,
"Where": [],
"Order": "",
"Limit": 1,
"ExecuteCnt": 1,
"Type": 3,
"Argu": [
390001110,
500,
1,
1
],
"FollowSK": [],
"SucFollowSK": [],
"FailFollowSK": [],
"MustHit": false,
"DpsRevisiType": 0,
"DpsCondition": "",
"RevisiCondition": "",
"RevisiParams": []
},
{
"Id": 245012211,
"EmitPR": 1000,
"From": 2,
"Where": [],
"Order": "",
"Limit": 10,
"ExecuteCnt": 1,
"Type": 1,
"Argu": [
1,
4,
4300
],
"FollowSK": [],
"SucFollowSK": [
245012212
],
"FailFollowSK": [],
"MustHit": false,
"DpsRevisiType": 0,
"DpsCondition": "",
"RevisiCondition": "",
"RevisiParams": []
},
{
"Id": 245012221,
"EmitPR": 1000,
"From": 2,
"Where": [],
"Order": "",
"Limit": 10,
"ExecuteCnt": 1,
"Type": 1,
"Argu": [
1,
4,
4400
],
"FollowSK": [],
"SucFollowSK": [
245012212
],
"FailFollowSK": [],
"MustHit": false,
"DpsRevisiType": 0,
"DpsCondition": "",
"RevisiCondition": "",
"RevisiParams": []
},
{
"Id": 245012231,
"EmitPR": 1000,
"From": 2,
"Where": [],
"Order": "",
"Limit": 10,
"ExecuteCnt": 1,
"Type": 1,
"Argu": [
1,
4,
4500
],
"FollowSK": [],
"SucFollowSK": [
245012212
],
"FailFollowSK": [],
"MustHit": false,
"DpsRevisiType": 0,
"DpsCondition": "",
"RevisiCondition": "",
"RevisiParams": []
},
{
"Id": 245012241,
"EmitPR": 1000,
"From": 2,
"Where": [],
"Order": "",
"Limit": 10,
"ExecuteCnt": 1,
"Type": 1,
"Argu": [
1,
4,
4600
],
"FollowSK": [],
"SucFollowSK": [
245012212
],
"FailFollowSK": [],
"MustHit": false,
"DpsRevisiType": 0,
"DpsCondition": "",
"RevisiCondition": "",
"RevisiParams": []
},
{
"Id": 245012251,
"EmitPR": 1000,
"From": 2,
"Where": [],
"Order": "",
"Limit": 10,
"ExecuteCnt": 1,
"Type": 1,
"Argu": [
1,
4,
4700
],
"FollowSK": [],
"SucFollowSK": [
245012212
],
"FailFollowSK": [],
"MustHit": false,
"DpsRevisiType": 0,
"DpsCondition": "",
"RevisiCondition": "",
"RevisiParams": []
},
{
"Id": 245012212,
"EmitPR": 1000,
"From": 2,
"Where": [],
"Order": "",
"Limit": 10,
"ExecuteCnt": 1,
"Type": 3,
"Argu": [
390001105,
700,
1,
1
],
"FollowSK": [],
"SucFollowSK": [],
"FailFollowSK": [],
"MustHit": false,
"DpsRevisiType": 0,
"DpsCondition": "",
"RevisiCondition": "",
"RevisiParams": []
},
{
"Id": 245012311,
"EmitPR": 1000,
"From": 3,
"Where": [],
"Order": "",
"Limit": 1,
"ExecuteCnt": 1,
"Type": 2,
"Argu": [
445012311,
-1,
-1
],
"FollowSK": [],
"SucFollowSK": [],
"FailFollowSK": [],
"MustHit": false,
"DpsRevisiType": 0,
"DpsCondition": "",
"RevisiCondition": "",
"RevisiParams": []
},
{
"Id": 245012312,
"EmitPR": 1000,
"From": 3,
"Where": [],
"Order": "",
"Limit": 1,
"ExecuteCnt": 1,
"Type": 3,
"Argu": [
391000100,
1000,
3,
-1
],
"FollowSK": [],
"SucFollowSK": [],
"FailFollowSK": [],
"MustHit": false,
"DpsRevisiType": 0,
"DpsCondition": "",
"RevisiCondition": "",
"RevisiParams": []
},
{
"Id": 245012313,
"EmitPR": 1000,
"From": 3,
"Where": [],
"Order": "",
"Limit": 1,
"ExecuteCnt": 1,
"Type": 3,
"Argu": [
391000100,
1000,
3,
-1
],
"FollowSK": [],
"SucFollowSK": [],
"FailFollowSK": [],
"MustHit": false,
"DpsRevisiType": 0,
"DpsCondition": "",
"RevisiCondition": "",
"RevisiParams": []
},
{
"Id": 245012314,
"EmitPR": 1000,
"From": 2,
"Where": [],
"Order": "",
"Limit": 10,
"ExecuteCnt": 3,
"Type": 1,
"Argu": [
1,
4,
2400
],
"FollowSK": [],
"SucFollowSK": [
245012315
],
"FailFollowSK": [],
"MustHit": false,
"DpsRevisiType": 0,
"DpsCondition": "",
"RevisiCondition": "",
"RevisiParams": []
},
{
"Id": 245012324,
"EmitPR": 1000,
"From": 2,
"Where": [],
"Order": "",
"Limit": 10,
"ExecuteCnt": 3,
"Type": 1,
"Argu": [
1,
4,
2500
],
"FollowSK": [],
"SucFollowSK": [
245012315
],
"FailFollowSK": [],
"MustHit": false,
"DpsRevisiType": 0,
"DpsCondition": "",
"RevisiCondition": "",
"RevisiParams": []
},
{
"Id": 245012334,
"EmitPR": 1000,
"From": 2,
"Where": [],
"Order": "",
"Limit": 10,
"ExecuteCnt": 3,
"Type": 1,
"Argu": [
1,
4,
2600
],
"FollowSK": [],
"SucFollowSK": [
245012315
],
"FailFollowSK": [],
"MustHit": false,
"DpsRevisiType": 0,
"DpsCondition": "",
"RevisiCondition": "",
"RevisiParams": []
},
{
"Id": 245012344,
"EmitPR": 1000,
"From": 2,
"Where": [],
"Order": "",
"Limit": 10,
"ExecuteCnt": 3,
"Type": 1,
"Argu": [
1,
4,
2700
],
"FollowSK": [],
"SucFollowSK": [
245012315
],
"FailFollowSK": [],
"MustHit": false,
"DpsRevisiType": 0,
"DpsCondition": "",
"RevisiCondition": "",
"RevisiParams": []
},
{
"Id": 245012354,
"EmitPR": 1000,
"From": 2,
"Where": [],
"Order": "",
"Limit": 10,
"ExecuteCnt": 3,
"Type": 1,
"Argu": [
1,
4,
2800
],
"FollowSK": [],
"SucFollowSK": [
245012315
],
"FailFollowSK": [],
"MustHit": false,
"DpsRevisiType": 0,
"DpsCondition": "",
"RevisiCondition": "",
"RevisiParams": []
},
{
"Id": 245012315,
"EmitPR": 1000,
"From": 2,
"Where": [],
"Order": "",
"Limit": 10,
"ExecuteCnt": 1,
"Type": 3,
"Argu": [
390001101,
1000,
1,
1
],
"FollowSK": [],
"SucFollowSK": [],
"FailFollowSK": [],
"MustHit": false,
"DpsRevisiType": 0,
"DpsCondition": "",
"RevisiCondition": "",
"RevisiParams": []
} }
] ]

View File

@ -48321,5 +48321,475 @@
}, },
"buffid": [], "buffid": [],
"map": "" "map": ""
},
{
"id": 145012111,
"level": 1,
"MaxLV": 5,
"UnavailablePlayTypes": [],
"Name": {
"key": "skill_skill_atk_Name_145012111",
"text": ""
},
"ico": "jn_45012_1",
"CorrectPos": 0,
"IsMelee": 0,
"act": "Skill_1",
"Type": 1,
"CD": 0,
"Where": [],
"Target": 2,
"ChildSkill": {
"Id": [
245012111
]
},
"passSkill": [],
"Desc": {
"key": "skill_skill_atk_Desc_145012111_1",
"text": "对敌方一个目标造成自身攻击250%的伤害50%概率为目标附加1回合【挑衅】"
},
"buffid": [
390001110
],
"map": ""
},
{
"id": 145012111,
"level": 2,
"MaxLV": 5,
"UnavailablePlayTypes": [],
"Name": {
"key": "skill_skill_atk_Name_145012111",
"text": ""
},
"ico": "jn_45012_1",
"CorrectPos": 0,
"IsMelee": 0,
"act": "Skill_1",
"Type": 1,
"CD": 0,
"Where": [],
"Target": 2,
"ChildSkill": {
"Id": [
245012121
]
},
"passSkill": [],
"Desc": {
"key": "skill_skill_atk_Desc_145012111_2",
"text": "伤害提升至260%。"
},
"buffid": [],
"map": ""
},
{
"id": 145012111,
"level": 3,
"MaxLV": 5,
"UnavailablePlayTypes": [],
"Name": {
"key": "skill_skill_atk_Name_145012111",
"text": ""
},
"ico": "jn_45012_1",
"CorrectPos": 0,
"IsMelee": 0,
"act": "Skill_1",
"Type": 1,
"CD": 0,
"Where": [],
"Target": 2,
"ChildSkill": {
"Id": [
245012131
]
},
"passSkill": [],
"Desc": {
"key": "skill_skill_atk_Desc_145012111_3",
"text": "伤害提升至270%。"
},
"buffid": [],
"map": ""
},
{
"id": 145012111,
"level": 4,
"MaxLV": 5,
"UnavailablePlayTypes": [],
"Name": {
"key": "skill_skill_atk_Name_145012111",
"text": ""
},
"ico": "jn_45012_1",
"CorrectPos": 0,
"IsMelee": 0,
"act": "Skill_1",
"Type": 1,
"CD": 0,
"Where": [],
"Target": 2,
"ChildSkill": {
"Id": [
245012141
]
},
"passSkill": [],
"Desc": {
"key": "skill_skill_atk_Desc_145012111_4",
"text": "伤害提升至280%。"
},
"buffid": [],
"map": ""
},
{
"id": 145012111,
"level": 5,
"MaxLV": 5,
"UnavailablePlayTypes": [],
"Name": {
"key": "skill_skill_atk_Name_145012111",
"text": ""
},
"ico": "jn_45012_1",
"CorrectPos": 0,
"IsMelee": 0,
"act": "Skill_1",
"Type": 1,
"CD": 0,
"Where": [],
"Target": 2,
"ChildSkill": {
"Id": [
245012151
]
},
"passSkill": [],
"Desc": {
"key": "skill_skill_atk_Desc_145012111_5",
"text": "伤害提升至290%。"
},
"buffid": [],
"map": ""
},
{
"id": 145012211,
"level": 1,
"MaxLV": 5,
"UnavailablePlayTypes": [],
"Name": {
"key": "skill_skill_atk_Name_145012211",
"text": ""
},
"ico": "jn_45012_2",
"CorrectPos": 0,
"IsMelee": 0,
"act": "Skill_2",
"Type": 1,
"CD": 3,
"Where": [],
"Target": 2,
"ChildSkill": {
"Id": [
245012211
]
},
"passSkill": [],
"Desc": {
"key": "skill_skill_atk_Desc_145012211_1",
"text": "像敌方中心位置投掷一颗魔豆魔豆落地后野蛮生长击飞敌方全体目标。造成攻击力430%的伤害并有70%概率【眩晕】目标1回合"
},
"buffid": [],
"map": ""
},
{
"id": 145012211,
"level": 2,
"MaxLV": 5,
"UnavailablePlayTypes": [],
"Name": {
"key": "skill_skill_atk_Name_145012211",
"text": ""
},
"ico": "jn_45012_2",
"CorrectPos": 0,
"IsMelee": 0,
"act": "Skill_2",
"Type": 1,
"CD": 3,
"Where": [],
"Target": 2,
"ChildSkill": {
"Id": [
245012221
]
},
"passSkill": [],
"Desc": {
"key": "skill_skill_atk_Desc_145012211_2",
"text": "伤害提升至440%。"
},
"buffid": [],
"map": ""
},
{
"id": 145012211,
"level": 3,
"MaxLV": 5,
"UnavailablePlayTypes": [],
"Name": {
"key": "skill_skill_atk_Name_145012211",
"text": ""
},
"ico": "jn_45012_2",
"CorrectPos": 0,
"IsMelee": 0,
"act": "Skill_2",
"Type": 1,
"CD": 3,
"Where": [],
"Target": 2,
"ChildSkill": {
"Id": [
245012231
]
},
"passSkill": [],
"Desc": {
"key": "skill_skill_atk_Desc_145012211_3",
"text": "伤害提升至450%。"
},
"buffid": [],
"map": ""
},
{
"id": 145012211,
"level": 4,
"MaxLV": 5,
"UnavailablePlayTypes": [],
"Name": {
"key": "skill_skill_atk_Name_145012211",
"text": ""
},
"ico": "jn_45012_2",
"CorrectPos": 0,
"IsMelee": 0,
"act": "Skill_2",
"Type": 1,
"CD": 3,
"Where": [],
"Target": 2,
"ChildSkill": {
"Id": [
245012241
]
},
"passSkill": [],
"Desc": {
"key": "skill_skill_atk_Desc_145012211_4",
"text": "伤害提升至460%。"
},
"buffid": [],
"map": ""
},
{
"id": 145012211,
"level": 5,
"MaxLV": 5,
"UnavailablePlayTypes": [],
"Name": {
"key": "skill_skill_atk_Name_145012211",
"text": ""
},
"ico": "jn_45012_2",
"CorrectPos": 0,
"IsMelee": 0,
"act": "Skill_2",
"Type": 1,
"CD": 3,
"Where": [],
"Target": 2,
"ChildSkill": {
"Id": [
245012251
]
},
"passSkill": [],
"Desc": {
"key": "skill_skill_atk_Desc_145012211_5",
"text": "伤害提升至470%。"
},
"buffid": [],
"map": ""
},
{
"id": 145012311,
"level": 1,
"MaxLV": 5,
"UnavailablePlayTypes": [],
"Name": {
"key": "skill_skill_atk_Name_145012311",
"text": ""
},
"ico": "jn_45012_3",
"CorrectPos": 0,
"IsMelee": 0,
"act": "Skill_3",
"Type": 1,
"CD": 5,
"Where": [],
"Target": 2,
"ChildSkill": {
"Id": [
245012313,
245012314
]
},
"passSkill": [
245012311
],
"Desc": {
"key": "skill_skill_atk_Desc_145012311_1",
"text": "蛋先生主动释放技能进入【金蛋】状态。同时立即呼唤大白鹅攻击敌方全体目标3次每次造成攻击240%的伤害并100%概率附加1回合【恐惧】。【金蛋】金蛋内置嘲讽效果共3点血量每次受到攻击强制扣除1点血量血量为0或回合结束后金蛋破碎目标解除金蛋状态。根据金蛋剩余血量按对应百分比回复蛋先生血量。\n被动效果受到致命伤害后会进入1回合【金蛋】状态。同时立即呼唤大白鹅攻击敌方全体目标3次每次造成攻击240%的伤害并100%概率附加1回合【童年阴影】。每场战斗只可触发一次"
},
"buffid": [
390001101,
391000100
],
"map": ""
},
{
"id": 145012311,
"level": 2,
"MaxLV": 5,
"UnavailablePlayTypes": [],
"Name": {
"key": "skill_skill_atk_Name_145012311",
"text": ""
},
"ico": "jn_45012_3",
"CorrectPos": 0,
"IsMelee": 0,
"act": "Skill_3",
"Type": 1,
"CD": 5,
"Where": [],
"Target": 2,
"ChildSkill": {
"Id": [
245012313,
245012324
]
},
"passSkill": [
245012311
],
"Desc": {
"key": "skill_skill_atk_Desc_145012311_2",
"text": "伤害提升至250%。"
},
"buffid": [],
"map": ""
},
{
"id": 145012311,
"level": 3,
"MaxLV": 5,
"UnavailablePlayTypes": [],
"Name": {
"key": "skill_skill_atk_Name_145012311",
"text": ""
},
"ico": "jn_45012_3",
"CorrectPos": 0,
"IsMelee": 0,
"act": "Skill_3",
"Type": 1,
"CD": 5,
"Where": [],
"Target": 2,
"ChildSkill": {
"Id": [
245012313,
245012334
]
},
"passSkill": [
245012311
],
"Desc": {
"key": "skill_skill_atk_Desc_145012311_3",
"text": "伤害提升至260%。"
},
"buffid": [],
"map": ""
},
{
"id": 145012311,
"level": 4,
"MaxLV": 5,
"UnavailablePlayTypes": [],
"Name": {
"key": "skill_skill_atk_Name_145012311",
"text": ""
},
"ico": "jn_45012_3",
"CorrectPos": 0,
"IsMelee": 0,
"act": "Skill_3",
"Type": 1,
"CD": 5,
"Where": [],
"Target": 2,
"ChildSkill": {
"Id": [
245012313,
245012344
]
},
"passSkill": [
245012311
],
"Desc": {
"key": "skill_skill_atk_Desc_145012311_4",
"text": "伤害提升至270%。"
},
"buffid": [],
"map": ""
},
{
"id": 145012311,
"level": 5,
"MaxLV": 5,
"UnavailablePlayTypes": [],
"Name": {
"key": "skill_skill_atk_Name_145012311",
"text": ""
},
"ico": "jn_45012_3",
"CorrectPos": 0,
"IsMelee": 0,
"act": "Skill_3",
"Type": 1,
"CD": 5,
"Where": [],
"Target": 2,
"ChildSkill": {
"Id": [
245012313,
245012354
]
},
"passSkill": [
245012311
],
"Desc": {
"key": "skill_skill_atk_Desc_145012311_5",
"text": "伤害提升至280%。"
},
"buffid": [],
"map": ""
} }
] ]

View File

@ -11683,5 +11683,36 @@
"buffeffect": "", "buffeffect": "",
"buffpos": "根节点", "buffpos": "根节点",
"forbidFloat": 0 "forbidFloat": 0
},
{
"Id": 391000100,
"Name": {
"key": "skill_skill_buff_Name_391000100",
"text": "金蛋"
},
"Desc": {
"key": "skill_skill_buff_Desc_391000100",
"text": "金蛋内置嘲讽效果共3点血量每次受到攻击强制扣除1点血量血量为0或回合结束后金蛋破碎目标解除金蛋状态。根据金蛋剩余血量按对应百分比回复蛋先生血量。"
},
"BuffType": 0,
"EffectArgu": [],
"BufParNum": 1,
"RelyCheckArgu": [],
"CoexistCheckArgu": [],
"Effect": [
0,
3
],
"AddEffect": false,
"RemoveType": false,
"Priority": 0,
"NotOverlay": 0,
"OverlayTimes": 1,
"SameID": false,
"golbalbufficon": "",
"buffIcon": "ty_icon_buff_jd",
"buffeffect": "",
"buffpos": "",
"forbidFloat": 0
} }
] ]

View File

@ -9269,7 +9269,7 @@
"BuffCheck": "", "BuffCheck": "",
"DpsCheck": "", "DpsCheck": "",
"AddCon": [], "AddCon": [],
"PasPr": 10000, "PasPr": 1000,
"PasCorrection": 0, "PasCorrection": 0,
"Type": "CallSkillPas", "Type": "CallSkillPas",
"MaxEmitTimesInRoundByRole": 0, "MaxEmitTimesInRoundByRole": 0,
@ -9278,5 +9278,25 @@
"Callback": [ "Callback": [
223011314 223011314
] ]
},
{
"Id": 445012311,
"When": 15,
"FromCheck": "",
"TargetCheck": "Target=3",
"MainSkillCheck": "",
"AfterSkillCheck": "",
"BuffCheck": "",
"DpsCheck": "",
"AddCon": [],
"PasPr": 1000,
"PasCorrection": 0,
"Type": "CallSkillPas",
"MaxEmitTimesInRoundByRole": 0,
"MaxEmitTimes": 1,
"MaxEmitTimesInRound": 0,
"Callback": [
245012312
]
} }
] ]

View File

@ -11,7 +11,7 @@
"multiple": 1, "multiple": 1,
"width": 1, "width": 1,
"height": 1, "height": 1,
"hp": 100, "hp": 20,
"dis": 2, "dis": 2,
"atk": 1, "atk": 1,
"atk_speed": 2000, "atk_speed": 2000,
@ -30,7 +30,7 @@
"multiple": 1, "multiple": 1,
"width": 1, "width": 1,
"height": 1, "height": 1,
"hp": 500, "hp": 30,
"dis": 3, "dis": 3,
"atk": 3, "atk": 3,
"atk_speed": 5000, "atk_speed": 5000,
@ -49,7 +49,7 @@
"multiple": 1, "multiple": 1,
"width": 1, "width": 1,
"height": 1.5, "height": 1.5,
"hp": 70, "hp": 20,
"dis": 4, "dis": 4,
"atk": 1, "atk": 1,
"atk_speed": 1500, "atk_speed": 1500,
@ -68,7 +68,7 @@
"multiple": 1, "multiple": 1,
"width": 1, "width": 1,
"height": 1.5, "height": 1.5,
"hp": 100, "hp": 30,
"dis": 5, "dis": 5,
"atk": 1, "atk": 1,
"atk_speed": 2000, "atk_speed": 2000,
@ -87,7 +87,7 @@
"multiple": 1, "multiple": 1,
"width": 1, "width": 1,
"height": 2, "height": 2,
"hp": 200, "hp": 50,
"dis": 6, "dis": 6,
"atk": 1, "atk": 1,
"atk_speed": 2000, "atk_speed": 2000,
@ -106,7 +106,7 @@
"multiple": 1, "multiple": 1,
"width": 1, "width": 1,
"height": 2, "height": 2,
"hp": 300, "hp": 100,
"dis": 7, "dis": 7,
"atk": 1, "atk": 1,
"atk_speed": 2000, "atk_speed": 2000,
@ -125,7 +125,7 @@
"multiple": 1, "multiple": 1,
"width": 3, "width": 3,
"height": 3, "height": 3,
"hp": 3000, "hp": 100,
"dis": 8, "dis": 8,
"atk": 2, "atk": 2,
"atk_speed": 2000, "atk_speed": 2000,

View File

@ -12,7 +12,9 @@
"sak": 20, "sak": 20,
"atk_speed": 2000, "atk_speed": 2000,
"weapon_type": 1, "weapon_type": 1,
"bulletPrefab": "",
"fly_speed": 10, "fly_speed": 10,
"hitRange": 1,
"data": 0, "data": 0,
"pro": 1000 "pro": 1000
}, },
@ -29,7 +31,9 @@
"sak": 50, "sak": 50,
"atk_speed": 5000, "atk_speed": 5000,
"weapon_type": 2, "weapon_type": 2,
"bulletPrefab": "",
"fly_speed": 8, "fly_speed": 8,
"hitRange": 1,
"data": 50, "data": 50,
"pro": 1000 "pro": 1000
}, },
@ -46,7 +50,9 @@
"sak": 15, "sak": 15,
"atk_speed": 2000, "atk_speed": 2000,
"weapon_type": 3, "weapon_type": 3,
"bulletPrefab": "",
"fly_speed": 10, "fly_speed": 10,
"hitRange": 1,
"data": 3, "data": 3,
"pro": 1000 "pro": 1000
} }

View File

@ -6729,7 +6729,7 @@
"id_after": 0, "id_after": 0,
"group": 320, "group": 320,
"exgroup": 311, "exgroup": 311,
"des": 4, "des": 3,
"icon": "25001", "icon": "25001",
"task_name": { "task_name": {
"key": "worldtask_world_task_task_name_141", "key": "worldtask_world_task_task_name_141",
@ -9307,5 +9307,48 @@
} }
], ],
"module": [] "module": []
},
{
"key": 600010,
"opencond": "",
"lock": 1,
"lockend": 999,
"ontxe": 0,
"id_after": 0,
"group": 320,
"exgroup": 600,
"des": 3,
"icon": "25001",
"task_name": {
"key": "worldtask_world_task_task_name_189",
"text": "希卡普的礼物"
},
"task_details": {
"key": "worldtask_world_task_task_details_188",
"text": "铁匠铺发现一个非常奇怪的礼盒,戈伯让我交给希卡普,我们可以看看希卡普怎么说"
},
"npctxt": {
"key": "worldtask_world_task_npctxt_188",
"text": "铁匠铺逛逛"
},
"get_item": [],
"trigger": 0,
"npc": 600010,
"completetask": [
600000010
],
"deliver_npc": 0,
"taskend_removeitem": [],
"auto_accept": 0,
"tasktips": 1,
"lock_add": 0,
"reword": [
{
"a": "attr",
"t": "gold",
"n": 5000
}
],
"module": []
} }
] ]

View File

@ -78,11 +78,11 @@ func Test_Main(t *testing.T) {
s.OnInstallComp( //装备组件 s.OnInstallComp( //装备组件
services.NewGateRouteComp(), //此服务需要接受用户的消息 需要装备网关组件 services.NewGateRouteComp(), //此服务需要接受用户的消息 需要装备网关组件
) )
go func() { //go func() {
lego.Run(s, //运行模块 lego.Run(s, //运行模块
entertainment.NewModule(), entertainment.NewModule(),
) )
}() //}()
print(math.Pow(2, 238)) print(math.Pow(2, 238))
// sz := utils.RandomNumbers(0, 2, 2) // sz := utils.RandomNumbers(0, 2, 2)
@ -112,7 +112,7 @@ func Test_Main(t *testing.T) {
} }
var mids map[int]struct{} var mids map[int]struct{}
mids = make(map[int]struct{}, 0) mids = make(map[int]struct{}, 0)
// k := m.Skill3(24, 0) m.Skill3(35, 0)
for i := 0; i < 4; i++ { for i := 0; i < 4; i++ {
dd := m.Skill3(24, int32(i)) dd := m.Skill3(24, int32(i))

View File

@ -6,6 +6,8 @@ import (
"go_dreamfactory/lego/core" "go_dreamfactory/lego/core"
"go_dreamfactory/lego/sys/log" "go_dreamfactory/lego/sys/log"
"go_dreamfactory/pb" "go_dreamfactory/pb"
"go_dreamfactory/sys/db"
"go_dreamfactory/utils"
"time" "time"
"go.mongodb.org/mongo-driver/bson" "go.mongodb.org/mongo-driver/bson"
@ -36,15 +38,34 @@ func (this *modelUserLog) Init(service core.IService, module core.IModule, comp
return return
} }
// 用户操作明细数据记录
func (this *modelUserLog) AddUserLog(uid string, tag string, data interface{}) { func (this *modelUserLog) AddUserLog(uid string, tag string, data interface{}) {
var ( var (
jsonStr []byte dbModel *db.DBModel
err error err error
jsonStr []byte
) )
if jsonStr, err = json.Marshal(data); err != nil { if jsonStr, err = json.Marshal(data); err != nil {
log.Errorln(err) log.Errorln(err)
return return
} }
if db.IsCross() { //如果是跨服 直接找到对应的本服
if tag, _, b := utils.UIdSplit(uid); b {
if conn, err := db.ServerDBConn(tag); err == nil {
dbModel = db.NewDBModel(comm.TableEntertainm, conn)
if _, err = dbModel.DB.InsertOne(core.SqlTable(this.TableName), &pb.DBUserLog{
Id: primitive.NewObjectID().Hex(),
Uid: uid,
ExpireAt: time.Now().Add(time.Hour * 24 * 8).Unix(),
Tag: tag,
Data: string(jsonStr),
}); err != nil {
log.Errorln(err)
return
}
}
}
} else { // 本服 直接操作本服数据
if _, err = this.DBModel.DB.InsertOne(core.SqlTable(this.TableName), &pb.DBUserLog{ if _, err = this.DBModel.DB.InsertOne(core.SqlTable(this.TableName), &pb.DBUserLog{
Id: primitive.NewObjectID().Hex(), Id: primitive.NewObjectID().Hex(),
Uid: uid, Uid: uid,
@ -56,3 +77,4 @@ func (this *modelUserLog) AddUserLog(uid string, tag string, data interface{}) {
return return
} }
} }
}

View File

@ -769,6 +769,7 @@ func (this *ModuleBase) DispenseAtno(session comm.IUserSession, res []*cfg.Gamea
if atno, errdata = this.ModuleUser.AddAttributeValues(session, attrs, bPush); errdata != nil { if atno, errdata = this.ModuleUser.AddAttributeValues(session, attrs, bPush); errdata != nil {
return return
} }
// for k, v := range attrs { // for k, v := range attrs {
// atno = append(atno, &pb.UserAtno{ // atno = append(atno, &pb.UserAtno{
// A: comm.AttrType, // A: comm.AttrType,
@ -871,7 +872,7 @@ func (this *ModuleBase) DispenseAtno(session comm.IUserSession, res []*cfg.Gamea
N: v, N: v,
}) })
} }
this.Debugf("发放用户皮肤资源资源: %v errdata: %v", mts, errdata) this.Debugf("发放用户皮肤资源资源: %v errdata: %v", per, errdata)
} }
if len(title) > 0 { if len(title) > 0 {
if errdata = this.ModuleUser.AddTitle(session, title, bPush); errdata != nil { if errdata = this.ModuleUser.AddTitle(session, title, bPush); errdata != nil {
@ -884,7 +885,7 @@ func (this *ModuleBase) DispenseAtno(session comm.IUserSession, res []*cfg.Gamea
N: v, N: v,
}) })
} }
this.Debugf("发放用户称号资源资源: %v errdata: %v", mts, errdata) this.Debugf("发放用户称号资源资源: %v errdata: %v", title, errdata)
} }
if len(xxl) > 0 { if len(xxl) > 0 {
@ -898,8 +899,10 @@ func (this *ModuleBase) DispenseAtno(session comm.IUserSession, res []*cfg.Gamea
N: v, N: v,
}) })
} }
this.Debugf("发放三消卡片资源资源: %v errdata: %v", mts, errdata) this.Debugf("发放三消卡片资源资源: %v errdata: %v", xxl, errdata)
} }
this.WriteUserLog(session.GetUserId(), "userlog", res)
return return
} }

View File

@ -16,6 +16,8 @@ import (
"github.com/go-redis/redis/v8" "github.com/go-redis/redis/v8"
) )
var _ comm.IPagoda = (*Pagoda)(nil)
type Pagoda struct { type Pagoda struct {
modules.ModuleBase modules.ModuleBase
modelPagoda *ModelPagoda modelPagoda *ModelPagoda

View File

@ -109,6 +109,7 @@ func (this *apiComp) ChallengeOver(session comm.IUserSession, req *pb.VikingChal
mapData["bossTime"] = viking.BossTime // 更新时间 mapData["bossTime"] = viking.BossTime // 更新时间
this.module.CheckRank(session.GetUserId(), req.BossId, req.Difficulty, req.Report) this.module.CheckRank(session.GetUserId(), req.BossId, req.Difficulty, req.Report)
} }
if req.Auto == 1 { if req.Auto == 1 {
viking.Round = make(map[int32]int32) viking.Round = make(map[int32]int32)
viking.Round[req.Auto] = req.Report.Round viking.Round[req.Auto] = req.Report.Round

View File

@ -17,7 +17,9 @@ type GameTDWeaponData struct {
Sak int32 Sak int32
AtkSpeed int32 AtkSpeed int32
WeaponType int32 WeaponType int32
BulletPrefab string
FlySpeed float32 FlySpeed float32
HitRange float32
Data int32 Data int32
Pro int32 Pro int32
} }
@ -35,7 +37,9 @@ func (_v *GameTDWeaponData)Deserialize(_buf map[string]interface{}) (err error)
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["sak"].(float64); !_ok_ { err = errors.New("sak error"); return }; _v.Sak = int32(_tempNum_) } { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["sak"].(float64); !_ok_ { err = errors.New("sak error"); return }; _v.Sak = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["atk_speed"].(float64); !_ok_ { err = errors.New("atk_speed error"); return }; _v.AtkSpeed = int32(_tempNum_) } { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["atk_speed"].(float64); !_ok_ { err = errors.New("atk_speed error"); return }; _v.AtkSpeed = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["weapon_type"].(float64); !_ok_ { err = errors.New("weapon_type error"); return }; _v.WeaponType = int32(_tempNum_) } { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["weapon_type"].(float64); !_ok_ { err = errors.New("weapon_type error"); return }; _v.WeaponType = int32(_tempNum_) }
{ var _ok_ bool; if _v.BulletPrefab, _ok_ = _buf["bulletPrefab"].(string); !_ok_ { err = errors.New("bulletPrefab error"); return } }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["fly_speed"].(float64); !_ok_ { err = errors.New("fly_speed error"); return }; _v.FlySpeed = float32(_tempNum_) } { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["fly_speed"].(float64); !_ok_ { err = errors.New("fly_speed error"); return }; _v.FlySpeed = float32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["hitRange"].(float64); !_ok_ { err = errors.New("hitRange error"); return }; _v.HitRange = float32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["data"].(float64); !_ok_ { err = errors.New("data error"); return }; _v.Data = int32(_tempNum_) } { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["data"].(float64); !_ok_ { err = errors.New("data error"); return }; _v.Data = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["pro"].(float64); !_ok_ { err = errors.New("pro error"); return }; _v.Pro = int32(_tempNum_) } { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["pro"].(float64); !_ok_ { err = errors.New("pro error"); return }; _v.Pro = int32(_tempNum_) }
return return