{ "ID": 1010711, "EventTypeTag": [ "CameraMoveToCenter_ban", "Battle" ], "Events": { "OnStart": { "Actions": [ { "$type":"Share.CConfigEmpty" }, // { // "$type": "Share.CConfigOpenDialog" // }, // { // "$type": "Share.CConfigLogText", // "Messages": [ // "BattleEnterMessages_{specials(MessageID)}" // ] // }, { "$type": "Share.CConfigTriggerBattle", "BattleID": "specials(BattleID)", "OnSuccess": "OnChoose" } ] }, "OnChoose": { "Actions": [ { "$type": "Share.CConfigPreset", "PerformKey" : "Chessboard_BattleEnd_Pre" }, { "$type": "Share.CConfigRandomDropID", "Type": "Card", "SpecialName": [ "RandomCard" ] }, { "$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": "OnEnd" } ] } ] }, { "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": "OnEnd" } ] } ] }, { "OptionText": "Event_Common_StaminaDown", "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": "OnEnd" } ] } ] } ] // "ExtraChoice": { // "OptionContents": [ // { // "Actions": [ // { // "$type": "Share.CConfigJump", // "Jump": "OnEnd" // } // ] // } // ] // } } ] }, "OnEnd": { "Actions": [ { "$type": "Share.CConfigPreset", "PerformKey" : "Chessboard_BattleEnd_After" }, { "$type": "Share.CConfigFinishEvent" } ] } }, "Specials": { "BattleID": 0, "MessageID": 1009, "RandomCard": 0, "Gold": 500, "Stamina": 30, "Hp": 15, "ShowGold": 900001, "ShowStamina": 900002, "ShowHp": 900003 } }