{

    "ID": 199003511,

    "Specials": {

        "RobotID": 199003511

    },

    "Events": {

       //判断队伍里是否填满了角色

       "OnStart":{

        "Actions":[

            {

                "$type": "Share.CConfigJump",

                "Jump": "OnAddCharacter",

                "Predicates":[

                    {

                        "$type":"Share.CConfigEventByCompareParam",

                        "Param1":"charactercount(0)",

                        "Param2":3,

                        "CompareType":"Less"

                    }

                ]

            },

            {

                "$type": "Share.CConfigJump",

                "Jump": "OnChangeCharacter",

                "Predicates":[

                    {

                        "$type":"Share.CConfigEventByCompareParam",

                        "Param1":"charactercount(0)",

                        "Param2":3,

                        "CompareType":"Equal"

                    }

                ]

            }

        ]

    },

    //队伍没满，走这个分支

    "OnAddCharacter":{

        "Actions":[

            {

                "$type": "Share.CConfigOpenDialog"

            },

            {

                "$type": "Share.CConfigChoiceServer",

                "OptionsMode": "Normal",

                "Title":"EventChaos_Title_AddChar", 

                "Description": "EventChaos_Desc_AddChar_199003511", 

                "QuestionDescription":"EventChaos_QesDesc_199003511", 

                "Choices": [

                    {

                        "OptionText": "EventChaos_Option_AddChar", 

                        "OptionIcon1": 110,

                        "OptionContents": [

                            {

                                "Actions": [

                                    {

                                        "$type": "Share.CConfigJump",

                                        "Jump": "OnTeam"

                                    }

                                ]

                            }

                        ]

                    },

                    {

                        "OptionText": "Event1037_7", // 离开

                        "OptionIcon1": 106,

                        "OptionContents": [

                            {

                                "Actions": [

                                    {

                                        "$type": "Share.CConfigJump",

                                        "Jump": "OnEnd"

                                    }

                                ]

                            }

                        ]

                    }

                ]

            }

        ]

    },

    "OnTeam": {

        "Actions": [

            {

                "$type": "Share.CConfigAddCharacter",

                "AddTo": [199003511]

            },

            {

                "$type": "Share.CConfigJump",

                "Jump": "OnTipsDistribute"

            }

        ]

    },

    "OnTipsDistribute":{

        "Actions":[

            {

                "$type": "Share.CConfigSwitchServer",

                "Switch": [

                    {

                        "Weight": 50,

                        "Actions": [

                            {

                                "$type": "Share.CConfigJump",

                                "Jump": "OnTips1"

                            }

                        ]

                    },

                    {

                        "Weight": 50,

                        "Actions": [

                            {

                                "$type": "Share.CConfigJump",

                                "Jump": "OnTips2"

                            }

                        ]

                    }

                ]

            }

        ]

    },

    "OnTips1": {

        "Actions": [

            {

                "$type": "Share.CConfigShowTip",

                "TipID": 350111101

            },

            {

                "$type": "Share.CConfigJump",

                                "Jump": "OnEnd"

            }

        ]

    },

    "OnTips2": {

        "Actions": [

            {

                "$type": "Share.CConfigShowTip",

                "TipID": 350111102

            },

            {

                "$type": "Share.CConfigJump",

                                "Jump": "OnEnd"

            }

        ]

    },

    //队伍满了，走这个分支

    "OnChangeCharacter":{

        "Actions":[

            {

                "$type": "Share.CConfigOpenDialog"

            },

            {

                "$type": "Share.CConfigChoiceServer",

                "OptionsMode": "Normal",

                "Title":"EventChaos_Title_ChangeChar", 

                "Description": "EventChaos_Desc_ChangeChar_199003511", 

                "QuestionDescription":"EventChaos_QesDesc_199003511", 

                "Choices": [

                    {

                        "OptionText": "EventChaos_Option_ChangeChar_Slot1", 

                        "OptionIcon1": 110,

                        "OptionContents": [

                            {

                                "Actions": [

                                    {

                                        "$type": "Share.CConfigJump",

                                        "Jump": "OnChangeSlot1"

                                    }

                                ]

                            }

                        ]

                    },

                    {

                        "OptionText": "EventChaos_Option_ChangeChar_Slot2", 

                        "OptionIcon1": 110,

                        "OptionContents": [

                            {

                                "Actions": [

                                    {

                                        "$type": "Share.CConfigJump",

                                        "Jump": "OnChangeSlot2"

                                    }

                                ]

                            }

                        ]

                    },

                    {

                        "OptionText": "EventChaos_Option_ChangeChar_Slot3", 

                        "OptionIcon1": 110,

                        "OptionContents": [

                            {

                                "Actions": [

                                    {

                                        "$type": "Share.CConfigJump",

                                        "Jump": "OnChangeSlot3"

                                    }

                                ]

                            }

                        ]

                    },

                    {

                        "OptionText": "EventChaos_Option_ChangeChar_Nope", 

                        "OptionIcon1": 106,

                        "OptionContents": [

                            {

                                "Actions": [

                                    {

                                        "$type": "Share.CConfigJump",

                                        "Jump": "OnEnd"

                                    }

                                ]

                            }

                        ]

                    }

                ]

            }

        ]

    },

    "OnChangeSlot1": {

        "Actions": [

            {

                "$type": "Share.CConfigChangeCharacter",

                "Mode": 2,

                "ChangeFrom":1,

                "ChangeTo":[199003511]

            },

            {

                "$type": "Share.CConfigJump",

                "Jump": "OnTipsDistribute"

            }

        ]

    },

    "OnChangeSlot2": {

        "Actions": [

            {

                "$type": "Share.CConfigChangeCharacter",

                "Mode": 2,

                "ChangeFrom":2,

                "ChangeTo":[199003511]

            },

            {

                "$type": "Share.CConfigJump",

                "Jump": "OnTipsDistribute"

            }

        ]

    },

    "OnChangeSlot3": {

        "Actions": [

            {

                "$type": "Share.CConfigChangeCharacter",

                "Mode": 2,

                "ChangeFrom":3,

                "ChangeTo":[199003511]

            },

            {

                "$type": "Share.CConfigJump",

                "Jump": "OnTipsDistribute"

            }

        ]

    },

        "OnEnd": {

            "Actions": [

                {

                    "$type":"Share.CConfigRemoveAbility",

                    "AbilityName":"ChaosController"

                },

                {

                    "$type": "Share.CConfigCloseDialog"

                },

                {

                    "$type": "Share.CConfigFinishEvent"

                }

            ]

        }

    }

}