198 lines
8.8 KiB
JSON
198 lines
8.8 KiB
JSON
{
|
|
|
|
//主城道具解锁——创可贴 B-解锁对话
|
|
|
|
|
|
|
|
"ID": 40000525,
|
|
|
|
"Specials": {
|
|
|
|
"Radius": 2000,
|
|
|
|
"UnlockState": 0
|
|
|
|
},
|
|
|
|
"Events": {
|
|
|
|
"OnInteract": {
|
|
|
|
"ID": 100,
|
|
|
|
"Actions": [
|
|
|
|
{//未满足状态对话
|
|
|
|
"$type": "Share.CActionPerformCfg",
|
|
|
|
"ID": 102,
|
|
|
|
"PerformID": 39603,
|
|
|
|
"Predicates": [
|
|
|
|
{//少于2000丁尼
|
|
|
|
"$type": "Share.CConfigEventByItemID",
|
|
|
|
"Package": "Player",
|
|
|
|
"ItemID": 10,
|
|
|
|
"CompareType": "Less",
|
|
|
|
"Count": 2000
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventBySpecials",
|
|
|
|
"ParamName": "UnlockState",
|
|
|
|
"Param":"1",
|
|
|
|
"CompareType":"Equal"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{//交付状态对话
|
|
|
|
"$type": "Share.CActionPerformCfg",
|
|
|
|
"ID": 103,
|
|
|
|
"PerformID": 39539,
|
|
|
|
"Return":[
|
|
|
|
"UnlockState"
|
|
|
|
],
|
|
|
|
"Predicates": [
|
|
|
|
{//不止2000丁尼
|
|
|
|
"$type":"Share.CConfigEventByNot",
|
|
|
|
"Predicates": [
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventByItemID",
|
|
|
|
"Package": "Player",
|
|
|
|
"ItemID": 10,
|
|
|
|
"CompareType": "Less",
|
|
|
|
"Count": 2000
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventBySpecials",
|
|
|
|
"ParamName": "UnlockState",
|
|
|
|
"Param":"1",
|
|
|
|
"CompareType":"Equal"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
// {//交付状态参数修正-成功交付
|
|
|
|
// "$type": "Share.CConfigSetSpecial",
|
|
|
|
// "ID": 104,
|
|
|
|
// "SpecialName": "UnlockState",
|
|
|
|
// "SpecialValue": 2,
|
|
|
|
// "Predicates": [
|
|
|
|
// {//不止10丁尼
|
|
|
|
// "$type":"Share.CConfigEventByNot",
|
|
|
|
// "Predicates": [
|
|
|
|
// {
|
|
|
|
// "$type": "Share.CConfigEventByItemID",
|
|
|
|
// "Package": "Player",
|
|
|
|
// "ItemID": 10,
|
|
|
|
// "CompareType": "Less",
|
|
|
|
// "Count": 10
|
|
|
|
// }
|
|
|
|
// ]
|
|
|
|
// },
|
|
|
|
// {
|
|
|
|
// "$type": "Share.CConfigEventBySpecials",
|
|
|
|
// "ParamName": "UnlockState",
|
|
|
|
// "Param":"1",
|
|
|
|
// "CompareType":"Equal"
|
|
|
|
// }
|
|
|
|
// ]
|
|
|
|
// },
|
|
|
|
{//交付状态道具扣除-成功交付
|
|
|
|
"$type":"Share.CConfigAddItem",
|
|
|
|
"ID": 105,
|
|
|
|
"ItemID":10,
|
|
|
|
"Count":-2000,
|
|
|
|
"Package": "Player",
|
|
|
|
"Predicates": [
|
|
|
|
{//不止2000丁尼
|
|
|
|
"$type":"Share.CConfigEventByNot",
|
|
|
|
"Predicates": [
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventByItemID",
|
|
|
|
"Package": "Player",
|
|
|
|
"ItemID": 10,
|
|
|
|
"CompareType": "Less",
|
|
|
|
"Count": 2000
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventBySpecials",
|
|
|
|
"ParamName": "UnlockState",
|
|
|
|
"Param":"2",
|
|
|
|
"CompareType":"Equal"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{//交付状态-结束交互
|
|
|
|
"$type": "Share.CActionInteractFinishCfg",
|
|
|
|
"ID": 106,
|
|
|
|
"Predicates": [
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventBySpecials",
|
|
|
|
"ParamName": "UnlockState",
|
|
|
|
"Param":"2",
|
|
|
|
"CompareType":"Equal"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{//初见触发对话
|
|
|
|
"$type": "Share.CActionPerformCfg",
|
|
|
|
"ID": 107,
|
|
|
|
"PerformID": 39538,
|
|
|
|
"Predicates": [
|
|
|
|
// {//不止10丁尼
|
|
|
|
// "$type":"Share.CConfigEventByNot",
|
|
|
|
// "Predicates": [
|
|
|
|
// {
|
|
|
|
// "$type": "Share.CConfigEventByItemID",
|
|
|
|
// "Package": "Player",
|
|
|
|
// "ItemID": 10,
|
|
|
|
// "CompareType": "Less",
|
|
|
|
// "Count": 10
|
|
|
|
// }
|
|
|
|
// ]
|
|
|
|
// },
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventBySpecials",
|
|
|
|
"ParamName": "UnlockState",
|
|
|
|
"Param":"0",
|
|
|
|
"CompareType":"Equal"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{//初见修改参数
|
|
|
|
"$type": "Share.CConfigSetSpecial",
|
|
|
|
"ID": 108,
|
|
|
|
"SpecialName": "UnlockState",
|
|
|
|
"SpecialValue": 1,
|
|
|
|
"Predicates": [
|
|
|
|
// {//不止10丁尼
|
|
|
|
// "$type":"Share.CConfigEventByNot",
|
|
|
|
// "Predicates": [
|
|
|
|
// {
|
|
|
|
// "$type": "Share.CConfigEventByItemID",
|
|
|
|
// "Package": "Player",
|
|
|
|
// "ItemID": 10,
|
|
|
|
// "CompareType": "Less",
|
|
|
|
// "Count": 10
|
|
|
|
// }
|
|
|
|
// ]
|
|
|
|
// },
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventBySpecials",
|
|
|
|
"ParamName": "UnlockState",
|
|
|
|
"Param":"0",
|
|
|
|
"CompareType":"Equal"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CActionResetEventCfg",
|
|
|
|
"ID": 110
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"OnStart": {
|
|
|
|
"ID": 200,
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
"$type": "Share.CActionPerformCfg",
|
|
|
|
"ID": 201,
|
|
|
|
"PerformID": 46011
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CActionResetEventCfg",
|
|
|
|
"ID": 202
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|