{

    "ID": 1012015,

    "Events": {

        "OnStart": {

            "Actions": [

                {

                    "$type": "Share.CConfigOpenDialog"

                },

                {

                    "$type": "Share.CConfigLogText",

                    "Messages": [

                        "Event_1012015_Log_1_1",

                        "Event_1012015_Log_1_2"

                    ]

                },

                {

                    //根据选项模式选择选项

                    "$type": "Share.CConfigChoiceServer",

                    "OptionsMode": "Normal",

                    "Description": "Event_1012015_Des_1",

                    "Choices": [

                        {

                            "OptionText": "Event_1012015_op_1",

                            "OptionText2": "Event_1012015_op_1_split",

                            "Predicates": [

                                {

                                    //有1卡牌

                                    "$type": "Share.CConfigEventByTarotCard",

                                    "CardType": 0,

                                    "CompareType": "GreaterEqual",

                                    "Count": 1

                                }

                            ],

                            "OptionContents": [

                                {

                                    "Actions": [

                                        {

                                            //失去卡牌

                                            "$type": "Share.CConfigRemoveCard",

                                            "Type": 0,

                                            "Count": 1

                                        },

                                        {

                                            //全队20%血量

                                            "$type": "Share.CConfigModifyProperty",

                                            "Property": "Hp",

                                            "Count": "property(HpMax_Battle)*specials(op_1_0)*0.01"

                                        },

                                        {

                                            "$type": "Share.CConfigJump",

                                            "Jump": "Op_1_Over_1"

                                        }

                                    ]

                                }

                            ]

                        },

                        {

                            "OptionText": "Event_1012015_op_2",

                            "OptionText2": "Event_1012015_op_2_split",

                            "Predicates": [

                                {

                                    //有2卡牌

                                    "$type": "Share.CConfigEventByTarotCard",

                                    "CardType": 0,

                                    "CompareType": "GreaterEqual",

                                    "Count": 2

                                }

                            ],

                            "OptionContents": [

                                {

                                    "Actions": [

                                        {

                                            //失去卡牌

                                            "$type": "Share.CConfigRemoveCard",

                                            "Type": 0,

                                            "Count": 2

                                        },

                                        {

                                            //全队20%血量

                                            "$type": "Share.CConfigModifyProperty",

                                            "Property": "Hp",

                                            "Count": "property(HpMax_Battle)*specials(op_2_0)*0.01"

                                        },

                                        {

                                            "$type": "Share.CConfigJump",

                                            "Jump": "Op_2_Over_1"

                                        }

                                    ]

                                }

                            ]

                        },

                        {

                            "OptionText": "Event_1012015_op_3",

                            "OptionText2": "Event_1012015_op_3_split",

                            "Predicates": [

                                {

                                    //至少拥有1个诅咒

                                    "$type": "Share.CConfigEventByCurse",

                                    "Type": 1,

                                    "Rare": [

                                        2,

                                        3,

                                        4

                                    ],

                                    "CompareType": "GreaterEqual",

                                    "Count": 1

                                }

                            ],

                            "OptionContents": [

                                {

                                    "Actions": [

                                        {

                                            //全体-10%

                                            "$type": "Share.CConfigModifyProperty",

                                            "Property": "Hp",

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

                                        },

                                        {

                                            //失去一个诅咒

                                            "$type": "Share.CConfigRemoveCurse",

                                            "BuffType": 1,

                                            "Count": 1

                                        },

                                        {

                                            "$type": "Share.CConfigJump",

                                            "Jump": "Op_3_Over_1"

                                        }

                                    ]

                                }

                            ]

                        },

                        {

                            "OptionText": "Event_1012015_op_4",

                            "OptionText2": "Event_1012015_op_4_split",

                            "OptionContents": [

                                {

                                    "Actions": [

                                        {

                                            "$type": "Share.CConfigJump",

                                            "Jump": "Op_4_Over_1"

                                        }

                                    ]

                                }

                            ]

                        }

                    ]

                }

            ]

        },

        "Op_1_Over_1": {

            "Actions": [

                {

                    "$type": "Share.CConfigLogText",

                    "Messages": [

                        "Event_1012015_op_1_over_1"

                    ]

                },

                {

                    "$type": "Share.CConfigJump",

                    "Jump": "OnEnd"

                }

            ]

        },

        "Op_2_Over_1": {

            "Actions": [

                {

                    "$type": "Share.CConfigLogText",

                    "Messages": [

                        "Event_1012015_op_2_over_1"

                    ]

                },

                {

                    "$type": "Share.CConfigJump",

                    "Jump": "OnEnd"

                }

            ]

        },

        "Op_3_Over_1": {

            "Actions": [

                {

                    "$type": "Share.CConfigLogText",

                    "Messages": [

                        "Event_1012015_op_3_over_1"

                    ]

                },

                {

                    "$type": "Share.CConfigJump",

                    "Jump": "OnEnd"

                }

            ]

        },

        "Op_4_Over_1": {

            "Actions": [

                {

                    "$type": "Share.CConfigLogText",

                    "Messages": [

                        "Event_1012015_op_4_over_1"

                    ]

                },

                {

                    "$type": "Share.CConfigJump",

                    "Jump": "OnEnd"

                }

            ]

        },

        "OnEnd": {

            "Actions": [

                {

                    "$type": "Share.CConfigCloseDialog"

                },

                {

                    "$type": "Share.CConfigFinishEvent"

                }

            ]

        }

    },

    "Specials": {

        "ShowHp": 900003,

        "op_1_0": 20,

        "op_2_0": 40,

        "op_3_0": 15

    }

}

