//策略事件 { "ID": 2020504, "Specials": { "BattleID": 0, "WeightRoad1": 10, "WeightRoad2": 10, "WeightRoad3": 10, "WeightRoad4": 10, "WeightRoad5": 10, "WeightRoad6": 10 }, "Events": { "OnStart": { "Actions": [ { "$type":"Share.CConfigDropBattleID", "Type":[20,21,22], "SpecialName":"BattleID" }, //报告位置 { "$type": "Share.CConfigSetHollowVariable", "Key": "PlayerR.1000", "Value": 0 }, { "$type": "Share.CConfigSetHollowVariable", "Key": "PlayerP.1000", "Value": 0 }, { "$type": "Share.CConfigOpenDialog" }, //策略触发计数 { "$type": "Share.CConfigSetHollowVariable", "Key": "Choose.1000", "Value": "scenevar(Choose.1000)+1" }, { "$type": "Share.CConfigIf", "OnSuccess": "OnChoose0", "OnFailure": "OnChoose1", "Conditions": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Choose.1000", "Count": 1, "CompareType": "Equal" } ] }, //进入多级选择 { "$type": "Share.CConfigJump", "Jump": "OnChoose0" } ] }, "OnChoose0": { "Actions": [ { "$type": "Share.CConfigChoiceServer", "OptionsMode": "Normal", "Title":"Event2020504_Title", //木头人不许动 "Description": "Event2020504_1", // 你们发现了一个信号中继点,似乎是反叛军临时搭设的。 "QuestionDescription": "Event2020504_2", // 或许能利用一下…… "Choices": [ { "OptionText": "Event2020504_3", // 激活数据信息 "OptionText2": "Event2020504_4", // 查看区域地图 "OptionIcon1":112, "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "ShowMap" } ] } ] } ] } ] }, "OnChoose1": { "Actions": [ { "$type": "Share.CConfigChoiceServer", "OptionsMode": "Normal", "Title":"Event2020504_Title", //木头人不许动 "Description": "Event2020504_5", // 有这里有一些信号设施。 "QuestionDescription": "Event2020504_6", // 也许可以做些什么…… "Choices": [ { "OptionText": "Event2020504_7", // 激活数据信息 "OptionText2": "Event2020504_8", // 再次查看区域地图 "OptionIcon1":112, "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "ShowMap" } ] } ] }, { "OptionText": "Event2020504_9", // 通过设施发送干扰信号 "OptionText2": "Event2020504_10", // 选择阻挡敌军巡逻的方式 "OptionIcon1":112, "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "OnChoose2" } ] } ] } // { // "OptionText": "JsonText_847", // 离开 // "OptionText2": "结束", // (结束) // "OptionContents": [ // { // "Actions": [ // { // "$type": "Share.CConfigJump", // "Jump": "OP_5_1" // } // ] // } // ], // "Predicates": [ // { // "$type": "Share.CConfigEventByHollowVariable", // "Key": "Choose.1000", // "Count": 1, // "CompareType": "Equal" // } // ] // }, // { // "OptionText": "JsonText_847", // 离开 // "OptionText2": "结束", // (结束) // "OptionContents": [ // { // "Actions": [ // { // "$type": "Share.CConfigJump", // "Jump": "OP_5_2" // } // ] // } // ], // "Predicates": [ // { // "$type": "Share.CConfigEventByHollowVariable", // "Key": "Choose.1000", // "Count": 2, // "CompareType": "Equal" // } // ] // } ] } ] }, "OnChoose2": { "Actions": [ //三选一 { "$type": "Share.CConfigChoiceServer", "OptionsMode": "Normal", "Title":"Event2020504_Title", //木头人不许动 "Description": "Event2020504_11", // 这样或许能干扰附近的巡逻者。 "QuestionDescription": "Event2020504_12", // 怎么做呢? "Choices": [ { "OptionText": "Event2020504_13", // 发出驻守信号 "OptionText2": "Event2020504_14", // 使敌人在短期内停止行动 "OptionIcon1":109, "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "OP_1" } ] } ] }, { "OptionText": "Event2020504_15", // 发出撤退休整信号 "OptionText2": "Event2020504_16", // 下次战斗彻底消灭敌军,难度提升。 "OptionIcon1":113, "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "OP_2" } ] } ], "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Kill.1000", "Count": 0, "CompareType": "Equal" } ] }, { "OptionText": "Event2020504_17", // 看看别的 "OptionText2": "Event2020504_18", // (返回上一级选择) "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "OnChoose1" } ] } ] } // { // "OptionText": "JsonText_1401", // 定向扰乱信号 // "OptionText2": "右侧一名敌军停止巡逻,进入战斗", // (右侧一名敌军永久停止巡逻,包括击败后再召唤的,立即进入战斗) // "OptionContents": [ // { // "Actions": [ // { // "$type": "Share.CConfigJump", // "Jump": "OP_3" // } // ] // } // ], // "Predicates": [ // { // "$type": "Share.CConfigEventByHollowVariable", // "Key": "Choose.1000", // "Count": 1, // "CompareType": "Equal" // } // ] // }, // { // "OptionText": "JsonText_1401", // 定向扰乱信号 // "OptionText2": "左侧一名敌军停止巡逻,进入战斗", // (左侧一名敌军永久停止巡逻,包括击败后再召唤的,立即进入战斗) // "OptionContents": [ // { // "Actions": [ // { // "$type": "Share.CConfigJump", // "Jump": "OP_4" // } // ] // } // ], // "Predicates": [ // { // "$type": "Share.CConfigEventByHollowVariable", // "Key": "Choose.1000", // "Count": 2, // "CompareType": "Equal" // } // ] // }, ] } ] }, "ShowMap": { "Actions": [ //关闭对话框 { "$type": "Share.CConfigCloseDialog" }, //查看全图 { "$type": "Share.CConfigCameraMove", "StretchKey": "Far", "Type": "Player", "CanControl": false }, //停顿一秒 { "$type": "Share.CConfigWaitSeconds", "Time": 1 }, //恢复玩家位置,打开对话框 { "$type": "Share.CConfigCameraMove", "StretchKey": "Back", "Type": "Player", "CanControl": true }, { "$type": "Share.CConfigOpenDialog" }, //返回选项 { "$type": "Share.CConfigJump", "Jump": "OnChoose2" } ] }, "OP_1": { "Actions": [ { "$type": "Share.CConfigSetHollowVariable", "Key": "Patrol.1000", "Value": 5 }, { "$type": "Share.CConfigTriggerBattle", "BattleID": "specials(BattleID)", "OnSuccess": "op_ed_1" } ] }, "OP_2": { "Actions": [ { "$type": "Share.CConfigLogText", "Messages": [ "Event2020504_20" // 扰乱信号有效,周遭的敌人暂时不会被卷入了 ] }, { "$type": "Share.CConfigSetHollowVariable", "Key": "Kill.1000", "Value": 1 }, { "$type": "Share.CConfigCloseDialog" }, { "$type": "Share.CConfigFinishEvent" } ] }, "OP_3": { "Actions": [ { "$type": "Share.CConfigLogText", "Messages": [ "JsonText_1406" // 附近的敌人被惊动了!准备战斗! ] }, { "$type": "Share.CConfigSwitchServer", "Switch": [ { "Weight": 100, "Actions": [ //设置权重,排除永久死亡路径4-6 { "$type": "Share.CConfigSetSpecial", "SpecialName": "WeightRoad4", "SpecialValue": 0, "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Dead.1004", "Count": -1, "CompareType": "Equal" } ] }, { "$type": "Share.CConfigSetSpecial", "SpecialName": "WeightRoad5", "SpecialValue": 0, "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Dead.1005", "Count": -1, "CompareType": "Equal" } ] }, { "$type": "Share.CConfigSetSpecial", "SpecialName": "WeightRoad6", "SpecialValue": 0, "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Dead.1006", "Count": -1, "CompareType": "Equal" } ] } ] } ] }, //进入战斗 { "$type": "Share.CConfigTriggerBattle", "BattleID": "specials(BattleID)", "OnSuccess": "op_ed_3" } ] }, "OP_4": { "Actions": [ { "$type": "Share.CConfigLogText", "Messages": [ "JsonText_1406" // 附近的敌人被惊动了!准备战斗! ] }, { "$type": "Share.CConfigSwitchServer", "Switch": [ { "Weight": 100, "Actions": [ //设置权重,排除永久死亡路径1-3 { "$type": "Share.CConfigSetSpecial", "SpecialName": "WeightRoad1", "SpecialValue": 0, "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Dead.1001", "Count": -1, "CompareType": "Equal" } ] }, { "$type": "Share.CConfigSetSpecial", "SpecialName": "WeightRoad2", "SpecialValue": 0, "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Dead.1002", "Count": -1, "CompareType": "Equal" } ] }, { "$type": "Share.CConfigSetSpecial", "SpecialName": "WeightRoad3", "SpecialValue": 0, "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Dead.1003", "Count": -1, "CompareType": "Equal" } ] } ] } ] }, //进入战斗 { "$type": "Share.CConfigTriggerBattle", "BattleID": "specials(BattleID)", "OnSuccess": "op_ed_4" } ] }, "OP_5_1": { "Actions": [ { "$type": "Share.CConfigLogText", "Messages": [ "JsonText_1408" // 这个残破邦布的电量已经耗光,暂时不能用了。\n谢谢你的帮助。 ] }, { "$type": "Share.CConfigCloseDialog" }, { "$type": "Share.CConfigFinishEvent" } ] }, "OP_5_2": { "Actions": [ { "$type": "Share.CConfigLogText", "Messages": [ "JsonText_1409" // 残破邦布用尽了残存机构的全部电量,已经彻底停止了运转。\n安息吧。 ] }, { "$type": "Share.CConfigCloseDialog" }, { "$type": "Share.CConfigFinishEvent" } ] }, "op_ed_1": { "Actions": [ { "$type": "Share.CConfigPreset", "PerformKey" : "Chessboard_BattleEnd_None" }, { "$type":"Share.CConfigCloseDialog", "CameraMove":false }, { "$type":"Share.CConfigOpenDialog" }, { "$type": "Share.CConfigLogText", "Messages": [ "Event2020504_19" // 干扰成功了,敌人会暂时停止巡逻 ] }, { "$type": "Share.CConfigCloseDialog" }, { "$type": "Share.CConfigFinishEvent" } ] }, "op_ed_3": { "Actions": [ { "$type": "Share.CConfigPreset", "PerformKey" : "Chessboard_BattleEnd_None" }, { "$type":"Share.CConfigCloseDialog", "CameraMove":false }, { "$type":"Share.CConfigOpenDialog" }, //随机禁行4-6 { "$type": "Share.CConfigSwitchServer", "Switch": [ { "Weight": "specials(WeightRoad4)", "Actions": [ { "$type": "Share.CConfigSetHollowVariable", "Key": "Move.1004", "Value": 1 }, { "$type": "Share.CConfigJump", "Jump": "BanRoad4" } ] }, { "Weight": "specials(WeightRoad5)", "Actions": [ { "$type": "Share.CConfigSetHollowVariable", "Key": "Move.1005", "Value": 1 }, { "$type": "Share.CConfigJump", "Jump": "BanRoad5" } ] }, { "Weight": "specials(WeightRoad6)", "Actions": [ { "$type": "Share.CConfigSetHollowVariable", "Key": "Move.1006", "Value": 1 }, { "$type": "Share.CConfigJump", "Jump": "BanRoad6" } ] } ] } ] }, "op_ed_4": { "Actions": [ { "$type": "Share.CConfigPreset", "PerformKey" : "Chessboard_BattleEnd_None" }, { "$type":"Share.CConfigCloseDialog", "CameraMove":false }, { "$type":"Share.CConfigOpenDialog" }, //随机禁行1-3 { "$type": "Share.CConfigSwitchServer", "Switch": [ { "Weight": "specials(WeightRoad1)", "Actions": [ { "$type": "Share.CConfigSetHollowVariable", "Key": "Move.1001", "Value": 1 }, { "$type": "Share.CConfigJump", "Jump": "BanRoad1" } ] }, { "Weight": "specials(WeightRoad2)", "Actions": [ { "$type": "Share.CConfigSetHollowVariable", "Key": "Move.1002", "Value": 1 }, { "$type": "Share.CConfigJump", "Jump": "BanRoad2" } ] }, { "Weight": "specials(WeightRoad3)", "Actions": [ { "$type": "Share.CConfigSetHollowVariable", "Key": "Move.1003", "Value": 1 }, { "$type": "Share.CConfigJump", "Jump": "BanRoad3" } ] } ] } ] }, "BanRoad1": { "Actions": [ { "$type": "Share.CConfigLogText", "Messages": [ "JsonText_1411" // 远处传来了轰鸣声,左侧上方路径的敌人被升起的隔离门堵住了去路 ] }, { "$type": "Share.CConfigCloseDialog" }, { "$type": "Share.CConfigFinishEvent" } ] }, "BanRoad2": { "Actions": [ { "$type": "Share.CConfigLogText", "Messages": [ "JsonText_1412" // 远处传来了轰鸣声,左侧中间路径的敌人被升起的隔离门堵住了去路 ] }, { "$type": "Share.CConfigCloseDialog" }, { "$type": "Share.CConfigFinishEvent" } ] }, "BanRoad3": { "Actions": [ { "$type": "Share.CConfigLogText", "Messages": [ "JsonText_1413" // 远处传来了轰鸣声,左侧下方路径的敌人被升起的隔离门堵住了去路 ] }, { "$type": "Share.CConfigCloseDialog" }, { "$type": "Share.CConfigFinishEvent" } ] }, "BanRoad4": { "Actions": [ { "$type": "Share.CConfigLogText", "Messages": [ "JsonText_1414" // 远处传来了轰鸣声,右侧上方路径的敌人被升起的隔离门堵住了去路 ] }, { "$type": "Share.CConfigCloseDialog" }, { "$type": "Share.CConfigFinishEvent" } ] }, "BanRoad5": { "Actions": [ { "$type": "Share.CConfigLogText", "Messages": [ "JsonText_1415" // 远处传来了轰鸣声,右侧中间路径的敌人被升起的隔离门堵住了去路 ] }, { "$type": "Share.CConfigCloseDialog" }, { "$type": "Share.CConfigFinishEvent" } ] }, "BanRoad6": { "Actions": [ { "$type": "Share.CConfigLogText", "Messages": [ "JsonText_1413" // 远处传来了轰鸣声,左侧下方路径的敌人被升起的隔离门堵住了去路 ] }, { "$type": "Share.CConfigCloseDialog" }, { "$type": "Share.CConfigFinishEvent" } ] } } }