482 lines
No EOL
18 KiB
JSON
482 lines
No EOL
18 KiB
JSON
{
|
|
|
|
"ID": 2000119,
|
|
|
|
"Events": {
|
|
|
|
"OnPlayerMove":{
|
|
|
|
"Actions":[
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigSetMapState",
|
|
|
|
"Position": "Relative",
|
|
|
|
"NodeType": "All",
|
|
|
|
"X": 0,
|
|
|
|
"Y": 1,
|
|
|
|
"Radius": 0,
|
|
|
|
"Count": 1,
|
|
|
|
"FromVisibleState": [
|
|
|
|
"Visible"
|
|
|
|
],
|
|
|
|
"ToVisibleState": ["VisibleByTriggerEvent"]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"OnStart": {
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
"$type":"Share.CConfigApplyAbility",
|
|
|
|
"AbilityName":"SlotMachine_Map2000102"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigCameraMoveV2",
|
|
|
|
"StretchKey": "SlotMachine_PushBack",
|
|
|
|
"Type": "TriggerPosition",
|
|
|
|
"PositionOffsetType":"Relative",
|
|
|
|
"PositionOffsetX":0,
|
|
|
|
"PositionOffsetY":0,
|
|
|
|
"RadiusX":2,
|
|
|
|
"RadiusY":2,
|
|
|
|
"CanControl":false,
|
|
|
|
"UseStretchZ":true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigWaitSeconds",
|
|
|
|
"Time": 0.5
|
|
|
|
},
|
|
|
|
{
|
|
|
|
//随机奖励--A+B
|
|
|
|
"$type": "Share.CConfigEventModification",
|
|
|
|
"ModificationNum":1,
|
|
|
|
"ModificationType":1,
|
|
|
|
"TargetEventID": [
|
|
|
|
2000107
|
|
|
|
],
|
|
|
|
"TargetCoreNode":0,
|
|
|
|
"TargetEventType":2,
|
|
|
|
"EventID":[
|
|
|
|
1025
|
|
|
|
],
|
|
|
|
"EventState":"ShowEvent",
|
|
|
|
"VisibleState":"Visible",
|
|
|
|
"Position":"Relative",
|
|
|
|
"X":0,
|
|
|
|
"Y":2,
|
|
|
|
"Radius": 0
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigSetMapState",
|
|
|
|
"IndexList": [
|
|
|
|
22,42,58,38
|
|
|
|
],
|
|
|
|
"NodeType": "All",
|
|
|
|
"FromVisibleState": [
|
|
|
|
"VisibleByTriggerEvent"
|
|
|
|
],
|
|
|
|
"ToVisibleState": ["Visible"]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigWaitSeconds",
|
|
|
|
"Time": 0.25
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigSetMapState",
|
|
|
|
"IndexList": [
|
|
|
|
21,23,33,51,59,57,47,29
|
|
|
|
],
|
|
|
|
"NodeType": "All",
|
|
|
|
"FromVisibleState": [
|
|
|
|
"VisibleByTriggerEvent"
|
|
|
|
],
|
|
|
|
"ToVisibleState": ["Visible"]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigWaitSeconds",
|
|
|
|
"Time": 0.25
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigSetMapState",
|
|
|
|
"IndexList": [
|
|
|
|
20,24,56,60
|
|
|
|
],
|
|
|
|
"NodeType": "All",
|
|
|
|
"FromVisibleState": [
|
|
|
|
"VisibleByTriggerEvent"
|
|
|
|
],
|
|
|
|
"ToVisibleState": ["Visible"]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigWaitSeconds",
|
|
|
|
"Time": 0.75
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump": "OnMachine"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"OnMachine":{
|
|
|
|
"Actions":[
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump": "OnEnd",
|
|
|
|
"Predicates":[
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventByHollowVariable",
|
|
|
|
"Key": "Event.2000119",
|
|
|
|
"CompareType": "Greater",
|
|
|
|
"Count": 4
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigOpenDialog"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigSetHollowVariable",
|
|
|
|
"Key": "SlotMachineCnt_1040",
|
|
|
|
"Value": "scenevar(SlotMachineCnt_1040)+1"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigChoiceServer",
|
|
|
|
"OptionsMode": "Normal",
|
|
|
|
"Title":"Event2000119_1",
|
|
|
|
"Description": "Event2000119_2",
|
|
|
|
"QuestionDescription": "Event2000119_3",
|
|
|
|
"Choices": [
|
|
|
|
{
|
|
|
|
"OptionText": "Event2000119_4",
|
|
|
|
"OptionIcon1": 113,
|
|
|
|
"Predicates":[
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventByHollowVariable",
|
|
|
|
"Key": "SlotMachineCnt_1040",
|
|
|
|
"CompareType": "Equal",
|
|
|
|
"Count": 1
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"OptionContents": [
|
|
|
|
{
|
|
|
|
"Actions": [
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"OptionText": "Event2000119_5",
|
|
|
|
"OptionIcon1": 113,
|
|
|
|
"Predicates":[
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventByHollowVariable",
|
|
|
|
"Key": "SlotMachineCnt_1040",
|
|
|
|
"CompareType": "Greater",
|
|
|
|
"Count": 1
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"OptionContents": [
|
|
|
|
{
|
|
|
|
"Actions": [
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
// {
|
|
|
|
// "OptionText": "Event2000119_6",
|
|
|
|
// "OptionIcon1": 106,
|
|
|
|
// "Predicates":[
|
|
|
|
// {
|
|
|
|
// "$type": "Share.CConfigEventByHollowVariable",
|
|
|
|
// "Key": "Event.2000119",
|
|
|
|
// "CompareType": "Greater",
|
|
|
|
// "Count": 4
|
|
|
|
// }
|
|
|
|
// ],
|
|
|
|
// "OptionContents": [
|
|
|
|
// {
|
|
|
|
// "Actions": [
|
|
|
|
// {
|
|
|
|
// "$type": "Share.CConfigJump",
|
|
|
|
// "Jump": "OnEnd"
|
|
|
|
// }
|
|
|
|
// ]
|
|
|
|
// }
|
|
|
|
// ]
|
|
|
|
// }
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigCloseDialog",
|
|
|
|
"NeedResetCenter":false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigPlayAnim",
|
|
|
|
"AnimID":20010,
|
|
|
|
"WaitingTime": -1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigCameraMoveV2",
|
|
|
|
"StretchKey": "SlotMachine_PushBack",
|
|
|
|
"Type": "TriggerPosition",
|
|
|
|
"PositionOffsetType":"Relative",
|
|
|
|
"PositionOffsetX":0,
|
|
|
|
"PositionOffsetY":0,
|
|
|
|
"RadiusX":2,
|
|
|
|
"RadiusY":2,
|
|
|
|
"CanControl":false,
|
|
|
|
"UseStretchZ":true
|
|
|
|
},
|
|
|
|
//相机
|
|
|
|
{
|
|
|
|
"$type":"Share.CConfigSlotMachine",
|
|
|
|
"Indexes":[
|
|
|
|
20,21,22,23,24,33,42,51,60,59,58,57,56,47,38,29
|
|
|
|
],
|
|
|
|
"EndIndex":"index",
|
|
|
|
"EndEventID":"evtID",
|
|
|
|
"SetEventID":"2000117",
|
|
|
|
"Predicates":[
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventByHollowVariable",
|
|
|
|
"Key": "Event.2000119",
|
|
|
|
"CompareType": "Equal",
|
|
|
|
"Count": 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type":"Share.CConfigSlotMachine",
|
|
|
|
"Indexes":[
|
|
|
|
20,21,22,23,24,33,42,51,60,59,58,57,56,47,38,29
|
|
|
|
],
|
|
|
|
"EndIndex":"index",
|
|
|
|
"EndEventID":"evtID",
|
|
|
|
"SetEventID":"1005",
|
|
|
|
"Predicates":[
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventByHollowVariable",
|
|
|
|
"Key": "Event.2000119",
|
|
|
|
"CompareType": "Equal",
|
|
|
|
"Count": 1
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type":"Share.CConfigSlotMachine",
|
|
|
|
"Indexes":[
|
|
|
|
20,21,22,23,24,33,42,51,60,59,58,57,56,47,38,29
|
|
|
|
],
|
|
|
|
"EndIndex":"index",
|
|
|
|
"EndEventID":"evtID",
|
|
|
|
"SetEventID":"1013",
|
|
|
|
"Predicates":[
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventByHollowVariable",
|
|
|
|
"Key": "Event.2000119",
|
|
|
|
"CompareType": "Equal",
|
|
|
|
"Count": 2
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type":"Share.CConfigSlotMachine",
|
|
|
|
"Indexes":[
|
|
|
|
20,21,22,23,24,33,42,51,60,59,58,57,56,47,38,29
|
|
|
|
],
|
|
|
|
"EndIndex":"index",
|
|
|
|
"EndEventID":"evtID",
|
|
|
|
"SetEventID":"2000108",
|
|
|
|
"Predicates":[
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventByHollowVariable",
|
|
|
|
"Key": "Event.2000119",
|
|
|
|
"CompareType": "Equal",
|
|
|
|
"Count": 3
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type":"Share.CConfigSlotMachine",
|
|
|
|
"Indexes":[
|
|
|
|
20,21,22,23,24,33,42,51,60,59,58,57,56,47,38,29
|
|
|
|
],
|
|
|
|
"EndIndex":"index",
|
|
|
|
"EndEventID":"evtID",
|
|
|
|
"Predicates":[
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventByHollowVariable",
|
|
|
|
"Key": "Event.2000119",
|
|
|
|
"CompareType": "Greater",
|
|
|
|
"Count": 3
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigSetHollowVariable",
|
|
|
|
"Key": "Event.2000119",
|
|
|
|
"Value": "scenevar(Event.2000119)+1"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
//战斗计数器+1
|
|
|
|
"$type": "Share.CConfigSetHollowVariable",
|
|
|
|
"Key": "TriggerEvent_SlotMachine",
|
|
|
|
"Value":"specials(evtID)"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
//战斗计数器+1
|
|
|
|
"$type": "Share.CConfigSetHollowVariable",
|
|
|
|
"Key": "TriggerIdx_SlotMachine",
|
|
|
|
"Value":"specials(index)"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigFinishEvent"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"AfterTrigger":{
|
|
|
|
"Actions":[
|
|
|
|
//TriggerIdx_SlotMachine
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigCameraMoveV2",
|
|
|
|
"StretchKey": "SlotMachine_PushBack",
|
|
|
|
"Type": "TriggerPosition",
|
|
|
|
"PositionOffsetType":"Relative",
|
|
|
|
"PositionOffsetX":0,
|
|
|
|
"PositionOffsetY":0,
|
|
|
|
"RadiusX":2,
|
|
|
|
"RadiusY":2,
|
|
|
|
"CanControl":false,
|
|
|
|
"UseStretchZ":true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
//随机奖励--A+B
|
|
|
|
"$type": "Share.CConfigEventModification",
|
|
|
|
"ModificationNum":1,
|
|
|
|
"ModificationType":1,
|
|
|
|
"IndexList":[
|
|
|
|
"scenevar(TriggerIdx_SlotMachine)"
|
|
|
|
],
|
|
|
|
"TargetCoreNode":0,
|
|
|
|
"TargetEventType":1,
|
|
|
|
"EventID":[
|
|
|
|
1013
|
|
|
|
],
|
|
|
|
"EventState":"ShowEvent",
|
|
|
|
"VisibleState":"Visible"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigWaitSeconds",
|
|
|
|
"Time": 1
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"OnEnd":{
|
|
|
|
"Actions":[
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigSetHollowVariable",
|
|
|
|
"Key": "SlotMachineCnt_1040",
|
|
|
|
"Value": 0
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigCloseDialog",
|
|
|
|
"NeedResetCenter":true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type":"Share.CConfigRemoveAbility",
|
|
|
|
"AbilityName":"SlotMachine_Map2000102"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigShowTip",
|
|
|
|
"TipID": 200011901
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigSetMapState",
|
|
|
|
"IndexList":[
|
|
|
|
21,22,23,38,42,57,58,59
|
|
|
|
],
|
|
|
|
"NodeType": "All",
|
|
|
|
"FromVisibleState": [
|
|
|
|
"Visible"
|
|
|
|
],
|
|
|
|
"ToVisibleState": ["VisibleByTriggerEvent"]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigWaitSeconds",
|
|
|
|
"Time": 0.25
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigSetMapState",
|
|
|
|
"IndexList":[
|
|
|
|
20,24,29,33,47,51,56,60
|
|
|
|
],
|
|
|
|
"NodeType": "All",
|
|
|
|
"FromVisibleState": [
|
|
|
|
"Visible"
|
|
|
|
],
|
|
|
|
"ToVisibleState": ["VisibleByTriggerEvent"]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigWaitSeconds",
|
|
|
|
"Time": 0.25
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigSetMapState",
|
|
|
|
"Position": "Relative",
|
|
|
|
"NodeType": "All",
|
|
|
|
"X": 0,
|
|
|
|
"Y": -1,
|
|
|
|
"Radius": 0,
|
|
|
|
"Count": 1,
|
|
|
|
"FromVisibleState": [
|
|
|
|
"VisibleByTriggerEvent"
|
|
|
|
],
|
|
|
|
"ToVisibleState": ["Visible"]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigWaitSeconds",
|
|
|
|
"Time": 0.25
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigShowTip",
|
|
|
|
"TipID": 200011902
|
|
|
|
},
|
|
|
|
{
|
|
|
|
//随机奖励--A+B
|
|
|
|
"$type": "Share.CConfigEventModification",
|
|
|
|
"ModificationNum":1,
|
|
|
|
"ModificationType":1,
|
|
|
|
"TargetCoreNode":0,
|
|
|
|
"TargetEventType":1,
|
|
|
|
"TargetEventState":["ShowEvent"],
|
|
|
|
"EventID":[
|
|
|
|
2000109
|
|
|
|
],
|
|
|
|
"EventState":"ShowEvent",
|
|
|
|
"VisibleState":"Visible",
|
|
|
|
"Position":"Relative",
|
|
|
|
"X":0,
|
|
|
|
"Y":-2,
|
|
|
|
"Radius":0
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigWaitSeconds",
|
|
|
|
"Time": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigCameraMoveV2",
|
|
|
|
"StretchKey": "Back",
|
|
|
|
"Type": "Back",
|
|
|
|
"CanControl":true,
|
|
|
|
"UseStretchZ":false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigFinishEvent"
|
|
|
|
}
|
|
|
|
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"Specials": {
|
|
|
|
"index":0,
|
|
|
|
"evtID":0,
|
|
|
|
"bigReward":1025,
|
|
|
|
|
|
|
|
"spend":300,
|
|
|
|
"HP":10
|
|
|
|
}
|
|
|
|
} |