//遗物 { "ID": 1011020, "Specials": { "TriggerEvent": 1011019, "BeTriggeredEvent": 1011020, "HpItem": 900003, "HpRecover": 20, "GoldItem": 900001, "Gold": 400, "StaminaItem": 900002, "Stamina": 20, "BattleID": 2010101, "Award": 1200, //战斗影响的分支 "TextKey_Branch": 0, //未完成的心愿 "BlessID1": 1105015, //怪物的追踪 "CurseID1": 1155001 }, "Events": { "OnStart": { "Actions": [ { "$type": "Share.CActionChangeHollowEventWeightCfg", "EventID": 1011020, "WeightFactor": 0 }, { "$type": "Share.CActionChangeHollowEventWeightCfg", "EventID": 1011019, "WeightFactor": 10000, "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "HaveBeenTo.1011019", "Count": 0, "CompareType": "Equal" } ] }, { "$type": "Share.CConfigSetHollowVariable", "Key": "HaveBeenTo.1011020", "Value": 1 }, //设置下一个任务的触发状态,如果没有被触发的话(特殊处理:保证二阶段能够正确执行) { "$type": "Share.CConfigSetHollowVariable", "Key": "EventTrigger.{specials(TriggerEvent)}", "Value": 1, "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "EventMarker.{specials(TriggerEvent)}", "Count": 0, "CompareType": "Equal" } ] }, { "$type": "Share.CConfigLog", "ShowVariables": "HollowVariables" }, { "$type": "Share.CConfigIf", "Conditions": [ //0是先触发,1是后触发 { "$type": "Share.CConfigEventByHollowVariable", "Key": "EventTrigger.{specials(BeTriggeredEvent)}", "Count": 0, "CompareType": "Equal" } ], "OnSuccess": "OnStartPre", "OnFailure": "OnStartAfter" } ] }, "OnStartPre": { "Actions": [ { "$type": "Share.CConfigOpenDialog" }, { "$type": "Share.CConfigLogText", "Messages": [ // "前方是一副惨烈的景象,调查员与盗洞客的遗物散落一地,似乎与强大的以骸战斗过。" "Event_1011020_Sec1_Log_1" ] }, { "$type": "Share.CConfigJump", "Jump": "Pre_Choice" } ] }, "Pre_Choice": { "Actions": [ { "$type": "Share.CConfigChoiceServer", "OptionsMode": "Normal", // "Description" : "再仔细观察,种种迹象表明这些人并不是同伴,而他们与以骸战斗也不是处于自卫,更像是主动出击……到底发生了什么事?", "Description": "Event_1011020_Sec1_Des_1", "Choices": [ //【1】资源一,基础资源三选一 { // "OptionText" : "拾取遗落物(选择恢复一种基础资源)", "OptionText": "Event_1011020_Sec1_OP_1", "OptionText2": "Event_1011020_Sec1_OP_1_split", "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "Pre_Op_1_Over_1" } ] } ] }, //【2】资源二,神器三选一 { // "OptionText" : "观察周围的掩体(获得{specials(Award)}齿轮硬币、【颓废】恶瞳的视线)", "OptionText": "Event_1011020_Sec1_OP_2", "OptionText2": "Event_1011020_Sec1_OP_2_split", "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "Pre_Op_2_Over_1" } ] } ] }, //【3】资源三,污染卡牌&需要实际去设计,先暂时不存在此选项吧 /*{ // "OptionText" : "那块骸章……(选择一些污染卡牌,未实装)", "OptionText" : "Event_1011020_Sec1_OP_3", "OptionText2" : "Event_1011020_Sec1_OP_3_split", "Predecates": [ { "$type":"Share.CConfigEventBySpecials", "ParamName":"none", "Param":100, "CompareType":"Equal" } ], "OptionContents" : [ { "Actions" : [ { "$type" : "Share.CConfigJump", "Jump" : "Pre_Op_3_Over_1" } ] } ] },*/ //【4】什么都不要 { // "OptionText" : "离开", "OptionText": "Event_1011020_Sec1_OP_4", "OptionText2": "Event_1011020_Sec1_OP_4_split", "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "Pre_Op_4_Over_1" } ] } ] } ] } ] }, //基础资源三选一 "Pre_Op_1_ExtraChoice_1": { "Actions": [ { "$type": "Share.CConfigChoiceServer", "OptionsMode": "Normal", "ShowMode": "Event", "Choices": [ { "OptionText": "Event_Common_RecoverHp", "OptionItemID1": "specials(HpItem)", // "OptionDesc1": "全队生命值回复{specials(HpRecover)}%", "OptionDesc1": "Event_1011019_NormalChoice1_Des", "TitleText": "Item_TeamMedicineHp_common_name", "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigModifyProperty", "Property": "Hp", "Count": "property(HpMax_Battle)*specials(HpRecover)*0.01" }, { "$type": "Share.CConfigJump", "Jump": "Pre_Op_Over_1" } ] } ] }, { "OptionText": "Event_Common_GetCoin", "OptionItemID1": "specials(GoldItem)", // "OptionDesc1": "获得{specials(Gold)}齿轮硬币", "OptionDesc1": "Event_1011019_NormalChoice2_Des", "TitleText": "Item_RL_Purse_common_name", "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigAddItem", "ItemID": 1, "Count": "specials(Gold)" }, { "$type": "Share.CConfigJump", "Jump": "Pre_Op_Over_1" } ] } ] }, { "SelectGroup": 3, "OptionText": "Event_Common_StaminaDown", "OptionText2": "NormalBattleChoice3_Title_split", "OptionItemID1": "specials(StaminaItem)", // "OptionDesc1": "Event_1011019_NormalChoice3_Des", "OptionDesc1": "Event_1011019_NormalChoice3_Des", "TitleText": "Item_TeamMedicinePr_common_name", "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigModifySceneProperty", "Property": "Stamina", "Count": "-specials(Stamina)" }, { "$type": "Share.CConfigJump", "Jump": "Pre_Op_Over_1" } ] } ] } ] // "ExtraChoice": { // "OptionContents": [ // { // "Actions": [ // { // "$type": "Share.CConfigJump", // "Jump": "Pre_Op_Over_1" // } // ] // } // ] // } } ] }, "Pre_Op_1_Over_1": { "Actions": [ { "$type": "Share.CConfigLogText", "Messages": [ // "你们找到了一些还能用的补给品。" "Event_1011020_Sec1_OP_1_Over_1" ] }, { "$type": "Share.CConfigJump", "Jump": "Pre_Op_1_ExtraChoice_1" } ] }, //神器三选一 "Pre_Op_2_Over_1": { "Actions": [ { "$type": "Share.CConfigLogText", "Messages": [ // "在掩体后面,你们发现了几只手足无措的邦布,看样子是被逃生的调查员抛下了,选择一只带离空洞吧。", "Event_1011020_Sec1_OP_2_Over_11", // "“威胁警报,威胁警报。”但邦布不知是受惊了还是出BUG了,一直发出以骸接近的警报。" "Event_1011020_Sec1_OP_2_Over_12" ] }, { //+1000金币 "$type": "Share.CConfigAddItem", "ItemID": 1, "Count": "specials(Award)" }, // { // "$type":"Share.CConfigRandomArcana", // "ArcanaCount": 3, // "Slot1" : 1, // "Slot2" : 2, // "Slot3" : 3, // "OnSuccess" : "Pre_Op_2_Over_2" // }, { "$type": "Share.CConfigJump", "Jump": "Pre_Op_2_Over_2" } ] }, "Pre_Op_2_Over_2": { "Actions": [ // { // "$type": "Share.CConfigDropCurse", // "CurseID": "specials(CurseID1)" // }, { "$type": "Share.CConfigJump", "Jump": "Pre_Op_Over_1" } ] }, "Pre_Op_3_Over_1": { "Actions": [ { "$type": "Share.CConfigLogText", "Messages": [ // "你们注意到了一块特别的骸章,它散发出的气息怎么说呢……很“新鲜”,像是某个以骸刚掉下的。" "Event_1011020_Sec1_OP_3_Over_1", "JsonText_861", // 前面的蛆,不应该存在吧!\n如果发现请通知空洞管理员 "JsonText_861", // 前面的蛆,不应该存在吧!\n如果发现请通知空洞管理员 "JsonText_861" // 前面的蛆,不应该存在吧!\n如果发现请通知空洞管理员 ] }, //发放污染骸章 //功能未实装,不应该跳到此处 { "$type": "Share.CConfigJump", "Jump": "Pre_Op_Over_1" } ] }, "Pre_Op_4_Over_1": { "Actions": [ { "$type": "Share.CConfigLogText", "Messages": [ // "总觉得这里很危险,还是先离开吧。" "Event_1011020_Sec1_OP_4_Over_1" ] }, { "$type": "Share.CConfigDropCurse", "CurseID": "specials(BlessID1)" }, { "$type": "Share.CConfigJump", "Jump": "Pre_Op_Over_1" } ] }, "Pre_Op_Over_1": { "Actions": [ { "$type": "Share.CConfigCloseDialog" }, { "$type": "Share.CConfigFinishEvent" } ] }, "Pre_Op_Over_2": { "Actions": [ // { // "$type": "Share.CConfigDropCurse", // "CurseID": "specials(CurseID1)" // }, { "$type": "Share.CConfigCloseDialog" }, { "$type": "Share.CConfigFinishEvent" } ] }, //后触发情况 "OnStartAfter": { "Actions": [ { "$type": "Share.CConfigOpenDialog" }, { "$type": "Share.CConfigLogText", "Messages": [ // "你们发现一个巨大的以骸,想起了那个哭泣的盗洞客少女,应该就是它了!" "Event_1011020_Sec2_Log_1" ] }, { "$type": "Share.CConfigJump", "Jump": "After_Choice" } ] }, "After_Choice": { "Actions": [ { "$type": "Share.CConfigChoiceServer", "OptionsMode": "Normal", // "Description" : "要怎么做?", "Description": "Event_1011020_Sec2_Des_1", "Choices": [ //【1】物资一,索要祝福 // { // // "OptionText" : "动手吧(进入普通战斗,然后获得【振奋】复仇的遗志)", // "OptionText": "Event_1011020_Sec2_OP_1", // "OptionText2": "Event_1011020_Sec2_OP_1_split", // "OptionContents": [ // { // "Actions": [ // { // "$type": "Share.CConfigJump", // "Jump": "After_Op_1_Battle" // } // ] // } // ] // }, //【2】资源二,神器三选一 { // "OptionText" : "观察周围的掩体(获得{specials(Award)}齿轮硬币)", "OptionText": "Event_1011020_Sec2_OP_2", "OptionText2": "Event_1011020_Sec2_OP_2_split", "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "After_Op_2_Over_1" } ] } ] }, //【3】资源三,污染卡牌&需要实际去设计,先暂时不存在此选项吧 /*{ // "OptionText" : "那块骸章……(选择一些污染卡牌,未实装)", "OptionText" : "Event_1011020_Sec2_OP_3", "OptionText2" : "Event_1011020_Sec2_OP_3_split", "Predecates": [ { "$type":"Share.CConfigEventBySpecials", "ParamName":"none", "Param":100, "CompareType":"Equal" } ], "OptionContents" : [ { "Actions" : [ { "$type" : "Share.CConfigJump", "Jump" : "Pre_Op_3_Over_1" } ] } ] },*/ //【4】离开 { "OptionText": "JsonText_862", // 搜索遗落物 "OptionText2": "JsonText_843", // (离开) "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "After_Op_4_Over_1" } ] } ] } ] } ] }, "After_Op_1_Battle": { "Actions": [ { "$type": "Share.CConfigLogText", "Messages": [ // "为逝去的同行报仇!" "Event_1011020_Sec2_OP_1_Over_11" ] }, { "$type": "Share.CConfigTriggerBattle", "BattleID": "specials(BattleID)", "OnSuccess": "After_Op_1_Over" } ] }, "After_Op_1_Over": { "Actions": [ { "$type": "Share.CConfigLogText", "Messages": [ // "为逝去的同行报仇!" "Event_1011020_Sec2_OP_1_Over_12" ] }, { "$type": "Share.CConfigDropCurse", "CurseID": "specials(BlessID1)" }, { "$type": "Share.CConfigJump", "Jump": "After_OnEnd" } ] }, //神器三选一 "After_Op_2_Over_1": { "Actions": [ { "$type": "Share.CConfigLogText", "Messages": [ // "在以骸的附近,你们发现了几只手足无措的邦布,看样子是被逃生的调查员抛下了,选择一只带离空洞吧。" "Event_1011020_Sec2_OP_2_Over_11" ] }, { //+1000金币 "$type": "Share.CConfigAddItem", "ItemID": 1, "Count": "specials(Award)" }, // { // "$type":"Share.CConfigRandomArcana", // "ArcanaCount": 3, // "Slot1" : 1, // "Slot2" : 2, // "Slot3" : 3, // "OnSuccess" : "After_Op_2_Over_2" // }, { "$type": "Share.CConfigJump", "Jump": "After_Op_2_Over_2" } ] }, "After_Op_2_Over_2": { "Actions": [ { "$type": "Share.CConfigLogText", "Messages": [ // "就在这时,以骸发现了邦布,顺带也发现了你们,快跑!" "Event_1011020_Sec2_OP_2_Over_12" ] }, // { // "$type": "Share.CConfigDropCurse", // "CurseID": "specials(CurseID1)" // }, { "$type": "Share.CConfigJump", "Jump": "After_OnEnd" } ] }, "After_Op_3_Over_1": { "Actions": [ { "$type": "Share.CConfigLogText", "Messages": [ // "你们注意到了一块特别的骸章,它散发出的气息怎么说呢……很“新鲜”,像是某个以骸刚掉下的。" "Event_1011020_Sec2_OP_3_Over_1", "JsonText_863", // 前面的蛆,以后再来探索吧\n如果发现请通知空洞管理员 "JsonText_863", // 前面的蛆,以后再来探索吧\n如果发现请通知空洞管理员 "JsonText_863" // 前面的蛆,以后再来探索吧\n如果发现请通知空洞管理员 ] }, //发放污染骸章 //功能未实装,不应该跳到此处 { "$type": "Share.CConfigJump", "Jump": "After_OnEnd" } ] }, //选项四给资源,但是现在不给了 // "After_Op_4_ExtraChoice_1": // [ // { // "$type" : "Share.CConfigChoiceServer", // "OptionsMode" : "Normal", // "ShowMode" : "Event", // "Choices" : // [ // { // "OptionText" : "Event_Common_RecoverHp", // "OptionItemID1" : "specials(HpItem)", // "OptionDesc1": "全队生命值回复{specials(HpRecover)*2}%", // "TitleText" : "Item_TeamMedicineHp_02_name", // "OptionContents" : // [ // { // "Actions" : // [ // { // "$type" : "Share.CConfigModifyProperty", // "Property" : "Hp", // "Count" : "property(HpMax_Battle)*specials(HpRecover)*0.01*2" // }, // { // "$type" : "Share.CConfigJump", // "Jump" : "After_Op_2_Over_1" // } // ] // } // ] // }, // { // "OptionText" : "Event_Common_GetCoin", // "OptionItemID1" : "specials(GoldItem)", // "OptionDesc1": "获得{specials(Gold)*2}金币", // "TitleText" : "Item_RL_Purse_03_name", // "OptionContents" : // [ // { // "Actions" : // [ // { // "$type" : "Share.CConfigAddItem", // "ItemID" : 1, // "Count" : "specials(Gold)*2" // }, // { // "$type" : "Share.CConfigJump", // "Jump" : "After_Op_2_Over_1" // } // ] // } // ] // }, // { // "SelectGroup" : 3, // "OptionText" : "Event_Common_StaminaDown", // "OptionItemID1" : "specials(StaminaItem)", // "OptionDesc1": "压力值下降{specials(Stamina)*2}点", // "TitleText" : "Item_TeamMedicinePr_02_name", // "OptionContents" : // [ // { // "Actions" : // [ // { // "$type" : "Share.CConfigModifySceneProperty", // "Property" : "Stamina", // "Count" : "-specials(Stamina)*2" // }, // { // "$type" : "Share.CConfigJump", // "Jump" : "After_Op_2_Over_1" // } // ] // } // ] // } // ], // "ExtraChoice": // { // "OptionContents": // [ // { // "Actions": // [ // { // "$type": "Share.CConfigJump", // "Jump": "After_Op_2_Over_1" // } // ] // } // ] // } // } // ], "After_Op_4_Over_1": { "Actions": [ { "$type": "Share.CConfigLogText", "Messages": [ // "你们小心谨慎地搜索了一番,但是什么也没有找到" "Event_1011020_Sec2_OP_4_Over_1" ] }, { "$type": "Share.CConfigJump", "Jump": "After_OnEnd" } ] }, "After_OnEnd": { "Actions": [ { "$type": "Share.CConfigEventModification", "ModifyID": 10110201, "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "EventMarker.{specials(TriggerEvent)}", "Count": "hollowlevel()+1", "CompareType": "Equal" } ] }, { "$type": "Share.CConfigEventModification", "ModifyID": 10110202, "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "EventMarker.{specials(TriggerEvent)}", "Count": "hollowlevel()+1", "CompareType": "NotEqual" } ] }, { "$type": "Share.CConfigCloseDialog" }, { "$type": "Share.CConfigFinishEvent" } ] } } } // { // "GraphName" : 1011020, // "EventID" : 1011020, // "Events" : // { // //交换仪 // "OnStart" : // [ // { // "$type" : "Share.CConfigOpenDialog" // }, // { // "$type" : "Share.CConfigLogText", // "Messages" : // [ // "Event_1011020_Log_1_1" // ] // }, // { // "$type" : "Share.CConfigRandomCardIDFromItem", // "Type" : 0, // "SpecialName" : // [ // "RandomCard1", // "RandomCard2", // "RandomCard3" // ] // }, // { // "$type" : "Share.CConfigRandomDropID", // "Type" : "Card", // "SpecialName" : // [ // "RandomCard4", // "RandomCard5", // "RandomCard6" // ] // }, // { // "$type" : "Share.CConfigChoiceServer", // "OptionsMode" : "Normal", // "Description" : "Event_1011020_Des_1", // "ShowMode" : "Event", // "Choices" : // [ // { // "OptionText" : "Event_1011020_op_1", // "OptionItemID1" : "specials(RandomCard4)", // "OptionItemID2" : "specials(RandomCard1)", // "OptionDesc1": "{#RandomCard4}:{$RandomCard4}", // "OptionDesc2": "{#RandomCard1}:{$RandomCard1}", // "TitleText" : "交换物品", // "OptionIconMode" : "Replace", // "OptionIconState" : "Replace", // "Predicates" : // [ // { // //有1卡牌 // "$type" : "Share.CConfigEventByTarotCard", // "CardType" : 0, // "CompareType" : "GreaterEqual", // "Count" : 1 // } // ], // "OptionContents" : // [ // { // "Actions" : // [ // { // //失去卡牌 // "$type" : "Share.CConfigRemoveCard", // "ItemID" : "specials(RandomCard1)", // "Count" : 1 // }, // { // //卡牌 // "$type" : "Share.CConfigDropPool", // "Type" : "Card", // "ItemID": "specials(RandomCard4)", // "Num" : 1 // }, // { // "$type" : "Share.CConfigJump", // "Jump" : "Op_1_Over_1" // } // ] // } // ] // }, // { // "OptionText" : "Event_1011020_op_2", // "OptionItemID1" : "specials(RandomCard5)", // "OptionItemID2" : "specials(RandomCard2)", // "OptionDesc1": "{#RandomCard5}:{$RandomCard5}", // "OptionDesc2": "{#RandomCard2}:{$RandomCard2}", // "TitleText" : "交换物品", // "OptionIconMode" : "Replace", // "OptionIconState" : "Replace", // "Predicates" : // [ // { // //有1卡牌 // "$type" : "Share.CConfigEventByTarotCard", // "CardType" : 0, // "CompareType" : "GreaterEqual", // "Count" : 2 // } // ], // "OptionContents" : // [ // { // "Actions" : // [ // { // //失去卡牌 // "$type" : "Share.CConfigRemoveCard", // "ItemID" : "specials(RandomCard2)", // "Count" : 1 // }, // { // //卡牌 // "$type" : "Share.CConfigDropPool", // "Type" : "Card", // "ItemID": "specials(RandomCard5)", // "Num" : 1 // }, // { // "$type" : "Share.CConfigJump", // "Jump" : "Op_2_Over_1" // } // ] // } // ] // }, // { // "OptionText" : "Event_1011020_op_3", // "OptionItemID1" : "specials(RandomCard6)", // "OptionItemID2" : "specials(RandomCard3)", // "OptionDesc1": "{#RandomCard6}:{$RandomCard6}", // "OptionDesc2": "{#RandomCard3}:{$RandomCard3}", // "TitleText" : "交换物品", // "OptionIconMode" : "Replace", // "OptionIconState" : "Replace", // "Predicates" : // [ // { // //有1卡牌 // "$type" : "Share.CConfigEventByTarotCard", // "CardType" : 0, // "CompareType" : "GreaterEqual", // "Count" : 3 // } // ], // "OptionContents" : // [ // { // "Actions" : // [ // { // //失去卡牌 // "$type" : "Share.CConfigRemoveCard", // "ItemID" : "specials(RandomCard3)", // "Count" : 1 // }, // { // //卡牌 // "$type" : "Share.CConfigDropPool", // "Type" : "Card", // "ItemID": "specials(RandomCard6)", // "Num" : 1 // }, // { // "$type" : "Share.CConfigJump", // "Jump" : "Op_3_Over_1" // } // ] // } // ] // } // ], // "ExtraChoice": // { // "OptionContents": // [ // { // "Actions": // [ // { // "$type": "Share.CConfigJump", // "Jump": "Op_4_Over_1" // } // ] // } // ] // } // } // ], // "Op_1_Over_1": // [ // { // "$type" : "Share.CConfigLogText", // "Messages" : // [ // "Event_1011020_op_1_over_1" // ] // }, // { // "$type" : "Share.CConfigJump", // "Jump" : "OnEnd" // } // ], // "Op_2_Over_1": // [ // { // "$type" : "Share.CConfigLogText", // "Messages" : // [ // "Event_1011020_op_2_over_1" // ] // }, // { // "$type" : "Share.CConfigJump", // "Jump" : "OnEnd" // } // ], // "Op_3_Over_1": // [ // { // "$type" : "Share.CConfigLogText", // "Messages" : // [ // "Event_1011020_op_3_over_1" // ] // }, // { // "$type" : "Share.CConfigJump", // "Jump" : "OnEnd" // } // ], // "Op_4_Over_1": // [ // { // "$type" : "Share.CConfigLogText", // "Messages" : // [ // "Event_1011020_op_4_over_1" // ] // }, // { // "$type" : "Share.CConfigJump", // "Jump" : "OnEnd" // } // ], // "OnEnd" : // [ // { // "$type" : "Share.CConfigCloseDialog" // }, // { // "$type" : "Share.CConfigFinishEvent" // } // ] // }, // "EventSpecials" : // { // "RandomCard1" : 0, // "RandomCard2" : 0, // "RandomCard3" : 0, // "RandomCard4" : 0, // "RandomCard5" : 0, // "RandomCard6" : 0 // } // }