{ "ID": 759, "Events": { "OnStart": { "Actions": [ { "$type": "Share.CConfigOpenDialog" }, { "$type": "Share.CConfigLogText", "Messages": [ "JsonText_1125" // 一个精英难度的战斗 ] }, { "$type": "Share.CConfigTriggerBattle", "BattleID":2010134, "EndHollow":false, "OnSuccess": "OnChoose" } ] }, "OnChoose": { "Actions": [ { "$type": "Share.CConfigLogText", "Messages": [ "JsonText_1126" // 打完了可以选点资源 ] }, { "$type": "Share.CConfigChoiceServer", "OptionsMode": "Normal", "ShowMode": "Event", "Choices": [ { "OptionText": "Event_Common_RecoverHp", "OptionItemID1": "specials(ShowHp)", "OptionDesc1": "Event_Common_RecoverHp_Des", "TitleText": "Item_TeamMedicineHp_02_name", "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Event.73301", "CompareType": "Equal", "Count": 0 } ], "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigModifyProperty", "Property": "Hp", "Count": "property(HpMax_Battle)*specials(Hp)*0.01" }, { "$type": "Share.CConfigJump", "Jump": "OnUnlockCardChest" } ] } ] }, { "OptionText": "Event_Common_GetCoin", "OptionItemID1": "specials(ShowGold)", "OptionDesc1": "Event_Common_GetCoin_Des", "TitleText": "Item_RL_Purse_03_name", "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Event.73301", "CompareType": "Equal", "Count": 0 } ], "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigAddItem", "ItemID": 1, "Count": "specials(Gold)" }, { "$type": "Share.CConfigJump", "Jump": "OnUnlockCardChest" } ] } ] }, { "SelectGroup": 3, "OptionText": "Event_Common_StaminaDown", "OptionText2": "NormalBattleChoice3_Title_split", "OptionItemID1": "specials(ShowStamina)", "OptionDesc1": "Event_Common_StaminaDown_Des", "TitleText": "Item_TeamMedicinePr_03_name", "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Event.73301", "CompareType": "Equal", "Count": 0 } ], "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigModifySceneProperty", "Property": "Stamina", "Count": "-specials(Stamina)" }, { "$type": "Share.CConfigJump", "Jump": "OnUnlockCardChest" } ] } ] }, //分界线 { "OptionText": "Event_Common_RecoverHp", "OptionItemID1": "specials(ShowHp)", "OptionDesc1": "Event_Common_RecoverHp_Des", "TitleText": "Item_TeamMedicineHp_02_name", "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Event.73301", "CompareType": "Equal", "Count": 1 } ], "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigModifyProperty", "Property": "Hp", "Count": "property(HpMax_Battle)*specials(Hp)*0.01" }, { //战斗计数器+1 "$type": "Share.CConfigSetHollowVariable", "Key": "Event.73302", "Value": "scenevar(Event.73302)+1" }, { "$type": "Share.CConfigJump", "Jump": "OnSisBack" } ] } ] }, { "OptionText": "Event_Common_GetCoin", "OptionItemID1": "specials(ShowGold)", "OptionDesc1": "Event_Common_GetCoin_Des", "TitleText": "Item_RL_Purse_03_name", "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Event.73301", "CompareType": "Equal", "Count": 1 } ], "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigAddItem", "ItemID": 1, "Count": "specials(Gold)" }, { //战斗计数器+1 "$type": "Share.CConfigSetHollowVariable", "Key": "Event.73302", "Value": "scenevar(Event.73302)+1" }, { "$type": "Share.CConfigJump", "Jump": "OnSisBack" } ] } ] }, { "SelectGroup": 3, "OptionText": "Event_Common_StaminaDown", "OptionText2": "NormalBattleChoice3_Title_split", "OptionItemID1": "specials(ShowStamina)", "OptionDesc1": "Event_Common_StaminaDown_Des", "TitleText": "Item_TeamMedicinePr_03_name", "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Event.73301", "CompareType": "Equal", "Count": 1 } ], "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigModifySceneProperty", "Property": "Stamina", "Count": "-specials(Stamina)" }, { //战斗计数器+1 "$type": "Share.CConfigSetHollowVariable", "Key": "Event.73302", "Value": "scenevar(Event.73302)+1" }, { "$type": "Share.CConfigJump", "Jump": "OnSisBack" } ] } ] } ] // "ExtraChoice": { // "OptionContents": [ // { // "Actions": [ // { // "$type": "Share.CConfigJump", // "Jump": "OnUnlockCardChest" // } // ] // } // ] // } } ] }, "OnSisBack": { "Actions": [ { "$type": "Share.CConfigCloseDialog" }, { "$type": "Share.CConfigOpenDialog" }, { "$type": "Share.CConfigLogText", "Messages": [ "JsonText_1127" // 休息中,小队成员似乎听到了邦布的尖叫声 ] }, { "$type": "Share.CConfigChoiceServer", "OptionsMode": "Normal", "Description": "JsonText_919", // 要怎么做 "Choices": [ { "OptionText": "JsonText_1128", // “你回来啦!” "OptionText2": "JsonText_1129", // (缺席的队员归队) "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Event.73302", "CompareType": "GreaterEqual", "Count": 2 } ], "OptionContents": [ { "Actions": [ { //归队 "$type": "Share.CConfigModifySceneProperty", "Property": "Ban_Character3", "Count": 0, "ModifyType" : "Replace" }, { "$type": "Share.CConfigJump", "Jump": "OnUnlockCardChest" } ] } ] }, { "OptionText": "JsonText_1130", // 极目远眺 "OptionText2": "JsonText_1131", // (缺席的队员还剩1场战斗归队) "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Event.73302", "CompareType": "Equal", "Count": 1 } ], "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "OnUnlockCardChest" } ] } ] } ] } ] }, "OnUnlockCardChest":{ "Actions":[ { "$type": "Share.CConfigCloseDialog" }, { "$type": "Share.CConfigWaitSeconds", "Time": "0.3" }, { "$type": "Share.CConfigSetMapState", "Position": "Relative", "NodeType": "All", "X": 0, "Y": 0, "Radius": 1, "Count": 1, "FromVisibleState": [ "VisibleByTriggerEvent" ], "ToVisibleState": ["Visible"] }, { "$type": "Share.CConfigWaitSeconds", "Time": "0.3" }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "OnEnd": { "Actions": [ { "$type": "Share.CConfigFinishEvent" } ] } }, "Specials": { "BattleID": 0, "MessageID": 1009, "RandomCard": 0, "Gold": 300, "Stamina": 20, "Hp": 10, "ShowGold": 900001, "ShowStamina": 900002, "ShowHp": 900003 } }