{

    "ID": 1011102,

    "EventTypeTag": [

        "CameraMoveToCenter_ban",

        "Battle"

    ],

    "Specials": {

        "odd":0,

        "difficult":10,

        "BattleID": 0,

    

        "Gold": 500,

      "Stamina": 30,

      "Hp": 15,

        "ShowGold": 900001,

        "ShowStamina": 900002,

        "ShowHp": 900003

    },

    "Events": {

        "OnStart": {

            "Actions": [

                {

                  "$type": "Share.CConfigShowTip",

                  "TipID": 101110202

              },  

              {

                    "$type": "Share.CConfigOpenDialog"

                },

                {

                  "$type": "Share.CConfigChoiceServer",

                  "OptionsMode": "Normal",

                  "Title":"Event1011102_1",

                  "Description": "Event1011102_2",

                  "QuestionDescription":"Event1011102_3",

                  "Choices": [

                      {

                          "OptionText": "Event1011102_4",

                          "OptionIcon1": 109,

                          "OptionContents": [

                              {

                                  "Actions": [

                                      {

                                          "$type": "Share.CConfigJump",

                                          "Jump": "OnBattle"

                                      }

                                  ]

                              }

                          ]

                      }

                  ]

                }

              ]

        },

        "OnBattle": {

          "Actions": [    

                {

                    "$type":"Share.CConfigDropBattleID",

                    "Type":[10], //普通1

                    "SpecialName":"BattleID"

                },

                {

                    "$type": "Share.CConfigTriggerBattle",

                    "BattleID": "specials(BattleID)",

                    "OnSuccess": "OnChooseNormal"

                }

            ]

        },

        "OnChooseNormal": {

            "Actions": [

              {

                "$type": "Share.CConfigPreset",

                "PerformKey" : "Chessboard_BattleEnd_Pre"

              },

              {

                "$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",

                    "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",

                    "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",

                    "OptionContents": [

                      {

                        "Actions": [

                          {

                            "$type": "Share.CConfigModifySceneProperty",

                            "Property": "Stamina",

                            "Count": "-specials(Stamina)"

                          },

                          {

                            "$type": "Share.CConfigJump",

                            "Jump": "OnEnd"

                          }

                        ]

                      }

                    ]

                  }

                ]

              }

            ]

          },

        "OnEnd": {

            "Actions": [

                {

                    "$type": "Share.CConfigPreset",

                    "PerformKey" : "Chessboard_BattleEnd_After"

                },

                {

                    "$type": "Share.CConfigCloseDialog",

                    "CameraMove":false

                },

                {

                    "$type": "Share.CConfigOpenDialog"

                },

                {

                    "$type": "Share.CConfigLogText",

                    "Messages": [

                        "Event1011102_5" 

                    ]

                },

                {

                    "$type": "Share.CConfigCloseDialog"

                },

                //线索1弹窗

                {

                    "$type": "Share.CConfigShowPopWindow",

                    "PopID": 1011102,

                    "ShowDirectly": true

                },

                {

                  "$type": "Share.CConfigShowTip",

                  "TipID": 101110201

                },

                {

                    //次数+1

                    "$type":"Share.CConfigSetConditionProgress",

                    "ConditionID":30060045,

                    "Progress":1,

                    "ModifyType":"Add"

                },

                {

                  //线索计数器+1

                  "$type": "Share.CConfigSetHollowVariable",

                  "Key": "EventState.1011102",

                  "Value": "scenevar(EventState.1011102)+1"

                },

                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 0.3

                },

                {

                    "$type": "Share.CConfigFinishEvent"

                }

            ]

        }

    }

}

