{

    "ID": 10006,

    "EventTypeTag": [

        "HollowItem"

    ],

    "Specials":

    {

        "Num":0,

        "modifycount":0,

        //表格参数

        "Range":3,

        "LowerLimit" : 2,

        "UpperLimit" : 3,

        "GoldCount":2,

        "hp_decrease":10

    },

    "Events": {

        "ItemTrigger": {

            "Actions": [

                {

                    "$type": "Share.CConfigCameraMove",

                    "StretchKey": "Far",

                    "Type": "CustomBound",

                    "BoundHalfW":"specials(Range)+1",

                    "BoundHalfH":"specials(Range)+1"

                },

                {

                    "$type":"Share.CConfigRandSpecial",

                    "MinCount":"specials(LowerLimit)",

                    "MaxCount":"specials(UpperLimit)",

                    "Special":"Num"

                },

                {

                  "$type": "Share.CConfigHollowSetSwitchEffect",

                  "Key": "Bomb"

                },

                // {

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

                //     "Time": 1

                // },

                //随机:

                //--炸自己50%，不炸自己50%

                //---改出1格金币50%，改处2格金币50%

                {

                    "$type": "Share.CConfigSetMapState",

                    "Position": "Relative",

                    "NodeType": "All",

                    "X": 0,

                    "Y": 0,

                    "Radius": 1,

                    "Count": 1,

                    "FromVisibleState": 

                    [

                        "VisibleByTriggerEvent",

                        "VisibleAtGridAround",

                        "TemporaryVisibleAtAround"

                    ],

                    "FromState": 

                    [

                        "Brighten"

                    ],

                    "ToVisibleState":

                    [

                        "Visible"

                    ],

                    "ToState":

                    [

                        "Brighten"

                    ]

                },

                {

                    "$type": "Share.CConfigSwitchServer",

                    "Switch": [

                        {

                            "Weight": 50,

                            "Actions": [

                                {

                                    //损失50%血量

                                    "$type": "Share.CConfigModifyProperty",

                                    "Property": "Hp",

                                    "ModifyType": "Add",

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

                                },

                                {

                                    "$type":"Share.CConfigRandSpecial",

                                    "MinCount":1,

                                    "MaxCount":"specials(GoldCount)",

                                    "Special":"modifycount"

                                },

                                {

                                    "$type": "Share.CConfigSetMapState",

                                    "Position": "Relative",

                                    "NodeType": "All",

                                    "Type":["Battle_Normal","Battle_Elite","Dialog_Negative","Dialog_Positive"],

                                    "X": 0,

                                    "Y": 0,

                                    "Radius": "specials(Range)",

                                    "Count": "specials(Num)",

                                    "FromVisibleState": [

                                        "Visible"

                                    ],

                                    "FromState": 

                                    [

                                        "ShowEvent",

                                        "Locked",

                                        "Unlocked"

                                    ],

                                    "ToState":

                                    [

                                        "Finished"

                                    ]

                                },

                                {

                                    "$type": "Share.CConfigEventModification",

                                    "ModificationNum": "specials(modifycount)",

                                    "ModificationType": 1,

                                    "X": 0,

                                    "Y": 0,

                                    "Position": "Relative",

                                    "Radius": "specials(Range)",

                                    "TargetEventState":["Finished"],

                                    "TargetVisibleState":["Visible"],

                                    "TargetEventType": 1,

                                    //"TargetEventState": "Locked",

                                    //"TargetVisibleState": "Visible",

                                    "EventID": [ 1016 ],

                                    "EventState": "ShowEvent",

                                    "VisibleState": "Visible"

                                }

                            ]

                        },

                        {

                            "Weight": 50,

                            "Actions": [

                                {

                                    "$type":"Share.CConfigRandSpecial",

                                    "MinCount":1,

                                    "MaxCount":"specials(GoldCount)",

                                    "Special":"modifycount"

                                },

                                {

                                    "$type": "Share.CConfigSetMapState",

                                    "Position": "Relative",

                                    "NodeType": "All",

                                    "Type":["Battle_Normal","Battle_Elite","Dialog_Negative","Dialog_Positive"],

                                    "X": 0,

                                    "Y": 0,

                                    "Radius": "specials(Range)",

                                    "Count": "specials(Num)",

                                    "FromVisibleState": [

                                        "Visible"

                                    ],

                                    "FromState": 

                                    [

                                        "ShowEvent",

                                        "Locked",

                                        "Unlocked"

                                    ],

                                    "ToState":

                                    [

                                        "Finished"

                                    ]

                                },

                                {

                                    "$type": "Share.CConfigEventModification",

                                    "ModificationNum": "specials(modifycount)",

                                    "ModificationType": 1,

                                    "X": 0,

                                    "Y": 0,

                                    "Position": "Relative",

                                    "Radius": "specials(Range)",

                                    "TargetEventState":["Finished"],

                                    "TargetVisibleState":["Visible"],

                                    "TargetEventType": 1,

                                    //"TargetEventState": "Locked",

                                    //"TargetVisibleState": "Visible",

                                    "EventID": [ 1016 ],

                                    "EventState": "ShowEvent",

                                    "VisibleState": "Visible"

                                }

                            ]

                        }

                    ]

                },

                // {

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

                //     "SoundID":80056

                // },

                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 2.5

                },

                {

                    "$type": "Share.CConfigCameraMove",

                    "Type": "Player",

                    "StretchKey": "Back"



                },

                {

                  "$type": "Share.CConfigHollowSetSwitchEffect"

                //   "Key": "Bomb"

                }

            ]

        }

    }

}

