{ "ID": 1014, "Events": { "OnStart": { "Actions": [ { "$type": "Share.CConfigOpenDialog" }, { "$type": "Share.CConfigJump", "Jump": "OnChoose" } ] }, "OnChoose":{ "Actions":[ { "$type": "Share.CConfigSetSpecial", "SpecialName": "count", "SpecialValue": "specials(count)+1" }, { "$type": "Share.CConfigChoiceServer", "OptionsMode": "Normal", "Title":"Event1014_Title", "Description": "Event1014_1", "QuestionDescription": "Event1014_2", "Choices": [ { "OptionText": "Event1014_3", // "OptionText2": "Event1014_4_1", "OptionIcon1": 107, "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "SetSpecial" } ] } ] }, { "OptionText": "Event1014_5", // "OptionText2": "Event1014_6", "OptionIcon1": 106, "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "OnFinish" } ] } ] } ], "Predicates":[ { "$type": "Share.CConfigEventBySpecials", "ParamName": "count", "Param":1, "CompareType":"Equal" } ] }, { "$type": "Share.CConfigChoiceServer", "OptionsMode": "Normal", "Title":"Event1014_Title", "Description": "Event1014_10", "QuestionDescription": "Event1014_11", "Choices": [ { "OptionText": "Event1014_12", // "OptionText2": "Event1014_4_1", "OptionIcon1": 107, "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "SetSpecial" } ] } ] }, // { // "OptionText": "Event1014_13", // "OptionText2": "Event1014_14", // "OptionIcon1": 111, // "Predicates":[ // { // "$type": "Share.CConfigEventByRandom", // "Odds": "specials(Weight_static)" // } // ], // "OptionContents": [ // { // "Actions": [ // { // "$type": "Share.CConfigModifySceneProperty", // "Property": "Stamina", // "Count": "specials(op_stamina)*specials(count)*specials(add_ratio)" // }, // { // "$type": "Share.CConfigJump", // "Jump": "AddItem" // } // ] // } // ] // }, { "OptionText": "Event1014_15", // "OptionText2": "Event1014_6", "OptionIcon1": 106, "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "OnFinish" } ] } ] } ], "Predicates":[ { "$type": "Share.CConfigEventBySpecials", "ParamName": "count", "Param":2, "CompareType":"Equal" } ] }, { "$type": "Share.CConfigChoiceServer", "OptionsMode": "Normal", "Title":"Event1014_Title", "Description": "Event1014_19", "QuestionDescription": "Event1014_20", "Choices": [ { "OptionText": "Event1014_21", // "OptionText2": "Event1014_4_1", "OptionIcon1": 107, "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "SetSpecial" } ] } ] }, // { // "OptionText": "Event1014_22", // "OptionText2": "Event1014_14", // "OptionIcon1": 111, // "Predicates":[ // { // "$type": "Share.CConfigEventByRandom", // "Odds": "specials(Weight_static)" // } // ], // "OptionContents": [ // { // "Actions": [ // { // "$type": "Share.CConfigModifySceneProperty", // "Property": "Stamina", // "Count": "specials(op_stamina)*specials(count)*specials(add_ratio)" // }, // { // "$type": "Share.CConfigJump", // "Jump": "AddItem" // } // ] // } // ] // }, { "OptionText": "Event1014_15", // "OptionText2": "Event1014_6", "OptionIcon1": 106, "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "OnFinish" } ] } ] } ], "Predicates":[ { "$type": "Share.CConfigEventBySpecials", "ParamName": "count", "Param":3, "CompareType":"Equal" } ] }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "SetSpecial":{ "Actions":[ { "$type":"Share.CConfigSetSpecial", "SpecialName":"W_Empty", "SpecialValue":"specials(W_Empty{specials(count)})" }, { "$type":"Share.CConfigSetSpecial", "SpecialName":"W_Card", "SpecialValue":"specials(W_Card{specials(count)})" }, { "$type":"Share.CConfigSetSpecial", "SpecialName":"W_Coin", "SpecialValue":"specials(W_Coin{specials(count)})" }, { "$type":"Share.CConfigSetSpecial", "SpecialName":"W_Diny", "SpecialValue":"specials(W_Diny{specials(count)})" }, { "$type":"Share.CConfigSetSpecial", "SpecialName":"W_Item", "SpecialValue":"specials(W_Item{specials(count)})" }, { "$type":"Share.CConfigSetSpecial", "SpecialName":"SW_ItemS", "SpecialValue":"specials(SW_ItemS{specials(count)})" }, { "$type":"Share.CConfigSetSpecial", "SpecialName":"SW_ItemA", "SpecialValue":"specials(SW_ItemA{specials(count)})" }, { "$type":"Share.CConfigSetSpecial", "SpecialName":"SW_ItemB", "SpecialValue":"specials(SW_ItemB{specials(count)})" }, { "$type":"Share.CConfigSetSpecial", "SpecialName":"Added_Stamina", "SpecialValue":"specials(Added_Stamina{specials(count)})" }, { "$type":"Share.CConfigSetSpecial", "SpecialName":"Added_Coin", "SpecialValue":"specials(Added_Coin{specials(count)})" }, { "$type":"Share.CConfigSetSpecial", "SpecialName":"Added_Diny", "SpecialValue":"specials(Added_Diny{specials(count)})" }, { "$type":"Share.CConfigSetSpecial", "SpecialName":"Added_ItemS", "SpecialValue":"specials(Added_ItemS{specials(count)})" }, { "$type":"Share.CConfigSetSpecial", "SpecialName":"Added_ItemA", "SpecialValue":"specials(Added_ItemA{specials(count)})" }, { "$type":"Share.CConfigSetSpecial", "SpecialName":"Added_ItemB", "SpecialValue":"specials(Added_ItemB{specials(count)})" }, { "$type": "Share.CConfigJump", "Jump": "NormalResult" } ] }, "NormalResult":{ "Actions":[ { "$type": "Share.CConfigSwitchServer", "Switch": [ { "Weight": "specials(W_Empty)", "Actions": [ { "$type": "Share.CConfigJump", "Jump": "Res_Empty" } ] }, { "Weight": "specials(W_Card)", "Actions": [ { "$type": "Share.CConfigJump", "Jump": "Res_Card" } ] }, { "Weight": "specials(W_Coin)", "Actions": [ { "$type": "Share.CConfigJump", "Jump": "Res_Coin" } ] }, { "Weight": "specials(W_Diny)", "Actions": [ { "$type": "Share.CConfigJump", "Jump": "Res_Diny" } ] }, { "Weight": "specials(W_Item)", "Actions": [ { "$type": "Share.CConfigJump", "Jump": "Res_Item" } ] } ] }, //Default { "$type": "Share.CConfigJump", "Jump": "Res_Empty" } ] }, "Res_Empty":{ "Actions":[ { "$type": "Share.CConfigSetSpecial", "SpecialName": "curText", "SpecialValue": 25, "Predicates":[ { "$type": "Share.CConfigEventBySpecials", "ParamName": "count", "Param":1, "CompareType":"Equal" } ] }, { "$type": "Share.CConfigSetSpecial", "SpecialName": "curText", "SpecialValue": 25, "Predicates":[ { "$type": "Share.CConfigEventBySpecials", "ParamName": "count", "Param":2, "CompareType":"Equal" } ] }, { "$type": "Share.CConfigSetSpecial", "SpecialName": "curText", "SpecialValue": 26, "Predicates":[ { "$type": "Share.CConfigEventBySpecials", "ParamName": "count", "Param":3, "CompareType":"Equal" } ] }, { "$type": "Share.CConfigLogText", "Messages": [ "Event1014_{specials(curText)}" ] }, { //+100压力值 "$type" : "Share.CConfigModifySceneProperty", "Property" : "Stamina", "Count" : "specials(Added_Stamina)" }, { "$type": "Share.CConfigJump", "Jump": "OnChoose" } ] }, "Res_Card":{ "Actions":[ { "$type": "Share.CConfigSetSpecial", "SpecialName": "curText", "SpecialValue": 27, "Predicates":[ { "$type": "Share.CConfigEventBySpecials", "ParamName": "count", "Param":1, "CompareType":"Equal" } ] }, { "$type": "Share.CConfigSetSpecial", "SpecialName": "curText", "SpecialValue": 27, "Predicates":[ { "$type": "Share.CConfigEventBySpecials", "ParamName": "count", "Param":2, "CompareType":"Equal" } ] }, { "$type": "Share.CConfigSetSpecial", "SpecialName": "curText", "SpecialValue": 28, "Predicates":[ { "$type": "Share.CConfigEventBySpecials", "ParamName": "count", "Param":3, "CompareType":"Equal" } ] }, { "$type": "Share.CConfigLogText", "Messages": [ "Event1014_{specials(curText)}" ] }, //卡牌三选一 { "$type": "Share.CConfigRandomDropID", "Type": "Card", "SpecialName": [ "RandomCard_1", "RandomCard_2", "RandomCard_3" ] }, { "$type": "Share.CConfigChoiceServer", "OptionsMode": "Normal", "ShowMode": "Card", "Choices": [ { "OptionText": "Event_Common_Choose", // 选择 "OptionItemID1": "specials(RandomCard_1)", "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigDropPool", "Type": "Card", "ItemID": "specials(RandomCard_1)", "Num": 1 } ] } ] }, { "OptionText": "Event_Common_Choose", // 选择 "OptionItemID1": "specials(RandomCard_2)", "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigDropPool", "Type": "Card", "ItemID": "specials(RandomCard_2)", "Num": 1 } ] } ] }, { "OptionText": "Event_Common_Choose", // 选择 "OptionItemID1": "specials(RandomCard_3)", "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigDropPool", "Type": "Card", "ItemID": "specials(RandomCard_3)", "Num": 1 } ] } ] } ] }, { "$type": "Share.CConfigJump", "Jump": "OnChoose" } ] }, "Res_Coin":{ "Actions":[ { "$type": "Share.CConfigSetSpecial", "SpecialName": "curText", "SpecialValue": 29, "Predicates":[ { "$type": "Share.CConfigEventBySpecials", "ParamName": "count", "Param":1, "CompareType":"Equal" } ] }, { "$type": "Share.CConfigSetSpecial", "SpecialName": "curText", "SpecialValue": 29, "Predicates":[ { "$type": "Share.CConfigEventBySpecials", "ParamName": "count", "Param":2, "CompareType":"Equal" } ] }, { "$type": "Share.CConfigSetSpecial", "SpecialName": "curText", "SpecialValue": 30, "Predicates":[ { "$type": "Share.CConfigEventBySpecials", "ParamName": "count", "Param":3, "CompareType":"Equal" } ] }, { "$type": "Share.CConfigLogText", "Messages": [ "Event1014_{specials(curText)}" ] }, //齿轮硬币 { "$type": "Share.CConfigAddItem", "ItemID": 1, "Count": "specials(Added_Coin)" }, { "$type": "Share.CConfigJump", "Jump": "OnChoose" } ] }, "Res_Diny":{ "Actions":[ { "$type": "Share.CConfigSetSpecial", "SpecialName": "curText", "SpecialValue": 8, "Predicates":[ { "$type": "Share.CConfigEventBySpecials", "ParamName": "count", "Param":1, "CompareType":"Equal" } ] }, { "$type": "Share.CConfigSetSpecial", "SpecialName": "curText", "SpecialValue": 16, "Predicates":[ { "$type": "Share.CConfigEventBySpecials", "ParamName": "count", "Param":2, "CompareType":"Equal" } ] }, { "$type": "Share.CConfigSetSpecial", "SpecialName": "curText", "SpecialValue": 23, "Predicates":[ { "$type": "Share.CConfigEventBySpecials", "ParamName": "count", "Param":3, "CompareType":"Equal" } ] }, { "$type": "Share.CConfigLogText", "Messages": [ "Event1014_{specials(curText)}" ] }, { //获得丁尼 "$type": "Share.CConfigAddItem", "ItemID": 10, "Count": "specials(Added_Diny)" }, { "$type": "Share.CConfigJump", "Jump": "OnChoose" } ] }, "Res_Item":{ "Actions":[ { "$type": "Share.CConfigSetSpecial", "SpecialName": "curText", "SpecialValue": 9, "Predicates":[ { "$type": "Share.CConfigEventBySpecials", "ParamName": "count", "Param":1, "CompareType":"Equal" } ] }, { "$type": "Share.CConfigSetSpecial", "SpecialName": "curText", "SpecialValue": 17, "Predicates":[ { "$type": "Share.CConfigEventBySpecials", "ParamName": "count", "Param":2, "CompareType":"Equal" } ] }, { "$type": "Share.CConfigSetSpecial", "SpecialName": "curText", "SpecialValue": 24, "Predicates":[ { "$type": "Share.CConfigEventBySpecials", "ParamName": "count", "Param":3, "CompareType":"Equal" } ] }, { "$type": "Share.CConfigLogText", "Messages": [ "Event1014_{specials(curText)}" ] }, { "$type": "Share.CConfigSwitchServer", "Switch": [ { "Weight": "specials(SW_ItemS)", "Actions": [ { "$type": "Share.CConfigAddItem", "ItemID": "specials(ItemS_1)", "Count": "specials(Added_ItemS)" } ] }, { "Weight": "specials(SW_ItemS)", "Actions": [ { "$type": "Share.CConfigAddItem", "ItemID": "specials(ItemS_2)", "Count": "specials(Added_ItemS)" } ] }, { "Weight": "specials(SW_ItemS)", "Actions": [ { "$type": "Share.CConfigAddItem", "ItemID": "specials(ItemS_3)", "Count": "specials(Added_ItemS)" } ] }, { "Weight": "specials(SW_ItemA)", "Actions": [ { "$type": "Share.CConfigAddItem", "ItemID": "specials(ItemA_1)", "Count": "specials(Added_ItemA)" } ] }, { "Weight": "specials(SW_ItemA)", "Actions": [ { "$type": "Share.CConfigAddItem", "ItemID": "specials(ItemA_2)", "Count": "specials(Added_ItemA)" } ] }, { "Weight": "specials(SW_ItemA)", "Actions": [ { "$type": "Share.CConfigAddItem", "ItemID": "specials(ItemA_3)", "Count": "specials(Added_ItemA)" } ] }, { "Weight": "specials(SW_ItemB)", "Actions": [ { "$type": "Share.CConfigAddItem", "ItemID": "specials(ItemB_1)", "Count": "specials(Added_ItemB)" } ] }, { "Weight": "specials(SW_ItemB)", "Actions": [ { "$type": "Share.CConfigAddItem", "ItemID": "specials(ItemB_2)", "Count": "specials(Added_ItemB)" } ] }, { "Weight": "specials(SW_ItemB)", "Actions": [ { "$type": "Share.CConfigAddItem", "ItemID": "specials(ItemB_3)", "Count": "specials(Added_ItemB)" } ] } ] }, { "$type": "Share.CConfigJump", "Jump": "OnChoose" } ] }, "OnFinish":{ "Actions":[ { "$type": "Share.CConfigLogText", "Messages": [ "Event1014_7" ] }, { "$type": "Share.CConfigSetSpecial", "SpecialName": "count", "SpecialValue": "specials(count)-1" }, { "$type": "Share.CConfigCloseDialog" }, { "$type": "Share.CConfigFinishEvent" } ] }, "OnEnd": { "Actions": [ { "$type": "Share.CConfigCloseDialog" }, { "$type": "Share.CConfigFinishEvent", "CanTriggerAgain":false } ] } }, "Specials": { //***产出权重*** "W_Empty":0, "W_Card":0, "W_Coin":0, "W_Diny":0, "W_Item":0, "SW_ItemS":0, "SW_ItemA":0, "SW_ItemB":0, "W_Empty1":0, "W_Empty2":25, "W_Empty3":50, "W_Card1":25, "W_Card2":25, "W_Card3":25, "W_Coin1":25, "W_Coin2":25, "W_Coin3":25, "W_Diny1":25, "W_Diny2":25, "W_Diny3":0, "W_Item1":25, "W_Item2":0, "W_Item3":0, "SW_ItemS1":10, "SW_ItemS2":10, "SW_ItemS3":10, "SW_ItemA1":30, "SW_ItemA2":30, "SW_ItemA3":30, "SW_ItemB1":60, "SW_ItemB2":60, "SW_ItemB3":60, //************ //***产出内容&增量*** "Added_Stamina":0, "Added_Coin":0, "Added_Diny":0, "Added_ItemS":0, "Added_ItemA":0, "Added_ItemB":0, "Added_Stamina1":25, "Added_Stamina2":25, "Added_Stamina3":25, "Added_Coin1":300, "Added_Coin2":300, "Added_Coin3":300, "Added_Diny1":500, "Added_Diny2":500, "Added_Diny3":500, "Added_ItemS1":1, "Added_ItemS2":1, "Added_ItemS3":1, "Added_ItemA1":2, "Added_ItemA2":2, "Added_ItemA3":2, "Added_ItemB1":5, "Added_ItemB2":5, "Added_ItemB3":5, //************ //***产出道具ID*** "ItemS_1":300003, "ItemS_2":302003, "ItemS_3":102002, "ItemA_1":300002, "ItemA_2":302002, "ItemA_3":102002, "ItemB_1":300001, "ItemB_2":302001, "ItemB_3":102001, //==============计数器=============== //当前循环次数 "count":0, "curText":0, "RandomCard_1": 0, "RandomCard_2": 0, "RandomCard_3": 0, //=============表格参数============== //----初始压力消耗 具体消耗 = 初始*循环次数---- "op_stamina": 10, "add_ratio":2, //----初始丁尼消耗 具体消耗 = 初始*循环次数---- "op_diny": 150, //----道具ID--- "typeA_r":300001, "typeA_sr":300002, "typeA_ssr":300003, "typeB_r":302001, "typeB_sr":302002, "typeB_ssr":302003, "typeC_r":102001, "typeC_sr":102002, "typeC_ssr":102003, //----获得概率---- "Weight_static":30, //出现道具选项的概率 "Weight":100, "Weight_r":70, "Weight_sr":20, "Weight_ssr":10, //----获得数量---- //各稀有道具获得base "op_item_r": 5, "op_item_sr": 2, "op_item_ssr": 1, //各稀有道具获得附加 获得数量 = = op_item_X + op_item_r_ex * count "op_item_r_ex": 5, "op_item_sr_ex": 2, "op_item_ssr_ex": 1 } }