203 lines
8.2 KiB
JSON
203 lines
8.2 KiB
JSON
{
|
|
|
|
"ID": 1012022,
|
|
|
|
"Events": {
|
|
|
|
"OnStart": {
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigOpenDialog"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigLogText",
|
|
|
|
"Messages": [
|
|
|
|
"Event_1012022_Log_1_1"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigChoiceServer",
|
|
|
|
"OptionsMode": "Normal",
|
|
|
|
"Description": "Event_1012022_Des_1",
|
|
|
|
"Choices": [
|
|
|
|
{
|
|
|
|
"OptionText": "Event_1012022_op_1",
|
|
|
|
"OptionText2": "Event_1012022_op_1_split",
|
|
|
|
"OptionContents": [
|
|
|
|
{
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
//全体5%
|
|
|
|
"$type": "Share.CConfigModifyProperty",
|
|
|
|
"Property": "Hp",
|
|
|
|
"Count": "property(HpMax_Battle)*specials(op_1_0)*0.01"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump": "Op_1_Over_1"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"OptionText": "Event_1012022_op_2",
|
|
|
|
"OptionText2": "Event_1012022_op_2_split",
|
|
|
|
"Predicates": [
|
|
|
|
{
|
|
|
|
//至少拥有100金币
|
|
|
|
"$type": "Share.CConfigEventByItemID",
|
|
|
|
"ItemID": 1,
|
|
|
|
"CompareType": "GreaterEqual",
|
|
|
|
"Count": "specials(op_2_0)"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"OptionContents": [
|
|
|
|
{
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
//80金币
|
|
|
|
"$type": "Share.CConfigAddItem",
|
|
|
|
"ItemID": 1,
|
|
|
|
"Count": "-specials(op_2_0)"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
//全体10%
|
|
|
|
"$type": "Share.CConfigModifyProperty",
|
|
|
|
"Property": "Hp",
|
|
|
|
"Count": "property(HpMax_Battle)*specials(op_2_1)*0.01"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump": "Op_2_Over_1"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"OptionText": "Event_1012022_op_3",
|
|
|
|
"OptionText2": "Event_1012022_op_3_split",
|
|
|
|
"Predicates": [
|
|
|
|
{
|
|
|
|
//至少拥有100金币
|
|
|
|
"$type": "Share.CConfigEventByItemID",
|
|
|
|
"ItemID": 1,
|
|
|
|
"CompareType": "GreaterEqual",
|
|
|
|
"Count": "specials(op_3_0)"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"OptionContents": [
|
|
|
|
{
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
//80金币
|
|
|
|
"$type": "Share.CConfigAddItem",
|
|
|
|
"ItemID": 1,
|
|
|
|
"Count": "-specials(op_3_0)"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
//全体10%
|
|
|
|
"$type": "Share.CConfigModifyProperty",
|
|
|
|
"Property": "Hp",
|
|
|
|
"Count": "property(HpMax_Battle)*specials(op_3_1)*0.01"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump": "Op_3_Over_1"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"OptionText": "Event_1012022_op_4",
|
|
|
|
"OptionText2": "Event_1012022_op_4_split",
|
|
|
|
"OptionContents": [
|
|
|
|
{
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump": "Op_4_Over_1"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"Op_1_Over_1": {
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigLogText",
|
|
|
|
"Messages": [
|
|
|
|
"Event_1012022_op_1_over_1"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump": "OnEnd"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"Op_2_Over_1": {
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigLogText",
|
|
|
|
"Messages": [
|
|
|
|
"Event_1012022_op_2_over_1"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump": "OnEnd"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"Op_3_Over_1": {
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigLogText",
|
|
|
|
"Messages": [
|
|
|
|
"Event_1012022_op_3_over_1"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump": "OnEnd"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"Op_4_Over_1": {
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigLogText",
|
|
|
|
"Messages": [
|
|
|
|
"Event_1012022_op_4_over_1"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump": "OnEnd"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"OnEnd": {
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigCloseDialog"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigFinishEvent"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"Specials": {
|
|
|
|
//表格参数
|
|
|
|
"op_1_0": 5,
|
|
|
|
"op_2_0": 50,
|
|
|
|
"op_2_1": 10,
|
|
|
|
"op_3_0": 100,
|
|
|
|
"op_3_1": 20
|
|
|
|
}
|
|
|
|
}
|
|
|