600 lines
No EOL
22 KiB
JSON
600 lines
No EOL
22 KiB
JSON
{
|
|
|
|
"ID": 2010017, //临时规矩
|
|
|
|
"Specials": {
|
|
|
|
"Price_1": 300,
|
|
|
|
"Price_2": 700,
|
|
|
|
"Price_3": 500,
|
|
|
|
"Price_4": 1000,
|
|
|
|
"Difficult": 11,
|
|
|
|
"BattleID": 0
|
|
|
|
},
|
|
|
|
"Events": {
|
|
|
|
"OnStart": {
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
"$type": "Share.CActionChangeHollowEventWeightCfg",
|
|
|
|
"EventID": 2010017,
|
|
|
|
"WeightFactor": 0
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigOpenDialog"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigChoiceServer",
|
|
|
|
"OptionsMode": "Normal",
|
|
|
|
"Title": "Event2010017_Title",
|
|
|
|
"Description": "Event2010017_1",
|
|
|
|
"QuestionDescription": "Event2010017_2",
|
|
|
|
"Choices": [
|
|
|
|
{
|
|
|
|
"OptionText": "Event2010017_3",
|
|
|
|
"OptionIcon1": 107,
|
|
|
|
"OptionContents": [
|
|
|
|
{
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump": "Option_1"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"OptionText": "Event2010017_4",
|
|
|
|
"OptionText2": "Event2010017_5",
|
|
|
|
"OptionIcon1": 109,
|
|
|
|
"OptionContents": [
|
|
|
|
{
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump": "OnBattle"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"Option_1": {
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigChoiceServer",
|
|
|
|
"OptionsMode": "Normal",
|
|
|
|
"Title": "Event2010017_Title",
|
|
|
|
"Description": "Event2010017_6",
|
|
|
|
"QuestionDescription": "Event2010017_7",
|
|
|
|
"Choices": [
|
|
|
|
{
|
|
|
|
"OptionText": "Event2010017_9",
|
|
|
|
//"OptionText2": "Event2010017_10",
|
|
|
|
"OptionIcon1": 102,
|
|
|
|
"OptionContents": [
|
|
|
|
{
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump": "End_B"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"OptionText": "Event2010017_11",
|
|
|
|
"OptionText2": "Event2010017_12",
|
|
|
|
"OptionIcon1": 102,
|
|
|
|
"OptionContents": [
|
|
|
|
{
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump": "End_C"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"OptionText": "Event2010017_13",
|
|
|
|
"OptionText2": "Event2010017_14",
|
|
|
|
"OptionIcon1": 102,
|
|
|
|
"OptionContents": [
|
|
|
|
{
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump": "End_D"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"OnBattle": {
|
|
|
|
"Actions": [
|
|
|
|
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigLogText",
|
|
|
|
"Messages": [
|
|
|
|
"Event2010017_17",
|
|
|
|
"Event2010017_17_1"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigCloseDialog"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type":"Share.CConfigRandomBattleID",
|
|
|
|
"Type":["Elite"],
|
|
|
|
"Tags":["Challenge"],
|
|
|
|
"SpecialName":"BattleID",
|
|
|
|
"DefaultBattleID":0
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type":"Share.CConfigSetSpecial",
|
|
|
|
"SpecialName":"Return",
|
|
|
|
"SpecialValue":1101
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump": "ChallengeControl"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
//CConfigEmpty
|
|
|
|
"$type":"Share.CConfigSetSpecial",
|
|
|
|
"SpecialName":"empty",
|
|
|
|
"SpecialValue":0,
|
|
|
|
"ID":1101
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"$type":"Share.CConfigSetBattleType",
|
|
|
|
"BattleID":"specials(BattleID)",
|
|
|
|
"Type":"Elite"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigTriggerBattle",
|
|
|
|
"BattleID": "specials(BattleID)",
|
|
|
|
"OnSuccess": "OnEndBattle",
|
|
|
|
"OnFailure": "OnEndBattle_L"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"ChallengeControl":{
|
|
|
|
"Actions":[
|
|
|
|
{
|
|
|
|
"$type":"Share.CConfigGoto",
|
|
|
|
"GotoID":101,
|
|
|
|
"Predicates":[
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventByCompareParam",
|
|
|
|
"Param1":"specials(BattleID)",
|
|
|
|
"Param2":0,
|
|
|
|
"CompareType":"Equal"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
// if battleid==A
|
|
|
|
// challengeID=[a1,a2]
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigSwitchServer",
|
|
|
|
"Switch": [
|
|
|
|
{
|
|
|
|
"Weight": 50,
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
"$type":"Share.CConfigSetChallenge",
|
|
|
|
"ChallengeID":130011102
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"Weight": 50,
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
"$type":"Share.CConfigSetChallenge",
|
|
|
|
"ChallengeID":130011302
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"Predicates":[
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventByCompareParam",
|
|
|
|
"Param1":"specials(BattleID)",
|
|
|
|
"Param2":30141012,
|
|
|
|
"CompareType":"Equal"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigSwitchServer",
|
|
|
|
"Switch": [
|
|
|
|
{
|
|
|
|
"Weight": 50,
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
"$type":"Share.CConfigSetChallenge",
|
|
|
|
"ChallengeID":120020002
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"Weight": 50,
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
"$type":"Share.CConfigSetChallenge",
|
|
|
|
"ChallengeID":120020102
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"Predicates":[
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventByCompareParam",
|
|
|
|
"Param1":"specials(BattleID)",
|
|
|
|
"Param2":30141013,
|
|
|
|
"CompareType":"Equal"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigSwitchServer",
|
|
|
|
"Switch": [
|
|
|
|
{
|
|
|
|
"Weight": 50,
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
"$type":"Share.CConfigSetChallenge",
|
|
|
|
"ChallengeID":130031102
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"Weight": 50,
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
"$type":"Share.CConfigSetChallenge",
|
|
|
|
"ChallengeID":130031302
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"Predicates":[
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventByCompareParam",
|
|
|
|
"Param1":"specials(BattleID)",
|
|
|
|
"Param2":30141014,
|
|
|
|
"CompareType":"Equal"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigSwitchServer",
|
|
|
|
"Switch": [
|
|
|
|
{
|
|
|
|
"Weight": 50,
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
"$type":"Share.CConfigSetChallenge",
|
|
|
|
"ChallengeID":120030002
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"Weight": 50,
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
"$type":"Share.CConfigSetChallenge",
|
|
|
|
"ChallengeID":120030102
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"Predicates":[
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventByCompareParam",
|
|
|
|
"Param1":"specials(BattleID)",
|
|
|
|
"Param2":30141015,
|
|
|
|
"CompareType":"Equal"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigSwitchServer",
|
|
|
|
"Switch": [
|
|
|
|
{
|
|
|
|
"Weight": 50,
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
"$type":"Share.CConfigSetChallenge",
|
|
|
|
"ChallengeID":130011101
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"Weight": 50,
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
"$type":"Share.CConfigSetChallenge",
|
|
|
|
"ChallengeID":130011301
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"Predicates":[
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventByCompareParam",
|
|
|
|
"Param1":"specials(BattleID)",
|
|
|
|
"Param2":30141021,
|
|
|
|
"CompareType":"Equal"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigSwitchServer",
|
|
|
|
"Switch": [
|
|
|
|
{
|
|
|
|
"Weight": 50,
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
"$type":"Share.CConfigSetChallenge",
|
|
|
|
"ChallengeID":120010001
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"Weight": 50,
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
"$type":"Share.CConfigSetChallenge",
|
|
|
|
"ChallengeID":120010101
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"Predicates":[
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventByCompareParam",
|
|
|
|
"Param1":"specials(BattleID)",
|
|
|
|
"Param2":30141022,
|
|
|
|
"CompareType":"Equal"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type":"Share.CConfigGoto",
|
|
|
|
"GotoID":"specials(Return)"
|
|
|
|
},
|
|
|
|
//一些容错 if battleid==0
|
|
|
|
{
|
|
|
|
"$type":"Share.CConfigRandomBattleID",
|
|
|
|
"ID":101,
|
|
|
|
"Type":["Elite"],
|
|
|
|
"Tags":["Normal"],
|
|
|
|
"SpecialName":"BattleID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type":"Share.CConfigGoto",
|
|
|
|
"GotoID":"specials(Return)"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"OnEndBattle": {
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigPreset",
|
|
|
|
//无交互
|
|
|
|
"PerformKey" : "Chessboard_BattleEnd_None"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump": "End_A"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"OnEndBattle_L": {
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigPreset",
|
|
|
|
//无交互
|
|
|
|
"PerformKey" : "Chessboard_BattleEnd_None"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump": "End_A_1"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"End_A": { //全部
|
|
|
|
"Actions": [
|
|
|
|
//tip
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigShowTip",
|
|
|
|
"TipID": 201001703,
|
|
|
|
"Delay": 0
|
|
|
|
},
|
|
|
|
//金币1000
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigAddItem",
|
|
|
|
"ItemID": 1,
|
|
|
|
"Count": "specials(Price_4)"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump": "OnEnd2"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"End_A_1": { //
|
|
|
|
"Actions": [
|
|
|
|
//tip
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigShowTip",
|
|
|
|
"TipID": 201001704,
|
|
|
|
"Delay": 0
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump": "OnEnd2"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"End_B":{ //三成
|
|
|
|
"Actions":[
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigLogText",
|
|
|
|
"Messages": [
|
|
|
|
"Event2010017_15"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigAddItem",
|
|
|
|
"ItemID": 1,
|
|
|
|
"Count": "specials(Price_1)"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump": "OnEnd"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"End_C": { //五成
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigSwitchServer",
|
|
|
|
"Switch": [
|
|
|
|
{
|
|
|
|
"Weight": 65,
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump": "End_C_1"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"Weight": 35,
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump": "OnBattle"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump": "OnEnd"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"End_C_1": { //500
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigLogText",
|
|
|
|
"Messages": ["Event2010017_16"]
|
|
|
|
},
|
|
|
|
//500
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigAddItem",
|
|
|
|
"ItemID": 1,
|
|
|
|
"Count": "specials(Price_3)"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump": "OnEnd"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
|
|
|
|
},
|
|
|
|
"End_D": { //七成
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigSwitchServer",
|
|
|
|
"Switch": [
|
|
|
|
{
|
|
|
|
"Weight": 5,
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump": "End_D_1"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"Weight": 5,
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump": "OnBattle"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump": "OnEnd"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"End_D_1": { //700
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigLogText",
|
|
|
|
"Messages": [
|
|
|
|
"Event2010017_18"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
//700
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigAddItem",
|
|
|
|
"ItemID": 1,
|
|
|
|
"Count": "specials(Price_2)"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump": "OnEnd"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"Quit": {
|
|
|
|
"Actions": [
|
|
|
|
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump": "OnEnd"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"OnEnd":{
|
|
|
|
"Actions":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigCloseDialog"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigFinishEvent"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"OnEnd2":{
|
|
|
|
"Actions":
|
|
|
|
[
|
|
|
|
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigFinishEvent"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} |