{

    "ID": 2021015,

    "Specials": {

        "HP": 10,

        "Stamina": 30,

        "Coin": 300,

        "Coin2": 500,



        "RandomCard_1": 0,

        "RandomCard_2": 0,

        "RandomCard_3": 0

    },

    "Events": {

        "OnStart": {

            "Actions": [

                {

                    "$type": "Share.CConfigOpenDialog"

                },

                {

                    "$type": "Share.CConfigChoiceServer",

                    "OptionsMode": "Normal",

                    "Title":"Event2021015_Title",

                    "Description": "Event2021015_1",

                    "QuestionDescription": "Event2021015_2",

                    "Choices": [

                        {

                            "OptionText": "Event2021015_3",

                            "OptionText2": "Event2021015_4",

                            "Predicates":[

                                {

                                    //拥有足够卡牌

                                    "$type": "Share.CConfigEventByTarotCard",

                                    "Count": 11,

                                    "CompareType": "GreaterEqual",

                                    "CardType": 0

                                }

                            ],

                            "OptionIcon1": 101,

                            "OptionContents": [

                                {

                                    "Actions": [

                                        {

                                            "$type": "Share.CConfigJump",

                                            "Jump": "Op_1_Over"

                                        }

                                    ]

                                }

                            ]

                        },

                        {

                            "OptionText": "Event2021015_5",

                            "OptionText2": "Event2021015_6",

                            "OptionIcon1": 102,

                            "Predicates":[

                                {

                                    //拥有足够卡牌

                                    "$type": "Share.CConfigEventByTarotCard",

                                    "Count": 11,

                                    "CompareType": "GreaterEqual",

                                    "CardType": 0

                                }

                            ],

                            "OptionContents": [

                                {

                                    "Actions": [

                                        {

                                            "$type": "Share.CConfigJump",

                                            "Jump": "Op_2_Over"

                                        }

                                    ]

                                }

                            ]

                        },

                        {

                            "OptionText": "Event2021015_7",

                            "OptionText2": "Event2021015_8",

                            "OptionIcon1": 101,

                            "Predicates":[

                                {

                                    //没有足够卡牌

                                    "$type": "Share.CConfigEventByTarotCard",

                                    "Count": 11,

                                    "CompareType": "Less",

                                    "CardType": 0

                                }

                            ],

                            "OptionContents": [

                                {

                                    "Actions": [

                                        {

                                            "$type": "Share.CConfigJump",

                                            "Jump": "Op_3_Over"

                                        }

                                    ]

                                }

                            ]

                        },

                        {

                            "OptionText": "Event2021015_9",

                            "OptionText2": "Event2021015_10",

                            "OptionIcon1": 102,

                            "Predicates":[

                                {

                                    //没有足够卡牌

                                    "$type": "Share.CConfigEventByTarotCard",

                                    "Count": 11,

                                    "CompareType": "Less",

                                    "CardType": 0

                                },

                                {

                                    //没有足够卡牌

                                    "$type": "Share.CConfigEventByTarotCard",

                                    "Count": 3,

                                    "CompareType": "GreaterEqual",

                                    "CardType": 0

                                }

                            ],

                            "OptionContents": [

                                {

                                    "Actions": [

                                        {

                                            "$type": "Share.CConfigJump",

                                            "Jump": "Op_4_Over"

                                        }

                                    ]

                                }

                            ]

                        }

                    ]

                }

            ]

        },

        "Op_1_Over":{

            "Actions":

            [

                {

                    "$type": "Share.CConfigModifyProperty",

                    "Property": "Hp",

                    "Count": "-property(HpMax_Battle)*specials(HP)*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":{

            "Actions":

            [

                {

                    //获得金币

                    "$type": "Share.CConfigAddItem",

                    "ItemID": 1,

                    "Count": "specials(Coin2)"

                },

                {

                    "$type": "Share.CConfigRandomCardIDFromItem",

                    "Type": 0,

                    "Num":3,

                    "SpecialName": [

                        "RandomCard_1",

                        "RandomCard_2",

                        "RandomCard_3"

                    ]

                },

                {

                    "$type": "Share.CConfigChoiceServer",

                    "OptionsMode": "Normal",

                    "Garbage":true,

                    "ShowMode": "Card",

                    "Choices": [

                        {

                            "OptionText": "Event_Common_Garbage", //丢弃

                            "OptionItemID1": "specials(RandomCard_1)",

                            "OptionContents": [

                                {

                                    "Actions": [

                                        {

                                            "$type": "Share.CConfigRemoveCard",

                                            "Type": 0,

                                            "ItemID": "specials(RandomCard_1)",

                                            "Count": 1

                                        },

                                        {

                                            "$type": "Share.CConfigJump",

                                            "Jump": "OnEnd"

                                        }

                                    ]

                                }

                            ]

                        },

                        {

                            "OptionText": "Event_Common_Garbage", // 丢弃

                            "OptionItemID1": "specials(RandomCard_2)",

                            "OptionContents": [

                                {

                                    "Actions": [

                                        {

                                            "$type": "Share.CConfigRemoveCard",

                                            "Type": 0,

                                            "ItemID": "specials(RandomCard_2)",

                                            "Count": 1

                                        },

                                        {

                                            "$type": "Share.CConfigJump",

                                            "Jump": "OnEnd"

                                        }

                                    ]

                                }

                            ]

                        },

                        {

                            "OptionText": "Event_Common_Garbage", // 丢弃

                            "OptionItemID1": "specials(RandomCard_3)",

                            "OptionContents": [

                                {

                                    "Actions": [

                                        {

                                            "$type": "Share.CConfigRemoveCard",

                                            "Type": 0,

                                            "ItemID": "specials(RandomCard_3)",

                                            "Count": 1

                                        },

                                        {

                                            "$type": "Share.CConfigJump",

                                            "Jump": "OnEnd"

                                        }

                                    ]

                                }

                            ]

                        }

                    ]

                }

            ]

        },

        "Op_3_Over":{

            "Actions":

            [

                {

                    "$type" : "Share.CConfigModifySceneProperty",

                    "Property" :  "Stamina",

                    "Count" : "specials(Stamina)"

                },

                {

                    "$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_4_Over":{

            "Actions":

            [

                {

                    "$type": "Share.CConfigModifyProperty",

                    "Property": "Hp",

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

                },

                {

                    "$type": "Share.CConfigRandomCardIDFromItem",

                    "Type": 0,

                    "Num":3,

                    "SpecialName": [

                        "RandomCard_1",

                        "RandomCard_2",

                        "RandomCard_3"

                    ]

                },

                {

                    "$type": "Share.CConfigChoiceServer",

                    "OptionsMode": "Normal",

                    "Garbage":true,

                    "ShowMode": "Card",

                    "Choices": [

                        {

                            "OptionText": "Event_Common_Garbage", //丢弃

                            "OptionItemID1": "specials(RandomCard_1)",

                            "OptionContents": [

                                {

                                    "Actions": [

                                        {

                                            "$type": "Share.CConfigRemoveCard",

                                            "Type": 0,

                                            "ItemID": "specials(RandomCard_1)",

                                            "Count": 1

                                        },

                                        {

                                            "$type": "Share.CConfigJump",

                                            "Jump": "OnEnd"

                                        }

                                    ]

                                }

                            ]

                        },

                        {

                            "OptionText": "Event_Common_Garbage", // 丢弃

                            "OptionItemID1": "specials(RandomCard_2)",

                            "OptionContents": [

                                {

                                    "Actions": [

                                        {

                                            "$type": "Share.CConfigRemoveCard",

                                            "Type": 0,

                                            "ItemID": "specials(RandomCard_2)",

                                            "Count": 1

                                        },

                                        {

                                            "$type": "Share.CConfigJump",

                                            "Jump": "OnEnd"

                                        }

                                    ]

                                }

                            ]

                        },

                        {

                            "OptionText": "Event_Common_Garbage", // 丢弃

                            "OptionItemID1": "specials(RandomCard_3)",

                            "OptionContents": [

                                {

                                    "Actions": [

                                        {

                                            "$type": "Share.CConfigRemoveCard",

                                            "Type": 0,

                                            "ItemID": "specials(RandomCard_3)",

                                            "Count": 1

                                        },

                                        {

                                            "$type": "Share.CConfigJump",

                                            "Jump": "OnEnd"

                                        }

                                    ]

                                }

                            ]

                        }

                    ]

                }

            ]

        },

        "OnEnd":{

            "Actions":

            [

                {

                    "$type": "Share.CConfigCloseDialog"

                },

                {

                    "$type": "Share.CConfigFinishEvent"

                }

            ]

        }

    }

}

