//第一层全局事件

{

    "ID": 2010802,

    "EventTypeTag": [

        "GlobalEvent"

    ],

    "Specials": {

        //表格参数

        "step1": 0,

        "step2": 0,

        "step3": 0,

        "X1":2,

        "Y1":2,



        "X2":7,

        "Y2":2,



        "X3":12,

        "Y3":2,



        "X4":8,

        "Y4":1,

        "X5":7,

        "Y5":1

    },

    "Events": {

        "OnTurn": {

            "Actions": [

                //============step is 1 ==============

                //弹fairy

                {

                    "$type": "Share.CConfigJump",

                    "Jump": "Step1",

                    "Predicates": [

                        {

                            "$type": "Share.CConfigEventBySpecials",

                            "ParamName": "X1",

                            "Param": "playerpos(X)",

                            "CompareType": "Equal"

                        },

                        {

                            "$type": "Share.CConfigEventBySpecials",

                            "ParamName": "Y1",

                            "Param": "playerpos(Y)",

                            "CompareType": "Equal"

                        },

                        {

                            "$type": "Share.CConfigEventBySpecials",

                            "ParamName": "step1",

                            "Param": 0,

                            "CompareType": "Equal"

                        }

                    ]

                },

                //======================================

                //============ step by step ==============

                //======================================

                {

                    "$type": "Share.CConfigJump",

                    "Jump": "Step2",

                    "Predicates": [

                        {

                            "$type": "Share.CConfigEventBySpecials",

                            "ParamName": "X2",

                            "Param": "playerpos(X)",

                            "CompareType": "Equal"

                        },

                        {

                            "$type": "Share.CConfigEventBySpecials",

                            "ParamName": "Y2",

                            "Param": "playerpos(Y)",

                            "CompareType": "Equal"

                        },

                        {

                            "$type": "Share.CConfigEventBySpecials",

                            "ParamName": "step2",

                            "Param": 0,

                            "CompareType": "Equal"

                        }

                    ]

                }

                

            ]

        },

        "Step1": {

            "Actions": [

                {

                    "$type": "Share.CConfigSetSpecial",

                    "SpecialName": "step1",

                    "SpecialValue": "1"

                },

                {

                    "$type": "Share.CConfigShowTip",

                    "TipID": 201080201

                }

            ]

        },

        "Step2": {

            "Actions": [

                {

                    "$type": "Share.CConfigSetSpecial",

                    "SpecialName": "step2",

                    "SpecialValue": "1"

                },

                {

                    "$type": "Share.CConfigShowTip",

                    "TipID": 201080203

                },

                {

                    "$type": "Share.CConfigCameraMoveV2",

                    "StretchKey": "Target",

                    "Type": "TriggerPosition",

                    "PositionOffsetType":"Absolute",

                    "PositionOffsetX":8,

                    "PositionOffsetY":2,

                    "RadiusX":2,

                    "RadiusY":2,

                    "CanControl":false,

                    "UseStretchZ":true,

                    "Parallel":true,

                    "FreezeZ":true

                },

                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 0.2

                },

                {

                    "$type": "Share.CConfigEventModification",

                    "X": "specials(X2)+1",

                    "Y": "specials(Y2)",

                    "Position": "Absolute",

                    "Radius": 0,

                    "ModificationNum": 1,

                    "ModificationType": 1,

                    "TargetEventID": [ 1003 ],

                    "TargetEventType": 1,

                    //"TargetEventState": "Locked",

                    //"TargetVisibleState": "Visible",

                    "EventID": [ 2010807 ],

                    "EventState": "ShowEvent",

                    "VisibleState": "Visible"

                },

                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 0.3

                },

                {

                    "$type": "Share.CConfigCameraMoveV2",

                    "StretchKey": "Target",

                    "Type": "TriggerPosition",

                    "PositionOffsetType":"Absolute",

                    "PositionOffsetX":9,

                    "PositionOffsetY":2,

                    "RadiusX":2,

                    "RadiusY":2,

                    "CanControl":false,

                    "UseStretchZ":true,

                    "Parallel":true,

                    "FreezeZ":true

                },

                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 0.1

                },

                {

                    "$type": "Share.CConfigEventModification",

                    "X": "specials(X2)+1",

                    "Y": "specials(Y2)",

                    "Position": "Absolute",

                    "Radius": 0,

                    "ModificationNum": 1,

                    "ModificationType": 1,

                    "TargetEventID": [ 2010807 ],

                    "TargetEventType": 1,

                    //"TargetEventState": "Locked",

                    //"TargetVisibleState": "Visible",

                    "EventID": [ 1003 ],

                    "EventState": "Locked",

                    "VisibleState": "Visible"

                },

                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 0.1

                },

                {

                    "$type": "Share.CConfigEventModification",

                    "X": "specials(X2)+2",

                    "Y": "specials(Y2)",

                    "Position": "Absolute",

                    "Radius": 0,

                    "ModificationNum": 1,

                    "ModificationType": 1,

                    "TargetEventID": [ 1003 ],

                    "TargetEventType": 1,

                    //"TargetEventState": "Locked",

                    //"TargetVisibleState": "Visible",

                    "EventID": [ 2010807 ],

                    "EventState": "ShowEvent",

                    "VisibleState": "Visible"

                },

                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 0.3

                },

                {

                    "$type": "Share.CConfigCameraMoveV2",

                    "StretchKey": "Target",

                    "Type": "TriggerPosition",

                    "PositionOffsetType":"Absolute",

                    "PositionOffsetX":10,

                    "PositionOffsetY":2,

                    "RadiusX":2,

                    "RadiusY":2,

                    "CanControl":false,

                    "UseStretchZ":true,

                    "Parallel":true,

                    "FreezeZ":true

                },

                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 0.1

                },

                {

                    "$type": "Share.CConfigEventModification",

                    "X": "specials(X2)+2",

                    "Y": "specials(Y2)",

                    "Position": "Absolute",

                    "Radius": 0,

                    "ModificationNum": 1,

                    "ModificationType": 1,

                    "TargetEventID": [ 2010807 ],

                    "TargetEventType": 1,

                    //"TargetEventState": "Locked",

                    //"TargetVisibleState": "Visible",

                    "EventID": [ 1003 ],

                    "EventState": "Locked",

                    "VisibleState": "Visible"

                },

                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 0.1

                },

                {

                    "$type": "Share.CConfigEventModification",

                    "X": "specials(X2)+3",

                    "Y": "specials(Y2)",

                    "Position": "Absolute",

                    "Radius": 0,

                    "ModificationNum": 1,

                    "ModificationType": 1,

                    "TargetEventID": [ 2010811 ],

                    "TargetEventType": 1,

                    //"TargetEventState": "Locked",

                    //"TargetVisibleState": "Visible",

                    "EventID": [ 2010807 ],

                    "EventState": "ShowEvent",

                    "VisibleState": "Visible"

                },

                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 0.5

                },

                {

                    "$type": "Share.CConfigEventModification",

                    "X": "specials(X2)+3",

                    "Y": "specials(Y2)",

                    "Position": "Absolute",

                    "Radius": 1,

                    "ModificationNum": 1,

                    "ModificationType": 1,

                    "TargetEventID": [ 2010807 ],

                    "TargetEventType": 1,

                    //"TargetEventState": "Locked",

                    //"TargetVisibleState": "Visible",

                    "EventID": [ 2010811 ],

                    "EventState": "ShowEvent",

                    "VisibleState": "Visible"

                },

                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 0.5

                },

                {

                    "$type": "Share.CConfigCameraMoveV2",

                    "StretchKey": "Back",

                    "Type": "Back",

                    "CanControl":true,

                    "UseStretchZ":false

                }

            ]

        },

        "Step3": {

            "Actions": [

                {

                    "$type": "Share.CConfigSetSpecial",

                    "SpecialName": "step3",

                    "SpecialValue": "1"

                },

                {

                    "$type": "Share.CConfigCameraMove",

                    "StretchKey": "Far",

                    "Type": "CustomBound",

                    "BoundIndexX":"11",

                    "BoundIndexY":"82"

                },

                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time":1

                },

                {

                    "$type": "Share.CConfigEventModification",

                    "X": "0",

                    "Y": "0",

                    "Position": "Relative",

                    "Radius": 1,

                    "ModificationNum": 1,

                    "ModificationType": 1,

                    "TargetEventID": [ 2010809 ],

                    "TargetEventType": 1,

                    //"TargetEventState": "Locked",

                    //"TargetVisibleState": "Visible",

                    "EventID": [ 2010812 ],

                    "EventState": "ShowEvent",

                    "VisibleState": "Visible"

                },

                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 0.75

                },

                {

                    "$type": "Share.CConfigEventModification",

                    "X": "specials(X3)",

                    "Y": "specials(Y3)",

                    "Position": "Absolute",

                    "Radius": 4,

                    "ModificationNum": 1,

                    "ModificationType": 1,

                    "TargetEventID": [ 1016 ],

                    "TargetEventType": 1,

                    "TargetEventState": ["ShowEvent"],

                    //"TargetVisibleState": "Visible",

                    "EventID": [ 2010809 ],

                    "EventState": "ShowEvent",

                    "VisibleState": "Visible"

                },

                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 1

                },

                {

                    "$type": "Share.CConfigCameraMove",

                    "Type": "Player",

                    "StretchKey": "Back"



                }

            ]

        }

    }

}

