{

    "ID": 2010201,

    "Specials": {

        "RandomCard_1": 0,

        "RandomCard_2": 0,

        "RandomCard_3": 0,

        //grid

        "hp_down":15

    },

    "Events": {

        "OnStart": {

            "Actions": [

                //1、选项

                //2、选项会更改全局变量

                //--是否塌陷

                //--抬起格子

                {

                    "$type": "Share.CConfigOpenDialog"

                },

                {

                //--各自闪避 50%不受伤害，50%扣40%生命值

                    "$type": "Share.CConfigChoiceServer",

                    "OptionsMode": "Normal",

                    "Title":"Event2010201_Title",

                    "Description": "Event2010201_1",

                    "QuestionDescription": "Event2010201_2",

                    "Choices": [

                        {

                            "OptionText": "Event2010201_3", 

                            "OptionText2": "Event2010201_4",//损失{specials(hp_down)}%生命值，获得骸章。

                            "OptionIcon1":101,

                            "OptionContents": [

                                {

                                    "Actions": [

                                        {

                                            "$type": "Share.CConfigJump",

                                            "Jump": "Op_1_Over_1"

                                        }

                                    ]

                                }

                            ]

                        },

                        {

                            "OptionText": "Event2010201_5",

                            "OptionText2": "Event2010201_6",//随机抬起一列棋盘。

                            "OptionIcon1":113,

                            "Predicates": [

                                {

                                    "$type": "Share.CConfigEventByHollowVariable",

                                    "Key": "TriggerSkip_2010201",

                                    "CompareType": "Equal",

                                    "Count": 0

                                },

                                //竖直方向上有隐藏

                                {

                                    "$type":"Share.CConfigEventByOr",

                                    "Predicates":

                                    [

                                        {

                                            "$type":"Share.CConfigEventByEventState",

                                            "X":"playerpos(X)",

                                            "Y":0,

                                            "NodeType":"All",

                                            // "EventType":"Dialog",

                                            "Position":"Absolute",

                                            "Radius":0,

                                            "VisibleState":["VisibleByTriggerEvent"],

                                            "Count":1,

                                            "CompareType":"Equal"

                                        },

                                        {

                                            "$type":"Share.CConfigEventByEventState",

                                            "X":"playerpos(X)",

                                            "Y":1,

                                            "NodeType":"All",

                                            // "EventType":"Dialog",

                                            "Position":"Absolute",

                                            "Radius":0,

                                            "VisibleState":["VisibleByTriggerEvent"],

                                            "Count":1,

                                            "CompareType":"Equal"

                                        },

                                        {

                                            "$type":"Share.CConfigEventByEventState",

                                            "X":"playerpos(X)",

                                            "Y":2,

                                            "NodeType":"All",

                                            // "EventType":"Dialog",

                                            "Position":"Absolute",

                                            "Radius":0,

                                            "VisibleState":["VisibleByTriggerEvent"],

                                            "Count":1,

                                            "CompareType":"Equal"

                                        },

                                        {

                                            "$type":"Share.CConfigEventByEventState",

                                            "X":"playerpos(X)",

                                            "Y":3,

                                            "NodeType":"All",

                                            // "EventType":"Dialog",

                                            "Position":"Absolute",

                                            "Radius":0,

                                            "VisibleState":["VisibleByTriggerEvent"],

                                            "Count":1,

                                            "CompareType":"Equal"

                                        },

                                        {

                                            "$type":"Share.CConfigEventByEventState",

                                            "X":"playerpos(X)",

                                            "Y":4,

                                            "NodeType":"All",

                                            // "EventType":"Dialog",

                                            "Position":"Absolute",

                                            "Radius":0,

                                            "VisibleState":["VisibleByTriggerEvent"],

                                            "Count":1,

                                            "CompareType":"Equal"

                                        }

                                    ]

                                }

                            ],

                            "OptionContents": [

                                {

                                    "Actions": [

                                        {

                                            "$type": "Share.CConfigJump",

                                            "Jump": "Op_2_Over_1"

                                        }

                                    ]

                                }

                            ]

                        }

                        // {

                        //     "OptionText": "Event2010201_11",

                        //     "OptionText2": "Event2010201_12",//离开

                        //     "OptionIcon1":106,

                        //     "OptionContents": [

                        //         {

                        //             "Actions": [

                        //                 {

                        //                     "$type": "Share.CConfigJump",

                        //                     "Jump": "OnEnd"

                        //                 }

                        //             ]

                        //         }

                        //     ]

                        // }

                    ]

                }

            ]

        },

        "Op_1_Over_1": {

            "Actions": [

                {

                    "$type": "Share.CConfigLogText",

                    "Messages": [

                        "Event2010201_7"

                    ]

                },

                {

                    //-20%HP

                    "$type": "Share.CConfigModifyProperty",

                    "Property": "Hp",

                    "Count": "-property(HpMax_Battle)*specials(hp_down)*0.01"

                },

                {

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

                                        }

                                    ]

                                }

                            ]

                        }

                    ]

                }

            ]

        },

        "Op_2_Over_1": {

            "Actions": [

                //------观测任务------

                // {

                //     //雾中明灯

                //     "$type":"Share.CConfigSetConditionProgress",

                //     "ConditionID":30060099,

                //     "Progress":1,

                //     "ModifyType":"Add"

                // },

                //------------

                {

                    "$type": "Share.CConfigLogText",

                    "Messages": [

                        "Event2010201_9"

                    ]

                },

                {

                    //全局事件OnTurn执行标识

                    "$type": "Share.CConfigSetHollowVariable",

                    "Key": "ShowGrid_2010201",

                    "Value": 1

                },

                {

                    "$type": "Share.CConfigJump",

                    "Jump": "OnEnd"

                }

            ]

        },

        "Op_2_Over_3": {

            "Actions": [

                {

                    //-40%HP

                    "$type": "Share.CConfigModifyProperty",

                    "Property": "Hp",

                    "Count": "-property(HpMax_Battle)*specials(hp_down)*0.01"

                },

                {

                    "$type": "Share.CConfigLogText",

                    "Messages": [

                        "Event2010201_9",

                        "Event2010201_10"

                    ]

                },

                {

                    "$type": "Share.CConfigJump",

                    "Jump": "OnEnd"

                }

            ]

        },

        "OnEnd": {

            "Actions": [

                {

                    "$type": "Share.CConfigCloseDialog"

                },

                {

                    "$type": "Share.CConfigFinishEvent"

                }

            ]

        }

    }

}

