mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-03-01 00:35:36 +08:00
更新配置表
This commit is contained in:
@@ -335,34 +335,57 @@ function action_EVENT_GADGET_STATE_CHANGE_6027(context, evt)
|
||||
if ScriptLib.GetGadgetStateByConfigId(context, 220133006, 6001) == 201 or ScriptLib.GetGadgetStateByConfigId(context, 220133006, 6002) == 201 then
|
||||
if ScriptLib.GetGroupVariableValue(context, "StoneReadyA") == 0 and ScriptLib.GetGroupVariableValue(context, "StoneReadyB") == 0 and ScriptLib.GetGroupVariableValue(context, "StoneReadyC") == 0 and ScriptLib.GetGroupVariableValue(context, "StoneReadyD") == 0 then
|
||||
ScriptLib.SetGroupVariableValue(context, "StoneReadyA", 1)
|
||||
|
||||
ScriptLib.SetGroupVariableValue(context, "StoneReadyB", 1)
|
||||
|
||||
ScriptLib.SetGroupVariableValue(context, "StoneReadyC", 1)
|
||||
|
||||
ScriptLib.SetGroupVariableValue(context, "StoneReadyD", 1)
|
||||
|
||||
ScriptLib.SetPlatformRouteId(context, 6004, 16)
|
||||
|
||||
ScriptLib.SetPlatformRouteId(context, 6003, 22)
|
||||
|
||||
ScriptLib.SetPlatformRouteId(context, 6008, 23)
|
||||
|
||||
ScriptLib.SetPlatformRouteId(context, 6022, 24)
|
||||
|
||||
ScriptLib.StartPlatform(context, 6004)
|
||||
|
||||
ScriptLib.StartPlatform(context, 6003)
|
||||
|
||||
ScriptLib.StartPlatform(context, 6008)
|
||||
|
||||
ScriptLib.StartPlatform(context, 6022)
|
||||
else
|
||||
if ScriptLib.GetGroupVariableValue(context, "StoneReadyA") == 2 and ScriptLib.GetGroupVariableValue(context, "StoneReadyB") == 2 and ScriptLib.GetGroupVariableValue(context, "StoneReadyC") == 2 and ScriptLib.GetGroupVariableValue(context, "StoneReadyD") == 2 then
|
||||
ScriptLib.SetGroupVariableValue(context, "StoneReadyA", 1)
|
||||
|
||||
ScriptLib.SetGroupVariableValue(context, "StoneReadyB", 1)
|
||||
|
||||
ScriptLib.SetGroupVariableValue(context, "StoneReadyC", 1)
|
||||
|
||||
ScriptLib.SetGroupVariableValue(context, "StoneReadyD", 1)
|
||||
|
||||
ScriptLib.SetPlatformRouteId(context, 6004, 21)
|
||||
|
||||
ScriptLib.SetPlatformRouteId(context, 6003, 25)
|
||||
|
||||
ScriptLib.SetPlatformRouteId(context, 6008, 26)
|
||||
|
||||
ScriptLib.SetPlatformRouteId(context, 6022, 27)
|
||||
|
||||
ScriptLib.StartPlatform(context, 6004)
|
||||
|
||||
ScriptLib.StartPlatform(context, 6003)
|
||||
|
||||
ScriptLib.StartPlatform(context, 6008)
|
||||
|
||||
ScriptLib.StartPlatform(context, 6022)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
@@ -213,9 +213,12 @@ end
|
||||
function action_EVENT_CUTSCENE_END_26014(context, evt)
|
||||
if evt.param1 == 201330104 and evt.param2 == 1 then
|
||||
ScriptLib.ShowReminder(context, 1111288)
|
||||
|
||||
ScriptLib.SetGroupVariableValueByGroup(context, "GadgetADie", 1, 220133091)
|
||||
|
||||
ScriptLib.KillEntityByConfigId(context, {group_id=220133091, config_id=91001, entity_type=EntityType.GADGET})
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
@@ -290,6 +290,7 @@ function action_EVENT_GROUP_LOAD_44017(context, evt)
|
||||
if ScriptLib.GetHostQuestState(context,4006903) == 2 then
|
||||
ScriptLib.RemoveExtraGroupSuite(context, 220133044, 3)
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
@@ -298,5 +299,6 @@ function action_EVENT_GROUP_REFRESH_44018(context, evt)
|
||||
if ScriptLib.GetHostQuestState(context,4006918) == 2 then
|
||||
ScriptLib.AddExtraGroupSuite(context, 220133044, 4)
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
@@ -106,6 +106,7 @@ function action_EVENT_GROUP_LOAD_91002(context, evt)
|
||||
if ScriptLib.GetHostQuestState(context,4006815) == 3 then
|
||||
ScriptLib.AddExtraGroupSuite(context, 220133091, 2)
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
@@ -335,34 +335,57 @@ function action_EVENT_GADGET_STATE_CHANGE_106027(context, evt)
|
||||
if ScriptLib.GetGadgetStateByConfigId(context, 220133106, 106001) == 201 or ScriptLib.GetGadgetStateByConfigId(context, 220133106, 106002) == 201 then
|
||||
if ScriptLib.GetGroupVariableValue(context, "StoneReadyA") == 0 and ScriptLib.GetGroupVariableValue(context, "StoneReadyB") == 0 and ScriptLib.GetGroupVariableValue(context, "StoneReadyC") == 0 and ScriptLib.GetGroupVariableValue(context, "StoneReadyD") == 0 then
|
||||
ScriptLib.SetGroupVariableValue(context, "StoneReadyA", 1)
|
||||
|
||||
ScriptLib.SetGroupVariableValue(context, "StoneReadyB", 1)
|
||||
|
||||
ScriptLib.SetGroupVariableValue(context, "StoneReadyC", 1)
|
||||
|
||||
ScriptLib.SetGroupVariableValue(context, "StoneReadyD", 1)
|
||||
|
||||
ScriptLib.SetPlatformRouteId(context, 106004, 29)
|
||||
|
||||
ScriptLib.SetPlatformRouteId(context, 106003, 28)
|
||||
|
||||
ScriptLib.SetPlatformRouteId(context, 106007, 32)
|
||||
|
||||
ScriptLib.SetPlatformRouteId(context, 106009, 33)
|
||||
|
||||
ScriptLib.StartPlatform(context, 106004)
|
||||
|
||||
ScriptLib.StartPlatform(context, 106003)
|
||||
|
||||
ScriptLib.StartPlatform(context, 106007)
|
||||
|
||||
ScriptLib.StartPlatform(context, 106009)
|
||||
else
|
||||
if ScriptLib.GetGroupVariableValue(context, "StoneReadyA") == 2 and ScriptLib.GetGroupVariableValue(context, "StoneReadyB") == 2 and ScriptLib.GetGroupVariableValue(context, "StoneReadyC") == 2 and ScriptLib.GetGroupVariableValue(context, "StoneReadyD") == 2 then
|
||||
ScriptLib.SetGroupVariableValue(context, "StoneReadyA", 1)
|
||||
|
||||
ScriptLib.SetGroupVariableValue(context, "StoneReadyB", 1)
|
||||
|
||||
ScriptLib.SetGroupVariableValue(context, "StoneReadyC", 1)
|
||||
|
||||
ScriptLib.SetGroupVariableValue(context, "StoneReadyD", 1)
|
||||
|
||||
ScriptLib.SetPlatformRouteId(context, 106004, 34)
|
||||
|
||||
ScriptLib.SetPlatformRouteId(context, 106003, 35)
|
||||
|
||||
ScriptLib.SetPlatformRouteId(context, 106007, 36)
|
||||
|
||||
ScriptLib.SetPlatformRouteId(context, 106009, 37)
|
||||
|
||||
ScriptLib.StartPlatform(context, 106004)
|
||||
|
||||
ScriptLib.StartPlatform(context, 106003)
|
||||
|
||||
ScriptLib.StartPlatform(context, 106007)
|
||||
|
||||
ScriptLib.StartPlatform(context, 106009)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
@@ -71,7 +71,10 @@
|
||||
"rotSpeed": 0.0,
|
||||
"arriveRange": 2.0
|
||||
}
|
||||
]
|
||||
],
|
||||
"configPointMap": null,
|
||||
"isSimulateTempRouteByTime": false,
|
||||
"isMoveToRoutePointOnInit": false
|
||||
},
|
||||
{
|
||||
"pointArrayId": 2,
|
||||
@@ -145,7 +148,10 @@
|
||||
"rotSpeed": 0.0,
|
||||
"arriveRange": 2.0
|
||||
}
|
||||
]
|
||||
],
|
||||
"configPointMap": null,
|
||||
"isSimulateTempRouteByTime": false,
|
||||
"isMoveToRoutePointOnInit": false
|
||||
},
|
||||
{
|
||||
"pointArrayId": 3,
|
||||
@@ -288,7 +294,10 @@
|
||||
"rotSpeed": 0.0,
|
||||
"arriveRange": 2.0
|
||||
}
|
||||
]
|
||||
],
|
||||
"configPointMap": null,
|
||||
"isSimulateTempRouteByTime": false,
|
||||
"isMoveToRoutePointOnInit": false
|
||||
},
|
||||
{
|
||||
"pointArrayId": 4,
|
||||
@@ -454,7 +463,10 @@
|
||||
"rotSpeed": 0.0,
|
||||
"arriveRange": 2.0
|
||||
}
|
||||
]
|
||||
],
|
||||
"configPointMap": null,
|
||||
"isSimulateTempRouteByTime": false,
|
||||
"isMoveToRoutePointOnInit": false
|
||||
},
|
||||
{
|
||||
"pointArrayId": 5,
|
||||
@@ -666,7 +678,10 @@
|
||||
"rotSpeed": 0.0,
|
||||
"arriveRange": 2.0
|
||||
}
|
||||
]
|
||||
],
|
||||
"configPointMap": null,
|
||||
"isSimulateTempRouteByTime": false,
|
||||
"isMoveToRoutePointOnInit": false
|
||||
},
|
||||
{
|
||||
"pointArrayId": 6,
|
||||
@@ -924,7 +939,10 @@
|
||||
"rotSpeed": 0.0,
|
||||
"arriveRange": 2.0
|
||||
}
|
||||
]
|
||||
],
|
||||
"configPointMap": null,
|
||||
"isSimulateTempRouteByTime": false,
|
||||
"isMoveToRoutePointOnInit": false
|
||||
},
|
||||
{
|
||||
"pointArrayId": 7,
|
||||
@@ -1205,7 +1223,10 @@
|
||||
"rotSpeed": 0.0,
|
||||
"arriveRange": 2.0
|
||||
}
|
||||
]
|
||||
],
|
||||
"configPointMap": null,
|
||||
"isSimulateTempRouteByTime": false,
|
||||
"isMoveToRoutePointOnInit": false
|
||||
},
|
||||
{
|
||||
"pointArrayId": 8,
|
||||
@@ -1578,6 +1599,9 @@
|
||||
"rotSpeed": 0.0,
|
||||
"arriveRange": 2.0
|
||||
}
|
||||
]
|
||||
],
|
||||
"configPointMap": null,
|
||||
"isSimulateTempRouteByTime": false,
|
||||
"isMoveToRoutePointOnInit": false
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user