//雾天特殊事件 { "ID": 2020304, "Events": { "OnStart": { "Actions": [ { "$type": "Share.CConfigOpenDialog" }, { "$type": "Share.CConfigChoiceServer", "OptionsMode": "Normal", "Title":"Event2020304_Title", //躺平一族 "Description": "Event2020304_1", //你们看到一个人躺在地上,急忙上前想.... "QuestionDescription":"Event2020304_2", //这家伙,看上去是镇静剂使用过量了。 "Choices": [ { "OptionText": "Event2020304_3", // 拿一支就好。 "OptionText2": "Event2020304_4", // 降低{specials(stamina0)}压力值 "OptionIcon1":105, "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "Op_0_Over_1" } ] } ] }, { "OptionText": "Event2020304_5", // 还有吗?我们全买了! "OptionText2": "Event2020304_6", // 花费{specials(coin)}枚齿轮硬币,降低{specials(stamina1)}点压力值 "OptionIcon1":105, "Predicates": [ { //拥有足够金钱钱 "$type": "Share.CConfigEventByItemID", "ItemID": 1, "CompareType": "GreaterEqual", "Count": "specials(coin)" } ], "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "Op_1_Over_1" } ] } ] }, { "OptionText": "Event2020304_7", // 这里面有一瓶颜色有些特别…… "OptionText2": "Event2020304_8", // {specials(odd)}%概率清除一个侵蚀,{100-specials(odd)}%概率增加{specials(stamina2)}点压力值 "OptionIcon1":107, "Predicates": [ { //有诅咒 "$type": "Share.CConfigEventByCurse", // "Type": 1, "CompareType": "Greater", "Count": 0 } ], "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "Op_2_Over_1" } ] } ] } ] } ] }, "Op_0_Over_1": { "Actions": [ { "$type": "Share.CConfigLogText", "Messages": [ "Event2020304_9" // 你们向男人表示了感谢,并劝他赶紧起身离开空洞,但他却无动于衷。 ] }, { //-30压力值 "$type" : "Share.CConfigModifySceneProperty", "Property" : "Stamina", "Count" : "-specials(stamina0)" }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "Op_1_Over_1": { "Actions": [ { //获得金币 "$type": "Share.CConfigAddItem", "ItemID": 1, "Count": "-specials(coin)" }, { "$type": "Share.CConfigLogText", "Messages": [ "Event2020304_10" // 你们买下了所有的镇静剂,男人嘟囔着爬起了身,看来这些镇静剂给予了他在空洞里躺平的勇气。 ] }, { //-30压力值 "$type" : "Share.CConfigModifySceneProperty", "Property" : "Stamina", "Count" : "-specials(stamina1)" }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "Op_2_Over_1": { "Actions": [ { "$type": "Share.CConfigLogText", "Messages": [ "Event2020304_11", // 「这是我自己调配的,效果更强…理论上是这样的。别看我这幅样子,这都是为了检验研究成果哦。」 "Event2020304_14" // 队员们将信将疑使用了特殊镇静剂,感觉…… ] }, { "$type": "Share.CConfigIf", "OnSuccess": "Op_2_Over_2", "OnFailure": "Op_2_Over_3", "Conditions":[ { "$type": "Share.CConfigEventByRandom", "Odds": "specials(odd)" //跳转概率 } ] } ] }, "Op_2_Over_2": { //消除诅咒 "Actions": [ //------观测任务------ { //布布存钱罐 "$type":"Share.CConfigSetConditionProgress", "ConditionID":30060127, "Progress":1, "ModifyType":"Add" }, //------------ { "$type": "Share.CConfigLogText", "Messages": [ "Event2020304_15" // 从没有像现在这样好! ] }, { //主动清除1个诅咒 "$type": "Share.CConfigRemoveCurse", "RemoveType": "Initiative", "Count": 1 }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "Op_2_Over_3": { //获得压力 "Actions": [ { "$type": "Share.CConfigLogText", "Messages": [ "Event2020304_16" // 不太对劲,压力非但没有下降还……人呢,刚才那个人怎么不见了? ] }, { //-30压力值 "$type" : "Share.CConfigModifySceneProperty", "Property" : "Stamina", "Count" : "specials(stamina2)" }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "OnEnd": { "Actions": [ { "$type": "Share.CConfigCloseDialog" }, { "$type": "Share.CConfigFinishEvent" } ] } }, "Specials": { //表格参数 "coin":800, "stamina0":20, "stamina1":40, "stamina2":60, "odd":50 } }