{ "ID": 2010010, //以币换币 "Specials": { "Stamina": 10, "Price": 250, "Coin":100 }, "Events": { "OnStart": { "Actions": [ { "$type": "Share.CActionChangeHollowEventWeightCfg", "EventID": 2010010, "WeightFactor": 0 }, { "$type": "Share.CConfigOpenDialog" }, { "$type": "Share.CConfigChoiceServer", "OptionsMode": "Normal", "Title": "Event2010010_Title", "Description": "Event2010010_1", "QuestionDescription": "Event2010010_2", "Choices": [ { "OptionText": "Event2010010_3", //-5000 "OptionText2": "Event2010010_4", "OptionIcon1": 102, "Predicates":[ { "$type": "Share.CConfigEventByItemID", "ItemID": 1, "CompareType": "GreaterEqual", "Count": 1 } ], "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigAddItem", "ItemID": 1, "Count": -1 }, { "$type": "Share.CConfigJump", "Jump": "OnRandom" } ] } ] }, { "OptionText": "Event2010010_5", "OptionText2": "Event2010010_6", "OptionIcon1": 106, "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "Quit" } ] } ] } ] } ] }, "OnRandom": { "Actions": [ { "$type": "Share.CConfigSwitchServer", "Switch": [ { "Weight": 1, "Actions": [ { "$type": "Share.CConfigJump", "Jump": "Option_1" } ] }, { "Weight": 1, "Actions": [ { "$type": "Share.CConfigJump", "Jump": "Option_2" } ] }, { "Weight": 1, "Actions": [ { "$type": "Share.CConfigJump", "Jump": "Option_3" } ] } ] } ] }, "Option_1": { "Actions": [ { "$type": "Share.CConfigChoiceServer", "OptionsMode": "Normal", "Title": "Event2010010_Title", "Description": "Event2010010_7", "QuestionDescription": "Event2010010_8", "Choices": [ { "OptionText": "Event2010010_13", //-2500 "OptionText2": "Event2010010_14", "OptionIcon1": 102, "Predicates":[ { "$type": "Share.CConfigEventByItemID", "ItemID": 1, "CompareType": "GreaterEqual", "Count": "2*specials(Coin)" } ], "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "End_A" } ] } ] }, { "OptionText": "Event2010010_17", "OptionText2": "Event2010010_18", "OptionIcon1": 102, "Predicates":[ { "$type": "Share.CConfigEventByItemID", "ItemID": 1, "CompareType": "GreaterEqual", "Count": "specials(Coin)" } ], "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "End_B" } ] } ] }, { "OptionText": "Event2010010_33", "OptionText2": "Event2010010_34", "OptionIcon1": 106, "Predicates":[ { "$type": "Share.CConfigEventByItemID", "ItemID": 1, "CompareType": "Less", "Count": "specials(Coin)" } ], "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "Quit2" } ] } ] } ] } ] }, "Option_2": { "Actions": [ { "$type": "Share.CConfigChoiceServer", "OptionsMode": "Normal", "Title": "Event2010010_Title", "Description": "Event2010010_9", "QuestionDescription": "Event2010010_10", "Choices": [ { "OptionText": "Event2010010_13", //-2500 "OptionText2": "Event2010010_15", "OptionIcon1": 102, "Predicates":[ { "$type": "Share.CConfigEventByItemID", "ItemID": 1, "CompareType": "GreaterEqual", "Count": "2*specials(Coin)" } ], "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "End_C" } ] } ] }, { "OptionText": "Event2010010_17", "OptionText2": "Event2010010_19", "OptionIcon1": 102, "Predicates":[ { "$type": "Share.CConfigEventByItemID", "ItemID": 1, "CompareType": "GreaterEqual", "Count": "specials(Coin)" } ], "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "End_D" } ] } ] }, { "OptionText": "Event2010010_33", "OptionText2": "Event2010010_34", "OptionIcon1": 106, "Predicates":[ { "$type": "Share.CConfigEventByItemID", "ItemID": 1, "CompareType": "Less", "Count": "specials(Coin)" } ], "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "Quit2" } ] } ] } ] } ] }, "Option_3": { "Actions": [ { "$type": "Share.CConfigChoiceServer", "OptionsMode": "Normal", "Title": "Event2010010_Title", "Description": "Event2010010_11", "QuestionDescription": "Event2010010_12", "Choices": [ { "OptionText": "Event2010010_13", "OptionText2": "Event2010010_16", "OptionIcon1": 102, "Predicates":[ { "$type": "Share.CConfigEventByItemID", "ItemID": 1, "CompareType": "GreaterEqual", "Count": "2*specials(Coin)" } ], "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "End_E" } ] } ] }, { "OptionText": "Event2010010_17", "OptionText2": "Event2010010_20", "OptionIcon1": 102, "Predicates":[ { "$type": "Share.CConfigEventByItemID", "ItemID": 1, "CompareType": "GreaterEqual", "Count": "specials(Coin)" } ], "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "End_F" } ] } ] }, { "OptionText": "Event2010010_33", "OptionText2": "Event2010010_34", "OptionIcon1": 106, "Predicates":[ { "$type": "Share.CConfigEventByItemID", "ItemID": 1, "CompareType": "Less", "Count": "specials(Coin)" } ], "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "Quit2" } ] } ] } ] } ] }, "End_A": { //+500coin,+20st or +20st "Actions": [ { "$type": "Share.CConfigSwitchServer", "Switch": [ { "Weight": 8, "Actions": [ { "$type": "Share.CConfigJump", "Jump": "End_A_1" } ] }, { "Weight": 2, "Actions": [ { "$type": "Share.CConfigJump", "Jump": "End_A_2" } ] } ] }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "End_A_1": { //+500coin,+20st or +20st "Actions": [ { "$type": "Share.CConfigLogText", "Messages": [ "Event2010010_21", "Event2010010_21_1" ] }, //钱 { "$type": "Share.CConfigAddItem", "ItemID": 1, "Count": "2*specials(Price)" }, //压力 { "$type": "Share.CConfigModifySceneProperty", "Property": "Stamina", "Count": "2*specials(Stamina)" }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "End_A_2": { //+500coin,+20st or +20st "Actions": [ { "$type": "Share.CConfigLogText", "Messages": [ "Event2010010_22", "Event2010010_22_1" ] }, //钱-200 { "$type": "Share.CConfigAddItem", "ItemID": 1, "Count": "-2*specials(Coin)" }, { "$type": "Share.CConfigModifySceneProperty", "Property": "Stamina", "Count": "2*specials(Stamina)" }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "End_B": { //+250coin,+10st or +10st "Actions": [ { "$type": "Share.CConfigSwitchServer", "Switch": [ { "Weight": 8, "Actions": [ { "$type": "Share.CConfigJump", "Jump": "End_B_1" } ] }, { "Weight": 2, "Actions": [ { "$type": "Share.CConfigJump", "Jump": "End_B_2" } ] } ] }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "End_B_1": { //+250coin,+10st or +10st "Actions": [ { "$type": "Share.CConfigLogText", "Messages": ["Event2010010_23"] }, //钱 { "$type": "Share.CConfigAddItem", "ItemID": 1, "Count": "specials(Price)" }, //压力 { "$type": "Share.CConfigModifySceneProperty", "Property": "Stamina", "Count": "specials(Stamina)" }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "End_B_2": { //+250coin,+10st or +10st "Actions": [ { "$type": "Share.CConfigLogText", "Messages": ["Event2010010_24"] }, //钱-100 { "$type": "Share.CConfigAddItem", "ItemID": 1, "Count": "-specials(Coin)" }, { "$type": "Share.CConfigModifySceneProperty", "Property": "Stamina", "Count": "specials(Stamina)" }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "End_C": { //+500coin,+20st or +20st "Actions": [ { "$type": "Share.CConfigSwitchServer", "Switch": [ { "Weight": 5, "Actions": [ { "$type": "Share.CConfigJump", "Jump": "End_C_1" } ] }, { "Weight": 5, "Actions": [ { "$type": "Share.CConfigJump", "Jump": "End_C_2" } ] } ] }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "End_C_1": { //+250coin,+10st or +10st "Actions": [ { "$type": "Share.CConfigLogText", "Messages": [ "Event2010010_25", "Event2010010_25_1" ] }, //钱 { "$type": "Share.CConfigAddItem", "ItemID": 1, "Count": "2*specials(Price)" }, //压力 { "$type": "Share.CConfigModifySceneProperty", "Property": "Stamina", "Count": "2*specials(Stamina)" }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "End_C_2": { //+250coin,+10st or +10st "Actions": [ { "$type": "Share.CConfigLogText", "Messages": [ "Event2010010_26", "Event2010010_26_1" ] }, //钱-200 { "$type": "Share.CConfigAddItem", "ItemID": 1, "Count": "-2*specials(Coin)" }, { "$type": "Share.CConfigModifySceneProperty", "Property": "Stamina", "Count": "2*specials(Stamina)" }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "End_D": { //+250coin,+10st or +10st "Actions": [ { "$type": "Share.CConfigSwitchServer", "Switch": [ { "Weight": 5, "Actions": [ { "$type": "Share.CConfigJump", "Jump": "End_D_1" } ] }, { "Weight": 5, "Actions": [ { "$type": "Share.CConfigJump", "Jump": "End_D_2" } ] } ] }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "End_D_1": { //+250coin,+10st or +10st "Actions": [ { "$type": "Share.CConfigLogText", "Messages": ["Event2010010_27"] }, //钱 { "$type": "Share.CConfigAddItem", "ItemID": 1, "Count": "specials(Price)" }, //压力 { "$type": "Share.CConfigModifySceneProperty", "Property": "Stamina", "Count": "specials(Stamina)" }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "End_D_2": { //+250coin,+10st or +10st "Actions": [ { "$type": "Share.CConfigLogText", "Messages": ["Event2010010_28"] }, //钱-100 { "$type": "Share.CConfigAddItem", "ItemID": 1, "Count": "-specials(Coin)" }, { "$type": "Share.CConfigModifySceneProperty", "Property": "Stamina", "Count": "specials(Stamina)" }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "End_E": { //+500coin,+20st or +20st "Actions": [ { "$type": "Share.CConfigSwitchServer", "Switch": [ { "Weight": 3, "Actions": [ { "$type": "Share.CConfigJump", "Jump": "End_E_1" } ] }, { "Weight": 7, "Actions": [ { "$type": "Share.CConfigJump", "Jump": "End_E_2" } ] } ] }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "End_E_1": { //+250coin,+10st or +10st "Actions": [ { "$type": "Share.CConfigLogText", "Messages": [ "Event2010010_29", "Event2010010_29_1" ] }, //钱 { "$type": "Share.CConfigAddItem", "ItemID": 1, "Count": "2*specials(Price)" }, //压力 { "$type": "Share.CConfigModifySceneProperty", "Property": "Stamina", "Count": "2*specials(Stamina)" }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "End_E_2": { //+250coin,+10st or +10st "Actions": [ { "$type": "Share.CConfigLogText", "Messages": [ "Event2010010_30" ] }, //钱-200 { "$type": "Share.CConfigAddItem", "ItemID": 1, "Count": "-2*specials(Coin)" }, { "$type": "Share.CConfigModifySceneProperty", "Property": "Stamina", "Count": "2*specials(Stamina)" }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "End_F": { //+250coin,+10st or +10st "Actions": [ { "$type": "Share.CConfigSwitchServer", "Switch": [ { "Weight": 3, "Actions": [ { "$type": "Share.CConfigJump", "Jump": "End_F_1" } ] }, { "Weight": 7, "Actions": [ { "$type": "Share.CConfigJump", "Jump": "End_F_2" } ] } ] }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "End_F_1": { //+250coin,+10st or +10st "Actions": [ { "$type": "Share.CConfigLogText", "Messages": ["Event2010010_31"] }, //钱 { "$type": "Share.CConfigAddItem", "ItemID": 1, "Count": "specials(Price)" }, //压力 { "$type": "Share.CConfigModifySceneProperty", "Property": "Stamina", "Count": "specials(Stamina)" }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "End_F_2": { //+250coin,+10st or +10st "Actions": [ { "$type": "Share.CConfigLogText", "Messages": ["Event2010010_32"] }, //钱-100 { "$type": "Share.CConfigAddItem", "ItemID": 1, "Count": "-specials(Coin)" }, { "$type": "Share.CConfigModifySceneProperty", "Property": "Stamina", "Count": "specials(Stamina)" }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "Quit": { "Actions": [ //压力 { "$type": "Share.CConfigModifySceneProperty", "Property": "Stamina", "Count": "-specials(Stamina)" }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "Quit2": { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "OnEnd": { "Actions": [ { "$type": "Share.CConfigCloseDialog" }, { "$type": "Share.CConfigFinishEvent" } ] } } }