516 lines
20 KiB
JSON
516 lines
20 KiB
JSON
{
|
||
|
||
"ID": 1010603,
|
||
|
||
"Events": {
|
||
|
||
"OnStart": {
|
||
|
||
"Actions": [
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigOpenDialog"
|
||
|
||
},
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigJump",
|
||
|
||
"Jump": "OnRepeat",
|
||
|
||
"Predicates":
|
||
|
||
[
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigEventByHollowVariable",
|
||
|
||
"Key": "Enhance_1030",
|
||
|
||
"CompareType": "Equal",
|
||
|
||
"Count": 1
|
||
|
||
}
|
||
|
||
]
|
||
|
||
},
|
||
|
||
//初始化
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigSetSpecial",
|
||
|
||
"SpecialName": "odd_N",
|
||
|
||
"SpecialValue": "specials(odd_N1)"
|
||
|
||
},
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigSetSpecial",
|
||
|
||
"SpecialName": "odd_R",
|
||
|
||
"SpecialValue": "specials(odd_R1)"
|
||
|
||
},
|
||
|
||
//获得hollowitemID
|
||
|
||
//交钱尝试升级(20-10/45-15/80-20)
|
||
|
||
{
|
||
|
||
"$type":"Share.CConfigIf",
|
||
|
||
"OnSuccess": "OnEnable",
|
||
|
||
"OnFailure": "OnEmpty",
|
||
|
||
"Conditions":[
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigEventBySpecials",
|
||
|
||
"ParamName": "emptyHollowItem",
|
||
|
||
"Param":"hollowitem()",
|
||
|
||
"CompareType":"NotEqual"
|
||
|
||
}
|
||
|
||
]
|
||
|
||
}
|
||
|
||
]
|
||
|
||
},
|
||
|
||
"OnEnable": {
|
||
|
||
"Actions": [
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigChoiceServer",
|
||
|
||
"OptionsMode": "Normal",
|
||
|
||
"Title":"Event_1030_Title",
|
||
|
||
"Description":"Event_1030_OP_Enable_Des_{specials(count)}",
|
||
|
||
"QuestionDescription": "Event_1030_OP_Enable_QuestionDes_{specials(count)}",
|
||
|
||
"Choices": [
|
||
|
||
{
|
||
|
||
"OptionText": "Event_1030_OP_Enable_Op_1_1",
|
||
|
||
"OptionText2": "Event_1030_OP_Enable_Op_1_2",
|
||
|
||
"OptionIcon1": 104,
|
||
|
||
"Predicates":[
|
||
|
||
{
|
||
|
||
//拥有足够金钱钱
|
||
|
||
"$type": "Share.CConfigEventByItemID",
|
||
|
||
"ItemID": 1,
|
||
|
||
"CompareType": "GreaterEqual",
|
||
|
||
"Count": "specials(Gear)"
|
||
|
||
}
|
||
|
||
],
|
||
|
||
"OptionContents": [
|
||
|
||
{
|
||
|
||
"Actions": [
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigJump",
|
||
|
||
"Jump": "OnUpdate"
|
||
|
||
}
|
||
|
||
]
|
||
|
||
}
|
||
|
||
]
|
||
|
||
},
|
||
|
||
{
|
||
|
||
//没钱时候的假选项
|
||
|
||
"OptionText": "Event_1030_OP_Enable_Op_1_1",
|
||
|
||
"OptionText2": "Event_1030_OP_Enable_Op_1_2",
|
||
|
||
"OptionIcon1": 104,
|
||
|
||
"Predicates":[
|
||
|
||
{
|
||
|
||
//拥有足够金钱钱
|
||
|
||
"$type": "Share.CConfigEventByItemID",
|
||
|
||
"ItemID": 1,
|
||
|
||
"CompareType": "Less",
|
||
|
||
"Count": "specials(Gear)"
|
||
|
||
}
|
||
|
||
],
|
||
|
||
"OptionContents": [
|
||
|
||
{
|
||
|
||
"Actions": [
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigJump",
|
||
|
||
"Jump": "OnNoMoney"
|
||
|
||
}
|
||
|
||
]
|
||
|
||
}
|
||
|
||
]
|
||
|
||
},
|
||
|
||
{
|
||
|
||
"OptionText": "Event_1030_OP_Enable_Op_2_1",
|
||
|
||
"OptionText2": "Event_1030_OP_Enable_Op_2_2",
|
||
|
||
"OptionIcon1": 106,
|
||
|
||
"OptionContents": [
|
||
|
||
{
|
||
|
||
"Actions": [
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigJump",
|
||
|
||
"Jump": "OnGiveUp"
|
||
|
||
}
|
||
|
||
]
|
||
|
||
}
|
||
|
||
]
|
||
|
||
}
|
||
|
||
]
|
||
|
||
}
|
||
|
||
]
|
||
|
||
},
|
||
|
||
"OnEmpty": {
|
||
|
||
"Actions": [
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigChoiceServer",
|
||
|
||
"OptionsMode": "Normal",
|
||
|
||
"Title":"Event_1030_Title",
|
||
|
||
"Description":"Event_1030_OP_Empty_Op_Des_1",
|
||
|
||
"QuestionDescription": "Event_1030_OP_Empty_QuestionDes_1",
|
||
|
||
"Choices": [
|
||
|
||
{
|
||
|
||
"OptionText": "Event_1030_OP_Empty_Op_1_1",
|
||
|
||
"OptionText2": "Event_1030_OP_Empty_Op_1_2",
|
||
|
||
"OptionIcon1": 106,
|
||
|
||
"OptionContents": [
|
||
|
||
{
|
||
|
||
"Actions": [
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigJump",
|
||
|
||
"Jump": "OnEmpty_Res"
|
||
|
||
}
|
||
|
||
]
|
||
|
||
}
|
||
|
||
]
|
||
|
||
}
|
||
|
||
]
|
||
|
||
}
|
||
|
||
]
|
||
|
||
},
|
||
|
||
"OnUpdate": {
|
||
|
||
"Actions": [
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigLogText",
|
||
|
||
"Messages": [
|
||
|
||
"Event_1030_OP_Enable_Op_1_Des_1_1"
|
||
|
||
]
|
||
|
||
},
|
||
|
||
{
|
||
|
||
//获得金币
|
||
|
||
"$type": "Share.CConfigAddItem",
|
||
|
||
"ItemID": 1,
|
||
|
||
"Count": "-specials(Gear)"
|
||
|
||
},
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigLogText",
|
||
|
||
"Messages": [
|
||
|
||
"Event_1030_OP_Enable_Op_1_Des_1_2"
|
||
|
||
]
|
||
|
||
},
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigSwitchServer",
|
||
|
||
"Switch": [
|
||
|
||
{
|
||
|
||
"Weight": "specials(odd_N)",
|
||
|
||
"Actions": [
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigJump",
|
||
|
||
"Jump": "OnSuc_N"
|
||
|
||
}
|
||
|
||
]
|
||
|
||
},
|
||
|
||
{
|
||
|
||
"Weight": "specials(odd_R)",
|
||
|
||
"Actions": [
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigJump",
|
||
|
||
"Jump": "OnSuc_R"
|
||
|
||
}
|
||
|
||
]
|
||
|
||
},
|
||
|
||
{
|
||
|
||
"Weight": "100-specials(odd_R)-specials(odd_N)",
|
||
|
||
"Actions": [
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigJump",
|
||
|
||
"Jump": "OnCalculate"
|
||
|
||
}
|
||
|
||
]
|
||
|
||
}
|
||
|
||
]
|
||
|
||
}
|
||
|
||
]
|
||
|
||
},
|
||
|
||
"OnSuc_N": {
|
||
|
||
"Actions": [
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigChoiceServer",
|
||
|
||
"OptionsMode": "Normal",
|
||
|
||
"Title":"Event_1030_Title",
|
||
|
||
"Description":"Event_1030_OP_Enable_Op_1_Des_1_OP_Des_N",
|
||
|
||
"QuestionDescription": "Event_1030_OP_Enable_Op_1_Des_1_OP_QuestionDes_N",
|
||
|
||
"Choices": [
|
||
|
||
{
|
||
|
||
"OptionText": "Event_1030_OP_Enable_Op_1_Des_1_OP_1_N_1",
|
||
|
||
"OptionText2": "Event_1030_OP_Enable_Op_1_Des_1_OP_1_N_2",
|
||
|
||
"OptionIcon1": 106,
|
||
|
||
"OptionContents": [
|
||
|
||
{
|
||
|
||
"Actions":
|
||
|
||
[
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigSetHollowItem",
|
||
|
||
"HollowItemID": "hollowitem()+10"
|
||
|
||
},
|
||
|
||
//全局锁
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigSetHollowVariable",
|
||
|
||
"Key": "Enhance_1030",
|
||
|
||
"Value": 1
|
||
|
||
},
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigJump",
|
||
|
||
"Jump": "OnEnd"
|
||
|
||
}
|
||
|
||
]
|
||
|
||
}
|
||
|
||
]
|
||
|
||
}
|
||
|
||
]
|
||
|
||
}
|
||
|
||
]
|
||
|
||
},
|
||
|
||
"OnSuc_R": {
|
||
|
||
"Actions": [
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigChoiceServer",
|
||
|
||
"OptionsMode": "Normal",
|
||
|
||
"Title":"Event_1030_Title",
|
||
|
||
"Description":"Event_1030_OP_Enable_Op_1_Des_1_OP_Des_R",
|
||
|
||
"QuestionDescription": "Event_1030_OP_Enable_Op_1_Des_1_OP_QuestionDes_R",
|
||
|
||
"Choices": [
|
||
|
||
{
|
||
|
||
"OptionText": "Event_1030_OP_Enable_Op_1_Des_1_OP_1_R_1",
|
||
|
||
"OptionText2": "Event_1030_OP_Enable_Op_1_Des_1_OP_1_R_2",
|
||
|
||
"OptionIcon1": 106,
|
||
|
||
"OptionContents": [
|
||
|
||
{
|
||
|
||
"Actions":
|
||
|
||
[
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigSetHollowItem",
|
||
|
||
"HollowItemID": "hollowitem()+20"
|
||
|
||
},
|
||
|
||
//全局锁
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigSetHollowVariable",
|
||
|
||
"Key": "Enhance_1030",
|
||
|
||
"Value": 1
|
||
|
||
},
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigJump",
|
||
|
||
"Jump": "OnEnd"
|
||
|
||
}
|
||
|
||
]
|
||
|
||
}
|
||
|
||
]
|
||
|
||
}
|
||
|
||
]
|
||
|
||
}
|
||
|
||
]
|
||
|
||
},
|
||
|
||
"OnGiveUp": {
|
||
|
||
"Actions": [
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigLogText",
|
||
|
||
"Messages": [
|
||
|
||
"Event_1030_OP_Enable_Op_2_Des_1"
|
||
|
||
]
|
||
|
||
},
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigJump",
|
||
|
||
"Jump": "OnEnd"
|
||
|
||
}
|
||
|
||
]
|
||
|
||
},
|
||
|
||
"OnCalculate":{
|
||
|
||
"Actions":
|
||
|
||
[
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigSetSpecial",
|
||
|
||
"SpecialName": "count",
|
||
|
||
"SpecialValue": "specials(count)+1"
|
||
|
||
},
|
||
|
||
//替换为3级概率
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigSetSpecial",
|
||
|
||
"SpecialName": "odd_N",
|
||
|
||
"SpecialValue": "specials(odd_N3)",
|
||
|
||
"Predicates":[
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigEventBySpecials",
|
||
|
||
"ParamName": "odd_N",
|
||
|
||
"Param":"specials(odd_N2)",
|
||
|
||
"CompareType":"Equal"
|
||
|
||
}
|
||
|
||
]
|
||
|
||
},
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigSetSpecial",
|
||
|
||
"SpecialName": "odd_R",
|
||
|
||
"SpecialValue": "specials(odd_R3)",
|
||
|
||
"Predicates":[
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigEventBySpecials",
|
||
|
||
"ParamName": "odd_R",
|
||
|
||
"Param":"specials(odd_R2)",
|
||
|
||
"CompareType":"Equal"
|
||
|
||
}
|
||
|
||
]
|
||
|
||
},
|
||
|
||
//替换为2级概率
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigSetSpecial",
|
||
|
||
"SpecialName": "odd_N",
|
||
|
||
"SpecialValue": "specials(odd_N2)",
|
||
|
||
"Predicates":[
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigEventBySpecials",
|
||
|
||
"ParamName": "odd_N",
|
||
|
||
"Param":"specials(odd_N1)",
|
||
|
||
"CompareType":"Equal"
|
||
|
||
}
|
||
|
||
]
|
||
|
||
},
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigSetSpecial",
|
||
|
||
"SpecialName": "odd_R",
|
||
|
||
"SpecialValue": "specials(odd_R2)",
|
||
|
||
"Predicates":[
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigEventBySpecials",
|
||
|
||
"ParamName": "odd_R",
|
||
|
||
"Param":"specials(odd_R1)",
|
||
|
||
"CompareType":"Equal"
|
||
|
||
}
|
||
|
||
]
|
||
|
||
},
|
||
|
||
//涨价
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigSetSpecial",
|
||
|
||
"SpecialName": "Gear",
|
||
|
||
"SpecialValue": "specials(Gear_delta)+specials(Gear)"
|
||
|
||
},
|
||
|
||
//继续强化
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigJump",
|
||
|
||
"Jump": "OnEnable"
|
||
|
||
}
|
||
|
||
]
|
||
|
||
},
|
||
|
||
"OnNoMoney": {
|
||
|
||
"Actions": [
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigLogText",
|
||
|
||
"Messages": [
|
||
|
||
"Event_1030_OP_Enable_Op_1_Des_2_1"
|
||
|
||
]
|
||
|
||
},
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigJump",
|
||
|
||
"Jump": "OnEnd"
|
||
|
||
}
|
||
|
||
]
|
||
|
||
},
|
||
|
||
"OnRepeat": {
|
||
|
||
"Actions": [
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigChoiceServer",
|
||
|
||
"OptionsMode": "Normal",
|
||
|
||
"Title":"Event_1030_Title",
|
||
|
||
"Description":"Event_1030_OP_Repeat_Des_1",
|
||
|
||
"QuestionDescription": "Event_1030_OP_Repeat_QuestionDes_1",
|
||
|
||
"Choices": [
|
||
|
||
{
|
||
|
||
"OptionText": "Event_1030_OP_Repeat_Op_1_1",
|
||
|
||
"OptionText2": "Event_1030_OP_Repeat_Op_1_2",
|
||
|
||
"OptionIcon1": 104,
|
||
|
||
"OptionContents": [
|
||
|
||
{
|
||
|
||
"Actions":
|
||
|
||
[
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigJump",
|
||
|
||
"Jump": "EP_Lighting"
|
||
|
||
}
|
||
|
||
]
|
||
|
||
}
|
||
|
||
]
|
||
|
||
},
|
||
|
||
{
|
||
|
||
"OptionText": "Event_1030_OP_Repeat_Op_2_1",
|
||
|
||
"OptionText2": "Event_1030_OP_Repeat_Op_2_2",
|
||
|
||
"OptionIcon1": 106,
|
||
|
||
"OptionContents": [
|
||
|
||
{
|
||
|
||
"Actions":
|
||
|
||
[
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigJump",
|
||
|
||
"Jump": "OnEnd"
|
||
|
||
}
|
||
|
||
]
|
||
|
||
}
|
||
|
||
]
|
||
|
||
}
|
||
|
||
]
|
||
|
||
}
|
||
|
||
]
|
||
|
||
},
|
||
|
||
"OnEmpty_Res": {
|
||
|
||
"Actions": [
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigLogText",
|
||
|
||
"Messages": [
|
||
|
||
"Event_1030_OP_Empty_Op_1_Res_1"
|
||
|
||
]
|
||
|
||
},
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigJump",
|
||
|
||
"Jump": "OnEnd"
|
||
|
||
}
|
||
|
||
]
|
||
|
||
},
|
||
|
||
"EP_Lighting": {
|
||
|
||
"Actions": [
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigAddItem",
|
||
|
||
"ItemID": 1,
|
||
|
||
"Count": "-specials(EP_Coin)"
|
||
|
||
},
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigLogText",
|
||
|
||
"Messages": [
|
||
|
||
"Event_1030_OP_Repeat_Op_1_Res_1",
|
||
|
||
"Event_1030_OP_Repeat_Op_1_Res_2"
|
||
|
||
]
|
||
|
||
},
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigSetHollowItem",
|
||
|
||
"EPCharge": "specials(EPCharge)"
|
||
|
||
},
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigJump",
|
||
|
||
"Jump": "OnEnd"
|
||
|
||
}
|
||
|
||
]
|
||
|
||
},
|
||
|
||
"OnEnd": {
|
||
|
||
"Actions": [
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigCloseDialog"
|
||
|
||
},
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigFinishEvent"
|
||
|
||
}
|
||
|
||
]
|
||
|
||
}
|
||
|
||
},
|
||
|
||
"Specials": {
|
||
|
||
//=========全局设置=========
|
||
|
||
//是否携带
|
||
|
||
"emptyHollowItem":0,
|
||
|
||
//计次
|
||
|
||
"count":1,
|
||
|
||
//战斗
|
||
|
||
"BattleID": 0,
|
||
|
||
|
||
|
||
//=========强化价格=========
|
||
|
||
//初始价格
|
||
|
||
"Gear":100,
|
||
|
||
//增量价格
|
||
|
||
"Gear_delta":200,
|
||
|
||
|
||
|
||
//=========概率=========
|
||
|
||
"odd_N":0,
|
||
|
||
"odd_R":0,
|
||
|
||
//首次概率
|
||
|
||
"odd_N1":20,
|
||
|
||
"odd_R1":10,
|
||
|
||
//二次概率
|
||
|
||
"odd_N2":45,
|
||
|
||
"odd_R2":15,
|
||
|
||
//三次概率
|
||
|
||
"odd_N3":80,
|
||
|
||
"odd_R3":20,
|
||
|
||
|
||
|
||
//=========充能情况=========
|
||
|
||
"EP_Coin":500,
|
||
|
||
"EPCharge":60
|
||
|
||
}
|
||
|
||
}
|
||
|