{ "ID": 2010020, //特别服务 "Specials": { "Price":500, "EPCharge":50, "emptyHollowItem":0 }, "Events": { "OnStart":{ "Actions":[ { "$type": "Share.CActionChangeHollowEventWeightCfg", "EventID": 2010020, "WeightFactor": 0 }, { "$type": "Share.CConfigOpenDialog" }, //判断是否有插件 { "$type":"Share.CConfigIf", "OnSuccess": "Option_0", "OnFailure": "OnEmpty", "Conditions":[ { "$type": "Share.CConfigEventBySpecials", "ParamName": "emptyHollowItem", "Param":"hollowitem()", "CompareType":"NotEqual" } ] } ] }, "Option_0": { "Actions": [ { "$type": "Share.CConfigChoiceServer", "OptionsMode": "Normal", "Title": "Event2010020_Title", "Description": "Event2010020_1", "QuestionDescription": "Event2010020_2", "Choices": [ { "OptionText": "Event2010020_3", "OptionText2": "Event2010020_3_1", "OptionIcon1": 104, "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "Option_1" } ] } ] }, { "OptionText": "Event2010020_4", "OptionText2": "Event2010020_5", "OptionIcon1": 106, "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "Quit" } ] } ] } ] } ] }, "Option_1": { "Actions": [ //判断金币够不够500 { "$type":"Share.CConfigJump", "Jump":"NoMoney", "Predicates":[ { "$type": "Share.CConfigEventByItemID", "ItemID": 1, "CompareType": "Less", "Count": "specials(Price)" } ] }, { "$type": "Share.CConfigChoiceServer", "OptionsMode": "Normal", "Title": "Event2010020_Title", "Description": "Event2010020_6", "QuestionDescription": "Event2010020_7", "Choices": [ { "OptionText": "Event2010020_9", "OptionText2": "Event2010020_10", "OptionIcon1": 104, "Predicates":[ { "$type": "Share.CConfigEventByItemID", "ItemID": 1, "CompareType": "GreaterEqual", "Count": "specials(Price)" } ], "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "End_A" } ] } ] }, { "OptionText": "Event2010020_11", "OptionText2": "Event2010020_12", "OptionIcon1": 104, "Predicates":[ { "$type": "Share.CConfigEventByItemID", "ItemID": 1, "CompareType": "GreaterEqual", "Count": "2*specials(Price)" } ], "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "End_B" } ] } ] }, { "OptionText": "Event2010020_13", "OptionText2": "Event2010020_14", "OptionIcon1": 106, "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "Quit" } ] } ] } ] } ] }, "OnEmpty": { "Actions": [ { "$type": "Share.CConfigChoiceServer", "OptionsMode": "Normal", "Title": "Event2010020_Title", "Description": "Event2010020_1", "QuestionDescription": "Event2010020_2", "Choices": [ { "OptionText": "Event2010020_20", "OptionText2": "Event2010020_21", "OptionIcon1": 106, "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] } ] } ] } ] }, "End_A": { "Actions": [ //判断Ep满不满 //待添加 { "$type": "Share.CConfigLogText", "Messages": [ "Event2010020_15" ] }, { "$type": "Share.CConfigAddItem", "ItemID": 1, "Count": "-specials(Price)" }, { "$type": "Share.CConfigSetHollowItem", "EPCharge": "specials(EPCharge)" }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "End_B": { "Actions": [ //判断Ep满不满 //待添加 { "$type": "Share.CConfigLogText", "Messages": [ "Event2010020_16" ] }, { "$type": "Share.CConfigAddItem", "ItemID": 1, "Count": "-2*specials(Price)" }, { "$type": "Share.CConfigSetHollowItem", "EPCharge": "2*specials(EPCharge)" }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "Quit": { "Actions": [ { "$type": "Share.CConfigLogText", "Messages": ["Event2010020_8"] }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "EPFull":{ "Actions": [ { "$type": "Share.CConfigLogText", "Messages": ["Event2010020_18"] }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "NoMoney":{ "Actions":[ { "$type": "Share.CConfigLogText", "Messages": ["Event2010020_19"] }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "OnEnd": { "Actions": [ { "$type": "Share.CConfigCloseDialog" }, { "$type": "Share.CConfigFinishEvent" } ] } } }