//战斗模板 { "ID": 9991174, "Events": { "OnStart": { "Actions": [ { "$type": "Share.CConfigOpenDialog" }, { "$type": "Share.CConfigJump", "Jump": "OnRandomBattle" } ] }, "OnRandomBattle": { "Actions": [ { "$type": "Share.CConfigLogText", "Messages": [ "JsonText_1356" // 前方遭遇高威胁目标!小心! ] }, { "$type": "Share.CConfigSwitchServer", "Switch": [ { "Weight": 20, "Actions": [ { "$type": "Share.CConfigJump", "Jump": "OnBattle1" } ] }, { "Weight": 50, "Actions": [ { "$type": "Share.CConfigJump", "Jump": "OnBattle2" } ] }, { "Weight": 50, "Actions": [ { "$type": "Share.CConfigJump", "Jump": "OnBattle3" } ] } ] } ] }, "OnBattle1": { "Actions": [ { "$type": "Share.CConfigTriggerBattle", "BattleID": "specials(BattleID1)", "OnSuccess": "OnEnd" } ] }, "OnBattle2": { "Actions": [ { "$type": "Share.CConfigTriggerBattle", "BattleID": "specials(BattleID2)", "OnSuccess": "OnEnd" } ] }, "OnBattle3": { "Actions": [ { "$type": "Share.CConfigTriggerBattle", "BattleID": "specials(BattleID3)", "OnSuccess": "OnEnd" } ] }, "OnEnd": { "Actions": [ { "$type": "Share.CConfigLogText", "Messages": [ "JsonText_1357" // 高威胁目标已被消灭,大家没事吧? ] }, { "$type": "Share.CConfigRandomDropID", "Type": "Card", "SpecialName": [ "RandomCard_1", "RandomCard_2", "RandomCard_3" ] }, { "$type": "Share.CConfigChoiceServer", "OptionsMode": "Normal", "ShowMode": "Card", "Choices": [ { "OptionText": "Event_Common_Choose", // 选择 "OptionItemID1": "specials(RandomCard_1)", "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigDropPool", "Type": "Card", "ItemID": "specials(RandomCard_1)", "Num": 1 } ] } ] }, { "OptionText": "Event_Common_Choose", // 选择 "OptionItemID1": "specials(RandomCard_2)", "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigDropPool", "Type": "Card", "ItemID": "specials(RandomCard_2)", "Num": 1 } ] } ] }, { "OptionText": "Event_Common_Choose", // 选择 "OptionItemID1": "specials(RandomCard_3)", "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigDropPool", "Type": "Card", "ItemID": "specials(RandomCard_3)", "Num": 1 } ] } ] } ] // "ExtraChoice": { // "OptionContents": [ // { // "Actions": [ // ] // } // ] // } }, { "$type": "Share.CConfigCloseDialog" }, //------------ { "$type":"Share.CConfigSetHollowVariable", "Key":"EliteBattle.9991175", "Value": "scenevar(EliteBattle.9991175)+1" }, { //第二层触发至少3次战斗 "$type":"Share.CConfigSetConditionProgress", "ConditionID":30060023, "Progress":1, "ModifyType":"Add", "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "EliteBattle.9991175", "Count": 3, "CompareType": "GreaterEqual" } ] }, { //战斗 "$type":"Share.CConfigSetConditionProgress", "ConditionID":30060029, "Progress":1, "ModifyType":"Add" }, //------------ { "$type": "Share.CConfigFinishEvent" } ] } }, "Specials": { "BattleID1": 2010116, "BattleID2": 2010109, "BattleID3": 2010107, "RandomCard_1": 0, "RandomCard_2": 0, "RandomCard_3": 0 } }