{

    "ID": 1011003,

    "Events": {

        //起始执行的事件

        "OnStart": {

            "Actions": [

                {

                    "$type": "Share.CConfigOpenDialog"

                },

                {

                    "$type": "Share.CConfigLogText",

                    "Messages": [

                        "Event_1011003_Log_1_1",

                        "Event_1011003_Log_1_2"

                    ]

                },

                {

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

                    "$type": "Share.CConfigChoiceServer",

                    "OptionsMode": "Normal",

                    "Description": "Event_1011003_Des_1",

                    "Choices": [

                        //-20压力

                        {

                            "OptionText": "Event_1011003_op_1",

                            "OptionText2": "Event_1011003_op_1_split",

                            "OptionContents": [

                                //

                                {

                                    "Actions": [

                                        {

                                            "$type": "Share.CConfigJump",

                                            "Jump": "Op_1_Over_1"

                                        }

                                    ]

                                }

                            ]

                        },

                        //没有纸飞机，则获得纸飞机

                        {

                            "OptionText": "Event_1011003_op_2",

                            "OptionText2": "Event_1011003_op_2_split",

                            "Predicates": [

                                {

                                    //没纸飞机

                                    "$type": "Share.CConfigEventByItemID",

                                    "ItemID": "specials(card_2)",

                                    "CompareType": "Equal",

                                    "Count": 0

                                }

                            ],

                            "OptionContents": [

                                {

                                    "Actions": [

                                        {

                                            "$type": "Share.CConfigJump",

                                            "Jump": "Op_2_Over_1"

                                        }

                                    ]

                                }

                            ]

                        },

                        //有抱枕后获得祝福

                        // {

                        //     "OptionText": "Event_1011003_op_3",

                        //     "OptionText2": "Event_1011003_op_3_split",

                        //     "Predicates": [

                        //         {

                        //             //有抱枕

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

                        //             "ItemID": "specials(card_1)",

                        //             "CompareType": "Equal",

                        //             "Count": 1

                        //         }

                        //     ],

                        //     "OptionContents": [

                        //         {

                        //             "Actions": [

                        //                 {

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

                        //                     "Jump": "Op_3_Over_1"

                        //                 }

                        //             ]

                        //         }

                        //     ]

                        // },

                        //润了润了

                        {

                            "OptionText": "Event_1011003_op_4",

                            "OptionText2": "Event_1011003_op_4_split",

                            "OptionContents": [

                                {

                                    "Actions": [

                                        {

                                            "$type": "Share.CConfigJump",

                                            "Jump": "Op_4_Over_1"

                                        }

                                    ]

                                }

                            ]

                        }

                    ]

                }

            ]

        },

        "Op_1_Over_1":         //-20压力

        {

            "Actions": [

                {

                    "$type": "Share.CConfigLogText",

                    "Messages": [

                        "Event_1011003_op_1_over_1",

                        "Event_1011003_op_1_over_2"

                    ]

                },

                {

                    "$type": "Share.CConfigModifySceneProperty",

                    "Property": "Stamina",

                    "Count": "-specials(op_1)"

                },

                {

                    "$type": "Share.CConfigJump",

                    "Jump": "OnEnd"

                }

            ]

        },

        "Op_2_Over_1":         //获得纸飞机 1001006

        {

            "Actions": [

                {

                    "$type": "Share.CConfigLogText",

                    "Messages": [

                        "Event_1011003_op_2_over_1",

                        "Event_1011003_op_2_over_2"

                    ]

                },

                {

                    "$type": "Share.CConfigAddItem",

                    "ItemID": "specials(card_2)",

                    "Count": 1

                },

                {

                    "$type": "Share.CConfigJump",

                    "Jump": "OnEnd"

                }

            ]

        },

        "Op_3_Over_1":         //祝福 令人眩晕的爱情

        {

            "Actions": [

                {

                    "$type": "Share.CConfigLogText",

                    "Messages": [

                        "Event_1011003_op_3_over_1",

                        "Event_1011003_op_3_over_2",

                        "Event_1011003_op_3_over_3"

                    ]

                },

                {

                    "$type": "Share.CConfigDropCurse",

                    "CurseID": "specials(bless_1)",

                    "Stack": "Unique"

                },

                {

                    "$type": "Share.CConfigJump",

                    "Jump": "OnEnd"

                }

            ]

        },

        "Op_4_Over_1":         //润了

        {

            "Actions": [

                {

                    "$type": "Share.CConfigLogText",

                    "Messages": [

                        "Event_1011003_op_4_over_1"

                    ]

                },

                {

                    "$type": "Share.CConfigJump",

                    "Jump": "OnEnd"

                }

            ]

        },

        "OnEnd": {

            "Actions": [

				{

					"$type": "Share.CActionChangeHollowEventWeightCfg",

					"EventID": 1011003,

					"WeightFactor": 0

				},

				{

					"$type": "Share.CActionChangeHollowEventWeightCfg",

					"EventID": 1011002,

					"WeightFactor": 10000,

					"Predicates": [

                        {

							"$type": "Share.CConfigEventByHollowVariable",

							"Key": "HaveBeenTo.1011002",

                            "Count": 0,

                            "CompareType": "Equal"

                        }					

					]

				},

				{

                    "$type": "Share.CConfigSetHollowVariable",

                    "Key": "HaveBeenTo.1011003",

                    "Value": 1

                },				

                {

                    "$type": "Share.CConfigCloseDialog"

                },

                {

                    "$type": "Share.CConfigFinishEvent"

                }

            ]

        }

    },

    "Specials": {

        //表格参数

        "op_1": 20,

        "card_1": 1001005,

        //邦布抱枕

        "card_2": 1001006,

        //纸飞机

        "bless_1": 1105002

    }

}

