370 lines
14 KiB
JSON
370 lines
14 KiB
JSON
{
|
||
|
||
"ID": 2010009,//药补不如食补
|
||
|
||
"Specials": {
|
||
|
||
"Price":100,
|
||
|
||
"Stamina": 20,
|
||
|
||
"Hp":20
|
||
|
||
},
|
||
|
||
"Events": {
|
||
|
||
"OnStart": {
|
||
|
||
"Actions": [
|
||
|
||
{
|
||
|
||
"$type": "Share.CActionChangeHollowEventWeightCfg",
|
||
|
||
"EventID": 2010009,
|
||
|
||
"WeightFactor": 0
|
||
|
||
},
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigOpenDialog"
|
||
|
||
},
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigChoiceServer",
|
||
|
||
"OptionsMode": "Normal",
|
||
|
||
"Title":"Event2010009_Title",
|
||
|
||
"Description": "Event2010009_1",
|
||
|
||
"QuestionDescription": "Event2010009_2",
|
||
|
||
"Choices": [
|
||
|
||
{ "OptionText": "Event2010009_3", //-100齿轮硬币,-20压力
|
||
|
||
"OptionText2":"Event2010009_4",
|
||
|
||
"OptionIcon1": 107,
|
||
|
||
"Predicates":[
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigEventByItemID",
|
||
|
||
"ItemID": 1,
|
||
|
||
"CompareType": "GreaterEqual",
|
||
|
||
"Count": "specials(Price)"
|
||
|
||
}
|
||
|
||
],
|
||
|
||
"OptionContents": [
|
||
|
||
{
|
||
|
||
"Actions": [
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigAddItem",
|
||
|
||
"ItemID": 1,
|
||
|
||
"Count": "-specials(Price)"
|
||
|
||
},
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigJump",
|
||
|
||
"Jump": "Option_1"
|
||
|
||
}
|
||
|
||
]
|
||
|
||
}
|
||
|
||
]
|
||
|
||
},
|
||
|
||
{ "OptionText": "Event2010009_5",
|
||
|
||
"OptionText2": "Event2010009_6",
|
||
|
||
"OptionIcon1": 106,
|
||
|
||
"Predicates":[
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigEventByItemID",
|
||
|
||
"ItemID": 1,
|
||
|
||
"CompareType": "GreaterEqual",
|
||
|
||
"Count": "specials(Price)"
|
||
|
||
}
|
||
|
||
],
|
||
|
||
"OptionContents": [
|
||
|
||
{
|
||
|
||
"Actions": [
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigJump",
|
||
|
||
"Jump": "Quit"
|
||
|
||
}
|
||
|
||
]
|
||
|
||
}
|
||
|
||
]
|
||
|
||
},
|
||
|
||
//没钱选项
|
||
|
||
{ "OptionText": "Event2010009_20",
|
||
|
||
"OptionText2": "Event2010009_6",
|
||
|
||
"OptionIcon1": 106,
|
||
|
||
"Predicates":[
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigEventByItemID",
|
||
|
||
"ItemID": 1,
|
||
|
||
"CompareType": "Less",
|
||
|
||
"Count": "specials(Price)"
|
||
|
||
}
|
||
|
||
],
|
||
|
||
"OptionContents": [
|
||
|
||
{
|
||
|
||
"Actions": [
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigJump",
|
||
|
||
"Jump": "Quit"
|
||
|
||
}
|
||
|
||
]
|
||
|
||
}
|
||
|
||
]
|
||
|
||
}
|
||
|
||
]
|
||
|
||
}
|
||
|
||
]
|
||
|
||
},
|
||
|
||
"Option_1":{
|
||
|
||
"Actions":
|
||
|
||
[
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigJump",
|
||
|
||
"Jump": "NoMoney",
|
||
|
||
"Predicates":[
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigEventByItemID",
|
||
|
||
"ItemID": 1,
|
||
|
||
"CompareType": "Less",
|
||
|
||
"Count": "specials(Price)"
|
||
|
||
}
|
||
|
||
]
|
||
|
||
},
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigChoiceServer",
|
||
|
||
"OptionsMode": "Normal",
|
||
|
||
"Title":"Event2010009_Title",
|
||
|
||
"Description": "Event2010009_7",
|
||
|
||
"QuestionDescription": "Event2010009_8",
|
||
|
||
"Choices": [
|
||
|
||
{ "OptionText": "Event2010009_9",//-100齿轮硬币,-20压力
|
||
|
||
"OptionText2":"Event2010009_10",
|
||
|
||
"OptionIcon1": 107,
|
||
|
||
"Predicates":[
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigEventByItemID",
|
||
|
||
"ItemID": 1,
|
||
|
||
"CompareType": "GreaterEqual",
|
||
|
||
"Count": "specials(Price)"
|
||
|
||
}
|
||
|
||
],
|
||
|
||
"OptionContents": [
|
||
|
||
{
|
||
|
||
"Actions": [
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigAddItem",
|
||
|
||
"ItemID": 1,
|
||
|
||
"Count": "-specials(Price)"
|
||
|
||
},
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigJump",
|
||
|
||
"Jump": "Option_2"
|
||
|
||
}
|
||
|
||
]
|
||
|
||
}
|
||
|
||
]
|
||
|
||
},
|
||
|
||
{ "OptionText": "Event2010009_11",
|
||
|
||
"OptionText2": "Event2010009_12",
|
||
|
||
"OptionIcon1": 105,
|
||
|
||
"OptionContents": [
|
||
|
||
{
|
||
|
||
"Actions": [
|
||
|
||
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigJump",
|
||
|
||
"Jump": "End_A"
|
||
|
||
}
|
||
|
||
]
|
||
|
||
}
|
||
|
||
]
|
||
|
||
}
|
||
|
||
]
|
||
|
||
}
|
||
|
||
]
|
||
|
||
},
|
||
|
||
"Option_2":{
|
||
|
||
"Actions":
|
||
|
||
[
|
||
|
||
// {
|
||
|
||
// "$type": "Share.CConfigJump",
|
||
|
||
// "Jump": "NoMoney2",
|
||
|
||
// "Predicates":[
|
||
|
||
// {
|
||
|
||
// "$type": "Share.CConfigEventByItemID",
|
||
|
||
// "ItemID": 1,
|
||
|
||
// "CompareType": "Less",
|
||
|
||
// "Count": "2*specials(Price)"
|
||
|
||
// }
|
||
|
||
// ]
|
||
|
||
// },
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigChoiceServer",
|
||
|
||
"OptionsMode": "Normal",
|
||
|
||
"Title":"Event2010009_Title",
|
||
|
||
"Description": "Event2010009_13",
|
||
|
||
"QuestionDescription": "Event2010009_14",
|
||
|
||
"Choices": [
|
||
|
||
{ "OptionText": "Event2010009_15",
|
||
|
||
"OptionText2":"Event2010009_16",
|
||
|
||
"OptionIcon1": 105,
|
||
|
||
"Predicates":[
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigEventByItemID",
|
||
|
||
"ItemID": 1,
|
||
|
||
"CompareType": "GreaterEqual",
|
||
|
||
"Count": "specials(Price)"
|
||
|
||
}
|
||
|
||
],
|
||
|
||
"OptionContents": [
|
||
|
||
{
|
||
|
||
"Actions": [
|
||
|
||
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigAddItem",
|
||
|
||
"ItemID": 1,
|
||
|
||
"Count": "-specials(Price)"
|
||
|
||
},
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigJump",
|
||
|
||
"Jump": "End_C"
|
||
|
||
}
|
||
|
||
]
|
||
|
||
}
|
||
|
||
]
|
||
|
||
},
|
||
|
||
{ "OptionText": "Event2010009_17",
|
||
|
||
"OptionText2": "Event2010009_18",
|
||
|
||
"OptionIcon1": 105,
|
||
|
||
"OptionContents": [
|
||
|
||
{
|
||
|
||
"Actions": [
|
||
|
||
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigJump",
|
||
|
||
"Jump": "End_B"
|
||
|
||
}
|
||
|
||
]
|
||
|
||
}
|
||
|
||
]
|
||
|
||
}
|
||
|
||
]
|
||
|
||
}
|
||
|
||
]
|
||
|
||
},
|
||
|
||
|
||
|
||
"End_A":{ //-100coin,-20stmina
|
||
|
||
"Actions":[
|
||
|
||
|
||
|
||
//扣钱
|
||
|
||
// {
|
||
|
||
// "$type": "Share.CConfigAddItem",
|
||
|
||
// "ItemID": 1,
|
||
|
||
// "Count": "-specials(Price)"
|
||
|
||
// },
|
||
|
||
//降压
|
||
|
||
{
|
||
|
||
|
||
|
||
"$type" : "Share.CConfigModifySceneProperty",
|
||
|
||
"Property" : "Stamina",
|
||
|
||
"Count" : -20
|
||
|
||
},
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigJump",
|
||
|
||
"Jump": "OnEnd"
|
||
|
||
}
|
||
|
||
]
|
||
|
||
},
|
||
|
||
"End_B":{ //-200c,-40S
|
||
|
||
"Actions":[
|
||
|
||
|
||
|
||
//扣钱
|
||
|
||
// {
|
||
|
||
// "$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":{ //-20hp,-60s
|
||
|
||
"Actions":[
|
||
|
||
{
|
||
|
||
"$type":"Share.CConfigLogText",
|
||
|
||
"Messages":[
|
||
|
||
"Event2010009_19"
|
||
|
||
]
|
||
|
||
},
|
||
|
||
//扣血
|
||
|
||
// {
|
||
|
||
// "$type": "Share.CConfigModifyProperty",
|
||
|
||
// "Property": "Hp",
|
||
|
||
// "Count": "-property(HpMax_Battle)*specials(Hp)*0.01"
|
||
|
||
// },
|
||
|
||
//降压
|
||
|
||
{
|
||
|
||
|
||
|
||
"$type" : "Share.CConfigModifySceneProperty",
|
||
|
||
"Property" : "Stamina",
|
||
|
||
"Count" : "-3*specials(Stamina)"
|
||
|
||
},
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigJump",
|
||
|
||
"Jump": "OnEnd"
|
||
|
||
}
|
||
|
||
]
|
||
|
||
},
|
||
|
||
|
||
|
||
"Quit":{
|
||
|
||
"Actions":[
|
||
|
||
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigJump",
|
||
|
||
"Jump": "OnEnd"
|
||
|
||
}
|
||
|
||
]
|
||
|
||
},
|
||
|
||
"NoMoney":{
|
||
|
||
"Actions":[
|
||
|
||
{
|
||
|
||
"$type":"Share.CConfigLogText",
|
||
|
||
"Messages":["Event2010009_20" ]
|
||
|
||
},
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigJump",
|
||
|
||
"Jump": "OnEnd"
|
||
|
||
}
|
||
|
||
]
|
||
|
||
},
|
||
|
||
// "NoMoney2":{
|
||
|
||
// "Actions":[
|
||
|
||
// {
|
||
|
||
// "$type":"Share.CConfigLogText",
|
||
|
||
// "Messages":["Event2010009_21" ]
|
||
|
||
// },
|
||
|
||
// //扣钱
|
||
|
||
// {
|
||
|
||
// "$type": "Share.CConfigAddItem",
|
||
|
||
// "ItemID": 1,
|
||
|
||
// "Count": "-specials(Price)"
|
||
|
||
// },
|
||
|
||
// //降压
|
||
|
||
// {
|
||
|
||
|
||
|
||
// "$type" : "Share.CConfigModifySceneProperty",
|
||
|
||
// "Property" : "Stamina",
|
||
|
||
// "Count" : "-specials(Stamina)"
|
||
|
||
// },
|
||
|
||
// {
|
||
|
||
// "$type": "Share.CConfigJump",
|
||
|
||
// "Jump": "OnEnd"
|
||
|
||
// }
|
||
|
||
// ]
|
||
|
||
// },
|
||
|
||
"OnEnd":{
|
||
|
||
"Actions":
|
||
|
||
[
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigCloseDialog"
|
||
|
||
},
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigFinishEvent"
|
||
|
||
}
|
||
|
||
]
|
||
|
||
}
|
||
|
||
}
|
||
|
||
}
|
||
|