{ "ID": 1011002, "Events": { //起始执行的事件 "OnStart": { "Actions": [ { "$type": "Share.CConfigOpenDialog" }, { "$type": "Share.CConfigLogText", "Messages": [ "Event_1011002_Log_1_1", "Event_1011002_Log_1_2" ] }, { //根据选项模式选择选项 "$type": "Share.CConfigChoiceServer", "OptionsMode": "Normal", "Description": "Event_1011002_Des_1", "Choices": [ //-20压力 { "OptionText": "Event_1011002_op_1", "OptionText2": "Event_1011002_op_1_split", "OptionContents": [ // { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "Op_1_Over_1" } ] } ] }, //没有抱枕,则获得邦布抱枕 { "OptionText": "Event_1011002_op_2", "OptionText2": "Event_1011002_op_2_split", "Predicates": [ { //没邦布抱枕 "$type": "Share.CConfigEventByItemID", "ItemID": "specials(card_1)", "CompareType": "Equal", "Count": 0 } ], "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "Op_2_Over_1" } ] } ] }, //有骸章纸飞机后获得祝福 // { // "OptionText": "Event_1011002_op_3", // "OptionText2": "Event_1011002_op_3_split", // "Predicates": [ // { // //有纸飞机 // "$type": "Share.CConfigEventByItemID", // "ItemID": "specials(card_2)", // "CompareType": "Equal", // "Count": 1 // } // ], // "OptionContents": [ // { // "Actions": [ // { // "$type": "Share.CConfigJump", // "Jump": "Op_3_Over_1" // } // ] // } // ] // }, //润了润了 { "OptionText": "Event_1011002_op_4", "OptionText2": "Event_1011002_op_4_split", "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "Op_4_Over_1" } ] } ] } ] } ] }, "Op_1_Over_1": //-20压力 { "Actions": [ { "$type": "Share.CConfigLogText", "Messages": [ "Event_1011002_op_1_over_1", "Event_1011002_op_1_over_2" ] }, { "$type": "Share.CConfigModifySceneProperty", "Property": "Stamina", "Count": "-specials(op_1)" }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "Op_2_Over_1": //获得邦布抱枕 1001005 { "Actions": [ { "$type": "Share.CConfigLogText", "Messages": [ "Event_1011002_op_2_over_1", "Event_1011002_op_2_over_2" ] }, { "$type": "Share.CConfigAddItem", "ItemID": "specials(card_1)", "Count": 1 }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "Op_3_Over_1": //祝福 令人眩晕的爱情 { "Actions": [ { "$type": "Share.CConfigLogText", "Messages": [ "Event_1011002_op_3_over_1", "Event_1011002_op_3_over_2", "Event_1011002_op_3_over_3" ] }, { "$type": "Share.CConfigDropCurse", "CurseID": "specials(bless_1)", "Stack": "Unique" }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "Op_4_Over_1": //润了 { "Actions": [ { "$type": "Share.CConfigLogText", "Messages": [ "Event_1011002_op_4_over_1" ] }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "OnEnd": { "Actions": [ { "$type": "Share.CActionChangeHollowEventWeightCfg", "EventID": 1011002, "WeightFactor": 0 }, { "$type": "Share.CActionChangeHollowEventWeightCfg", "EventID": 1011003, "WeightFactor": 10000, "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "HaveBeenTo.1011003", "Count": 0, "CompareType": "Equal" } ] }, { "$type": "Share.CConfigSetHollowVariable", "Key": "HaveBeenTo.1011002", "Value": 1 }, { "$type": "Share.CConfigCloseDialog" }, { "$type": "Share.CConfigFinishEvent" } ] } }, "Specials": { //表格参数 "op_1": 20, "card_1": 1001005, //邦布抱枕 "card_2": 1001006, //纸飞机 "bless_1": 1105002 } }