{

  //精英战

  "ID": 2010917,

  "EventTypeTag": [

    "CameraMoveToCenter_ban",

    "Battle"

  ],

  "Events": {

      "OnStart": {

          "Actions": [

              

              {

                  "$type":"Share.CConfigEmpty"

              },  

              {

                  "$type":"Share.CConfigDropBattleID",

                  "Type":[20,21],

                  "SpecialName":"BattleID"

              },

              {

                  "$type": "Share.CConfigTriggerBattle",

                  "BattleID": "specials(BattleID)",

                  "OnSuccess": "OnRandomResult"

              }

          ]

      },

      "OnRandomResult":{

          "Actions":[

              {

                "$type": "Share.CConfigPreset",

                "PerformKey" : "Chessboard_BattleEnd_Pre"

              },

              {

                  "$type": "Share.CConfigIf",

                  "OnSuccess": "OnChooseCard",

                  "OnFailure": "OnChooseNormal",

                  "Conditions":[

                      {

                          "$type": "Share.CConfigEventByRandom",

                          "Odds": "specials(odd)" //跳转概率

                      }

                  ]

              }

          ]

      },

      "OnChooseCard": {

          "Actions": [

              {

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

                                      },

                                      {

                                          "$type": "Share.CConfigJump",

                                          "Jump": "OnEnd"

                                      }

                                  ]

                              }

                          ]

                      },

                      {

                          "OptionText": "Event_Common_Choose", // 选择

                          "OptionItemID1": "specials(RandomCard_2)",

                          "OptionContents": [

                              {

                                  "Actions": [

                                      {

                                          "$type": "Share.CConfigDropPool",

                                          "Type": "Card",

                                          "ItemID": "specials(RandomCard_2)",

                                          "Num": 1

                                      },

                                      {

                                          "$type": "Share.CConfigJump",

                                          "Jump": "OnEnd"

                                      }

                                  ]

                              }

                          ]

                      },

                      {

                          "OptionText": "Event_Common_Choose", // 选择

                          "OptionItemID1": "specials(RandomCard_3)",

                          "OptionContents": [

                              {

                                  "Actions": [

                                      {

                                          "$type": "Share.CConfigDropPool",

                                          "Type": "Card",

                                          "ItemID": "specials(RandomCard_3)",

                                          "Num": 1

                                      },

                                      {

                                          "$type": "Share.CConfigJump",

                                          "Jump": "OnEnd"

                                      }

                                  ]

                              }

                          ]

                      }

                  ]

              }

          ]

      },

      "OnChooseNormal": {

          "Actions": [

              {

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

                          "OptionText2": "NormalBattleChoice3_Title_split",

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

                "Key": "BattleCount.20109",

                "Value": "scenevar(BattleCount.20109)+1"

            },

              {

                "$type": "Share.CConfigPreset",

                "PerformKey" : "Chessboard_BattleEnd_After"

              },

              {

                  "$type": "Share.CConfigFinishEvent"

              }

          ]

      }

  },

  "Specials": {

      "odd":0,

      "BattleID": 0,

      "difficult":21,



      "RandomCard_1": 0,

      "RandomCard_2": 0,

      "RandomCard_3": 0,

      "Gold": 500,

      "Stamina": 30,

      "Hp": 15,

      "ShowGold": 900001,

      "ShowStamina": 900002,

      "ShowHp": 900003

  }

}

