{

  "ID": 2020708, //a追赶



  

  "Events": {

    "OnStart": {

      "Actions": [

        {

          "$type": "Share.CConfigJump",

          "Jump":"OnStop",

          "Predicates":[

            {

              "$type": "Share.CConfigEventByHollowVariable",

              "Key": "EventCount.2020705",

              "CompareType": "Equal",

              "Count": 14

            }

          ]

        },

        {

          "$type": "Share.CConfigIf",

          "OnSuccess":"OnDirection",

          "OnFailure":"OnEnd",

          "Conditions":[ //a位置的范围内有一个zzz

            {

                "$type":"Share.CConfigEventByOr",

                "Predicates":

                [

                    {

                        "$type":"Share.CConfigEventByEventState",

                        "X":1,

                        "Y":1,

                        "Position":"Absolute",

                        "VisibleState":["Visible"],

                        "State":["ShowEvent"],

                        "Count":1,

                        "CompareType":"Equal",

                        "Radius":0,

                        "EventID":[2020705]

                    },

                    {

                        "$type":"Share.CConfigEventByEventState",

                        "X":3,

                        "Y":1,

                        "Position":"Absolute",

                        "VisibleState":["Visible"],

                        "State":["ShowEvent"],

                        "Count":1,

                        "CompareType":"Equal",

                        "Radius":0,

                        "EventID":[2020705]

                    }

                ]

            }

            

          ]

        }

      ]

    },

    

    "OnDirection": {

      "Actions": [

        //从右来

        {

          "$type": "Share.CConfigJump",

          "Jump":"OnRight",

          "Predicates":[

              {

                "$type":"Share.CConfigEventByDirection",

                "Direction":

                [

                    "Right"

                ]

            }

          ]

        },

        //从左来

        {

          "$type": "Share.CConfigJump",

          "Jump":"OnLeft",

          "Predicates":[

            {

              "$type":"Share.CConfigEventByDirection",

              "Direction":

              [

                  "Left"

              ]

          }

          ]

        }

      ]

    },



    "OnRight": { 

      "Actions": [

        {

          "$type": "Share.CConfigWaitSeconds",

          "Time": 0.3

        },

        {

          "$type": "Share.CConfigEventModification",

          "X": 1,

          "Y": 1,

          "Position": "Absolute",

          "Radius": 0,

          "ModificationNum": 1,

          "ModificationType": 1,

          "TargetEventID": [ 2020705 ],//zzz

          "TargetEventType": 1,

          "EventID": [ 2020707 ],//kong

          "EventState": "Locked",

          "VisibleState": "Visible"

        },

        // {

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

        //   "X": 1,

        //   "Y": 2,

        //   "Position": "Absolute",

        //   "Radius": 0,

        //   "ModificationNum": 1,

        //   "ModificationType": 1,

        //   //"TargetEventID": [ 2020707 ],//空

        //   "TargetVisibleState":[ "Visible"],

        //   "TargetEventType": 1,

        //   "EventID": [ 2020705 ],//zzz

        //   "EventState": "ShowEvent",

        //   "VisibleState": "Visible"

        // },

        // {

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

        //   "Time": 0.2

        // },

        // {

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

        //   "X": 1,

        //   "Y": 2,

        //   "Position": "Absolute",

        //   "Radius": 0,

        //   "ModificationNum": 1,

        //   "ModificationType": 1,

        //   "TargetEventID": [ 2020705 ],//zzz

        //   "TargetEventType": 1,

        //   "EventID": [ 2020710 ],//c

        //   "EventState": "Locked",

        //   "VisibleState": "Visible"

        // },

        {

          "$type": "Share.CConfigEventModification",

          "X": 1,

          "Y": 3,

          "Position": "Absolute",

          "Radius": 0,

          "ModificationNum": 1,

          "ModificationType": 1,

          //"TargetEventID": [ 2020707 ],//空

          "TargetEventType": 1,

          "TargetVisibleState":[ "Visible"],

          "EventID": [ 2020705 ],//zzz

          "EventState": "ShowEvent",

          "VisibleState": "Visible"

        },        

        {

          "$type": "Share.CConfigWaitSeconds",

          "Time": 0.5

        },

        {

          "$type": "Share.CConfigSetHollowVariable",

          "Key": "EventCount.2020705",

          "Value": "scenevar(EventCount.2020705)+1" //计数+1

        },

        //坚持不懈追逐到首领停止行动（15次

        {

          "$type":"Share.CConfigSetConditionProgress",

          "ConditionID":30060065,

          "Progress":1,

          "ModifyType":"Add"

      },

        {

          "$type": "Share.CConfigJump",

          "Jump":"OnEnd"

        }

      ]

    },



    "OnLeft": {

      "Actions": [

        {

          "$type": "Share.CConfigJump",

          "Jump":"OnLeft_2",

          "Predicates":[ //判断b点是否为关闭，关闭走下，开启走右

            {

              "$type": "Share.CConfigEventByHollowVariable",

              "Key": "Eventb.2020709",

              "CompareType": "Equal",

              "Count": 0

            }

          ]

        },

        

                            {

                              "$type": "Share.CConfigWaitSeconds",

                              "Time": 0.3

                            },

                            {

                              "$type": "Share.CConfigEventModification",

                              "X": 3,

                              "Y": 1,

                              "Position": "Absolute",

                              "Radius": 0,

                              "ModificationNum": 1,

                              "ModificationType": 1,

                              "TargetEventID": [ 2020705 ],//zzz

                              "TargetEventType": 1,

                              "EventID": [ 2020707 ],//kong

                              "EventState": "Locked",

                              "VisibleState": "Visible"

                            },

                            // {

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

                            //   "X": 4,

                            //   "Y": 1,

                            //   "Position": "Absolute",

                            //   "Radius": 0,

                            //   "ModificationNum": 1,

                            //   "ModificationType": 1,

                            //   //"TargetEventID": [ 2020707 ],//空

                            //   "TargetEventType": 1,

                            //   "TargetVisibleState":[ "Visible"],

                            //   "EventID": [ 2020705 ],//zzz

                            //   "EventState": "ShowEvent",

                            //   "VisibleState": "Visible"

                            // },

                            // {

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

                            //   "Time": 0.2

                            // },

                            // {

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

                            //   "X": 4,

                            //   "Y": 1,

                            //   "Position": "Absolute",

                            //   "Radius": 0,

                            //   "ModificationNum": 1,

                            //   "ModificationType": 1,

                            //   "TargetEventID": [ 2020705 ],//zzz

                            //   "TargetEventType": 1,

                            //   "EventID": [ 2020709 ],//b

                            //   "EventState": "Locked",

                            //   "VisibleState": "Visible"

                            // },

                            {

                              "$type": "Share.CConfigEventModification",

                              "X": 5,

                              "Y": 1,

                              "Position": "Absolute",

                              "Radius": 0,

                              "ModificationNum": 1,

                              "ModificationType": 1,

                              //"TargetEventID": [ 2020707 ],//空

                              "TargetEventType": 1,

                              "TargetVisibleState":[ "Visible"],

                              "EventID": [ 2020705 ],//zzz

                              "EventState": "ShowEvent",

                              "VisibleState": "Visible"

                            },

                            {

                              "$type": "Share.CConfigWaitSeconds",

                              "Time": 0.5

                            },

                            {

                              "$type": "Share.CConfigSetHollowVariable",

                              "Key": "EventCount.2020705",

                              "Value": "scenevar(EventCount.2020705)+1" //计数+1

                            },

                            //坚持不懈追逐到首领停止行动（15次

                {

                  "$type":"Share.CConfigSetConditionProgress",

                  "ConditionID":30060065,

                  "Progress":1,

                  "ModifyType":"Add"

              },

                            {

                              "$type": "Share.CConfigJump",

                              "Jump":"OnEnd"

                            }

                          ]

                        

    },

    "OnLeft_2": { //只走下路

      "Actions": [

        {

          "$type": "Share.CConfigWaitSeconds",

          "Time": 0.3

        },

        {

          "$type": "Share.CConfigEventModification",

          "X": 3,

          "Y": 1,

          "Position": "Absolute",

          "Radius": 0,

          "ModificationNum": 1,

          "ModificationType": 1,

          "TargetEventID": [ 2020705 ],//zzz

          "TargetEventType": 1,

          "EventID": [ 2020707 ],//kong

          "EventState": "Locked",

          "VisibleState": "Visible"

        },

        // {

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

        //   "X": 3,

        //   "Y": 2,

        //   "Position": "Absolute",

        //   "Radius": 0,

        //   "ModificationNum": 1,

        //   "ModificationType": 1,

        //   //"TargetEventID": [ 2020707 ],//空

        //   "TargetEventType": 1,

        //   "TargetVisibleState":[ "Visible"],

        //   "EventID": [ 2020705 ],//zzz

        //   "EventState": "ShowEvent",

        //   "VisibleState": "Visible"

        // },

        // {

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

        //   "Time": 0.2

        // },

        // {

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

        //   "X": 3,

        //   "Y": 2,

        //   "Position": "Absolute",

        //   "Radius": 0,

        //   "ModificationNum": 1,

        //   "ModificationType": 1,

        //   "TargetEventID": [ 2020705 ],//zzz

        //   "TargetEventType": 1,

        //   "EventID": [ 2020711 ],//d

        //   "EventState": "Locked",

        //   "VisibleState": "Visible"

        // },

        {

          "$type": "Share.CConfigEventModification",

          "X": 3,

          "Y": 3,

          "Position": "Absolute",

          "Radius": 0,

          "ModificationNum": 1,

          "ModificationType": 1,

          //"TargetEventID": [ 2020707 ],//空

          "TargetEventType": 1,

          "TargetVisibleState":[ "Visible"],

          "EventID": [ 2020705 ],//zzz

          "EventState": "ShowEvent",

          "VisibleState": "Visible"

        },

        {

          "$type": "Share.CConfigWaitSeconds",

          "Time": 0.5

        },

        {

          "$type": "Share.CConfigSetHollowVariable",

          "Key": "EventCount.2020705",

          "Value": "scenevar(EventCount.2020705)+1" //计数+1

        },

        //坚持不懈追逐到首领停止行动（15次

        {

          "$type":"Share.CConfigSetConditionProgress",

          "ConditionID":30060065,

          "Progress":1,

          "ModifyType":"Add"

      },

        {

          "$type": "Share.CConfigJump",

          "Jump":"OnEnd"

        }

      ]

    },

    "OnStop": {

      "Actions": [

        {

          "$type": "Share.CConfigShowTip",

          "TipID": 100031006,

          "Delay": 0

      },

      {

          "$type": "Share.CConfigShowTip",

          "TipID": 100031007,

          "Delay": 0

      },

        {

          "$type": "Share.CConfigJump",

          "Jump":"OnEnd"

        }

      ]

    },



    "OnEnd": {

      "Actions": [

        {

          "$type": "Share.CConfigFinishEvent"

        }

      ]

    }

  }

}

