mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-23 14:32:27 +08:00
更新配置表
This commit is contained in:
@@ -86,11 +86,16 @@ suites = {
|
||||
function action_EVENT_OBSERVATION_POINT_NOTIFY_3004(context, evt)
|
||||
if 3001 == evt.param1 and 405 == evt.param2 then
|
||||
ScriptLib.SetGadgetStateByConfigId(context,3003, GadgetState.GearStart)
|
||||
|
||||
ScriptLib.AddQuestProgress(context, "4007305")
|
||||
ScriptLib.SetGadgetStateByConfigId(context,3001, 102)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,3001, GadgetState.ChestOpened)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,3005, GadgetState.GearStart)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,3002, GadgetState.GearStart)
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
@@ -165,7 +170,9 @@ end
|
||||
function action_EVENT_ENTER_REGION_3009(context, evt)
|
||||
if ScriptLib.GetRegionEntityCount(context, {region_eid = evt.source_eid, entity_type = EntityType.AVATAR}) == 1 then
|
||||
ScriptLib.TryRecordActivityPushTips(context, 2014015)
|
||||
|
||||
ScriptLib.ShowClientTutorial(context, 1190, {})
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
@@ -216,11 +216,16 @@ end
|
||||
function action_EVENT_OBSERVATION_POINT_NOTIFY_4007(context, evt)
|
||||
if 4001 == evt.param1 and 305 == evt.param2 then
|
||||
ScriptLib.ChangeToTargetLevelTag(context, 41)
|
||||
|
||||
ScriptLib.AddQuestProgress(context, "4007310")
|
||||
ScriptLib.SetGadgetStateByConfigId(context,4001, 102)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,4001, GadgetState.ChestOpened)
|
||||
|
||||
ScriptLib.SetGroupVariableValue(context, "finish", 1)
|
||||
|
||||
ScriptLib.SetGroupVariableValueByGroup(context, "castle", 1, 220139046)
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
@@ -81,9 +81,12 @@ suites = {
|
||||
function action_EVENT_OBSERVATION_POINT_NOTIFY_7004(context, evt)
|
||||
if 7001 == evt.param1 and 405 == evt.param2 then
|
||||
ScriptLib.SetGadgetStateByConfigId(context,7002, GadgetState.GearStart)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,7001, 405)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,7003, GadgetState.GearStart)
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
@@ -111,8 +114,11 @@ end
|
||||
function action_EVENT_OBSERVATION_POINT_NOTIFY_7006(context, evt)
|
||||
if 7001 == evt.param1 and 0 == evt.param2 then
|
||||
ScriptLib.SetGadgetStateByConfigId(context,7002, GadgetState.Default)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,7001, GadgetState.Default)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,7003, GadgetState.Default)
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
@@ -79,11 +79,16 @@ suites = {
|
||||
function action_EVENT_OBSERVATION_POINT_NOTIFY_8003(context, evt)
|
||||
if 8001 == evt.param1 and 405 == evt.param2 then
|
||||
ScriptLib.SetGroupGadgetStateByConfigId(context, 220139010, 10003, GadgetState.GearStart)
|
||||
|
||||
ScriptLib.SetGroupGadgetStateByConfigId(context, 220139010, 10004, GadgetState.GearStart)
|
||||
|
||||
ScriptLib.SetGroupGadgetStateByConfigId(context, 220139010, 10005, GadgetState.GearStart)
|
||||
ScriptLib.SetGadgetStateByConfigId(context,8001, 102)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,8001, GadgetState.ChestOpened)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,8002, GadgetState.GearStart)
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
@@ -86,10 +86,14 @@ suites = {
|
||||
function action_EVENT_OBSERVATION_POINT_NOTIFY_9003(context, evt)
|
||||
if 9001 == evt.param1 and 405 == evt.param2 then
|
||||
ScriptLib.SetGroupGadgetStateByConfigId(context, 220139010, 10003, GadgetState.GearStop)
|
||||
|
||||
ScriptLib.SetGroupGadgetStateByConfigId(context, 220139010, 10004, GadgetState.GearStop)
|
||||
ScriptLib.SetGadgetStateByConfigId(context,9001, 102)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,9001, GadgetState.ChestOpened)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,9002, GadgetState.GearStart)
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
@@ -86,9 +86,12 @@ suites = {
|
||||
function action_EVENT_OBSERVATION_POINT_NOTIFY_10006(context, evt)
|
||||
if 10001 == evt.param1 and 405 == evt.param2 then
|
||||
ScriptLib.SetGadgetStateByConfigId(context,10003, GadgetState.GearAction1)
|
||||
ScriptLib.SetGadgetStateByConfigId(context,10001, 102)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,10001, GadgetState.ChestOpened)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,10002, GadgetState.GearStart)
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
@@ -144,10 +144,14 @@ end
|
||||
function action_EVENT_OBSERVATION_POINT_NOTIFY_12007(context, evt)
|
||||
if 12004 == evt.param1 and 405 == evt.param2 then
|
||||
ScriptLib.SetGadgetStateByConfigId(context,12005, GadgetState.GearStart)
|
||||
ScriptLib.SetGadgetStateByConfigId(context,12004, 102)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,12004, GadgetState.ChestOpened)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,12009, GadgetState.Default)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,12006, GadgetState.GearStart)
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
@@ -156,6 +160,7 @@ function action_EVENT_OBSERVATION_POINT_NOTIFY_12008(context, evt)
|
||||
if 12004 == evt.param1 and 405 == evt.param2 then
|
||||
ScriptLib.SetGroupGadgetStateByConfigId(context, 220139012, 12001, GadgetState.GearStart)
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
@@ -163,10 +168,14 @@ end
|
||||
function action_EVENT_OBSERVATION_POINT_NOTIFY_12012(context, evt)
|
||||
if 12009 == evt.param1 and 305 == evt.param2 then
|
||||
ScriptLib.SetGadgetStateByConfigId(context,12011, GadgetState.GearStart)
|
||||
ScriptLib.SetGadgetStateByConfigId(context,12009, 102)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,12009, GadgetState.ChestOpened)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,12014, GadgetState.Default)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,12010, GadgetState.GearStart)
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
@@ -175,6 +184,7 @@ function action_EVENT_OBSERVATION_POINT_NOTIFY_12013(context, evt)
|
||||
if 12009 == evt.param1 and 305 == evt.param2 then
|
||||
ScriptLib.SetGroupGadgetStateByConfigId(context, 220139012, 12001, GadgetState.GearStop)
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
@@ -182,9 +192,12 @@ end
|
||||
function action_EVENT_OBSERVATION_POINT_NOTIFY_12017(context, evt)
|
||||
if 12014 == evt.param1 and 405 == evt.param2 then
|
||||
ScriptLib.SetGadgetStateByConfigId(context,12016, GadgetState.GearStart)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,12014, 405)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,12015, GadgetState.GearStart)
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
@@ -208,7 +208,8 @@ end
|
||||
-- 触发操作
|
||||
function action_EVENT_GROUP_LOAD_15007(context, evt)
|
||||
if ScriptLib.GetHostQuestState(context,4007314) == 3 or ScriptLib.GetGroupVariableValue(context, "doorOpen") == 1 then
|
||||
ScriptLib.RefreshGroup(context, { suite=3})
|
||||
ScriptLib.RefreshGroup(context, {group_id=0, refresh_level_revise=0, exclude_prev=false, is_force_random_suite=false, suite=3})
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
@@ -78,9 +78,13 @@ suites = {
|
||||
function action_EVENT_OBSERVATION_POINT_NOTIFY_16004(context, evt)
|
||||
if 16001 == evt.param1 and 405 == evt.param2 then
|
||||
ScriptLib.SetGadgetStateByConfigId(context,16002, GadgetState.GearStart)
|
||||
|
||||
ScriptLib.SetGroupVariableValueByGroup(context, "eyefinish1", 1, 220139022)
|
||||
ScriptLib.SetGadgetStateByConfigId(context,16001, 102)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,16001, GadgetState.ChestOpened)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,16003, GadgetState.GearStart)
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
@@ -78,9 +78,13 @@ suites = {
|
||||
function action_EVENT_OBSERVATION_POINT_NOTIFY_17004(context, evt)
|
||||
if 17001 == evt.param1 and 405 == evt.param2 then
|
||||
ScriptLib.SetGadgetStateByConfigId(context,17002, GadgetState.GearStart)
|
||||
|
||||
ScriptLib.SetGroupVariableValueByGroup(context, "eyefinish2", 1, 220139022)
|
||||
ScriptLib.SetGadgetStateByConfigId(context,17001, 102)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,17001, GadgetState.ChestOpened)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,17003, GadgetState.GearStart)
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
@@ -78,9 +78,13 @@ suites = {
|
||||
function action_EVENT_OBSERVATION_POINT_NOTIFY_18004(context, evt)
|
||||
if 18001 == evt.param1 and 405 == evt.param2 then
|
||||
ScriptLib.SetGadgetStateByConfigId(context,18002, GadgetState.GearStart)
|
||||
|
||||
ScriptLib.SetGroupVariableValueByGroup(context, "eyefinish3", 1, 220139022)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,18001, 405)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,18003, GadgetState.GearStart)
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
@@ -131,11 +131,16 @@ suites = {
|
||||
function action_EVENT_OBSERVATION_POINT_NOTIFY_19009(context, evt)
|
||||
if 19002 == evt.param1 and 405 == evt.param2 then
|
||||
ScriptLib.SetGadgetStateByConfigId(context,19006, GadgetState.GearStart)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,19003, GadgetState.Default)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,19011, GadgetState.GearStart)
|
||||
ScriptLib.SetGadgetStateByConfigId(context,19002, 102)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,19002, GadgetState.ChestOpened)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,19004, GadgetState.GearStart)
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
@@ -143,9 +148,12 @@ end
|
||||
function action_EVENT_OBSERVATION_POINT_NOTIFY_19010(context, evt)
|
||||
if 19003 == evt.param1 and 405 == evt.param2 then
|
||||
ScriptLib.SetGadgetStateByConfigId(context,19007, GadgetState.GearStart)
|
||||
|
||||
ScriptLib.SetGroupVariableValue(context, "finish1", 1)
|
||||
ScriptLib.SetGadgetStateByConfigId(context,19003, 102)
|
||||
|
||||
ScriptLib.SetGadgetStateByConfigId(context,19003, GadgetState.ChestOpened)
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
@@ -745,8 +745,10 @@ end
|
||||
function action_EVENT_GROUP_REFRESH_22041(context, evt)
|
||||
if ScriptLib.GetHostQuestState(context,4007320) == 2 then
|
||||
ScriptLib.RemoveExtraGroupSuite(context, 220139022, 4)
|
||||
|
||||
ScriptLib.AddExtraGroupSuite(context, 220139022, 6)
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
@@ -763,6 +765,7 @@ function action_EVENT_GROUP_LOAD_22043(context, evt)
|
||||
if ScriptLib.GetHostQuestState(context,4007320) == 2 then
|
||||
ScriptLib.AddExtraGroupSuite(context, 220139022, 6)
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
@@ -117,7 +117,10 @@
|
||||
"rotSpeed": 0.0,
|
||||
"arriveRange": 2.0
|
||||
}
|
||||
]
|
||||
],
|
||||
"configPointMap": null,
|
||||
"isSimulateTempRouteByTime": false,
|
||||
"isMoveToRoutePointOnInit": false
|
||||
},
|
||||
{
|
||||
"pointArrayId": 2,
|
||||
@@ -191,7 +194,10 @@
|
||||
"rotSpeed": 0.0,
|
||||
"arriveRange": 2.0
|
||||
}
|
||||
]
|
||||
],
|
||||
"configPointMap": null,
|
||||
"isSimulateTempRouteByTime": false,
|
||||
"isMoveToRoutePointOnInit": false
|
||||
},
|
||||
{
|
||||
"pointArrayId": 3,
|
||||
@@ -242,7 +248,10 @@
|
||||
"rotSpeed": 0.0,
|
||||
"arriveRange": 2.0
|
||||
}
|
||||
]
|
||||
],
|
||||
"configPointMap": null,
|
||||
"isSimulateTempRouteByTime": false,
|
||||
"isMoveToRoutePointOnInit": false
|
||||
},
|
||||
{
|
||||
"pointArrayId": 4,
|
||||
@@ -293,7 +302,10 @@
|
||||
"rotSpeed": 0.0,
|
||||
"arriveRange": 2.0
|
||||
}
|
||||
]
|
||||
],
|
||||
"configPointMap": null,
|
||||
"isSimulateTempRouteByTime": false,
|
||||
"isMoveToRoutePointOnInit": false
|
||||
},
|
||||
{
|
||||
"pointArrayId": 5,
|
||||
@@ -344,7 +356,10 @@
|
||||
"rotSpeed": 0.0,
|
||||
"arriveRange": 2.0
|
||||
}
|
||||
]
|
||||
],
|
||||
"configPointMap": null,
|
||||
"isSimulateTempRouteByTime": false,
|
||||
"isMoveToRoutePointOnInit": false
|
||||
},
|
||||
{
|
||||
"pointArrayId": 6,
|
||||
@@ -418,7 +433,10 @@
|
||||
"rotSpeed": 0.0,
|
||||
"arriveRange": 2.0
|
||||
}
|
||||
]
|
||||
],
|
||||
"configPointMap": null,
|
||||
"isSimulateTempRouteByTime": false,
|
||||
"isMoveToRoutePointOnInit": false
|
||||
},
|
||||
{
|
||||
"pointArrayId": 7,
|
||||
@@ -469,7 +487,10 @@
|
||||
"rotSpeed": 0.0,
|
||||
"arriveRange": 2.0
|
||||
}
|
||||
]
|
||||
],
|
||||
"configPointMap": null,
|
||||
"isSimulateTempRouteByTime": false,
|
||||
"isMoveToRoutePointOnInit": false
|
||||
},
|
||||
{
|
||||
"pointArrayId": 8,
|
||||
@@ -520,7 +541,10 @@
|
||||
"rotSpeed": 0.0,
|
||||
"arriveRange": 2.0
|
||||
}
|
||||
]
|
||||
],
|
||||
"configPointMap": null,
|
||||
"isSimulateTempRouteByTime": false,
|
||||
"isMoveToRoutePointOnInit": false
|
||||
},
|
||||
{
|
||||
"pointArrayId": 9,
|
||||
@@ -571,7 +595,10 @@
|
||||
"rotSpeed": 0.0,
|
||||
"arriveRange": 2.0
|
||||
}
|
||||
]
|
||||
],
|
||||
"configPointMap": null,
|
||||
"isSimulateTempRouteByTime": false,
|
||||
"isMoveToRoutePointOnInit": false
|
||||
},
|
||||
{
|
||||
"pointArrayId": 10,
|
||||
@@ -622,7 +649,10 @@
|
||||
"rotSpeed": 0.0,
|
||||
"arriveRange": 2.0
|
||||
}
|
||||
]
|
||||
],
|
||||
"configPointMap": null,
|
||||
"isSimulateTempRouteByTime": false,
|
||||
"isMoveToRoutePointOnInit": false
|
||||
},
|
||||
{
|
||||
"pointArrayId": 11,
|
||||
@@ -673,7 +703,10 @@
|
||||
"rotSpeed": 0.0,
|
||||
"arriveRange": 2.0
|
||||
}
|
||||
]
|
||||
],
|
||||
"configPointMap": null,
|
||||
"isSimulateTempRouteByTime": false,
|
||||
"isMoveToRoutePointOnInit": false
|
||||
},
|
||||
{
|
||||
"pointArrayId": 12,
|
||||
@@ -770,7 +803,10 @@
|
||||
"rotSpeed": 0.0,
|
||||
"arriveRange": 2.0
|
||||
}
|
||||
]
|
||||
],
|
||||
"configPointMap": null,
|
||||
"isSimulateTempRouteByTime": false,
|
||||
"isMoveToRoutePointOnInit": false
|
||||
},
|
||||
{
|
||||
"pointArrayId": 13,
|
||||
@@ -867,7 +903,10 @@
|
||||
"rotSpeed": 0.0,
|
||||
"arriveRange": 2.0
|
||||
}
|
||||
]
|
||||
],
|
||||
"configPointMap": null,
|
||||
"isSimulateTempRouteByTime": false,
|
||||
"isMoveToRoutePointOnInit": false
|
||||
},
|
||||
{
|
||||
"pointArrayId": 14,
|
||||
@@ -918,6 +957,9 @@
|
||||
"rotSpeed": 0.0,
|
||||
"arriveRange": 2.0
|
||||
}
|
||||
]
|
||||
],
|
||||
"configPointMap": null,
|
||||
"isSimulateTempRouteByTime": false,
|
||||
"isMoveToRoutePointOnInit": false
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user