{

    // lighter侧闪约束

    "AbilityName" : "Lighter_EvadeManager",

    "AbilityStacking":"Unique",



    "AbilityMixins": 

	[

		{

			"$type": "MoleMole.AttachStateWithModifierMixin",

			"ConfigList": 

			[

				//允许进行侧闪的动作，各攻击动作以及其end段

				{

					"AnimatorStateName": "Attack_Normal_01",

					"LayerIndex": 0,

					"Target": "Self",

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "Attack_Normal_01_End",

					"LayerIndex": 0,

					"Target": "Self",

                    "IsLoop": true,

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "Attack_Normal_02",

					"LayerIndex": 0,

					"Target": "Self",

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "Attack_Normal_02_End",

					"LayerIndex": 0,

					"Target": "Self",

                    "IsLoop": true,

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "Attack_Normal_03_01",

					"LayerIndex": 0,

					"Target": "Self",

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "Attack_Normal_03_01_End",

					"LayerIndex": 0,

					"Target": "Self",

                    "IsLoop": true,

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "Attack_Normal_03_02",

					"LayerIndex": 0,

					"Target": "Self",

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "Attack_Normal_03_02_End",

					"LayerIndex": 0,

					"Target": "Self",

                    "IsLoop": true,

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "Attack_Normal_03_03",

					"LayerIndex": 0,

					"Target": "Self",

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "Attack_Normal_03_03_End",

					"LayerIndex": 0,

					"Target": "Self",

                    "IsLoop": true,

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "Attack_Normal_03_04",

					"LayerIndex": 0,

					"Target": "Self",

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "Attack_Normal_03_04_End",

					"LayerIndex": 0,

					"Target": "Self",

                    "IsLoop": true,

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "Attack_Normal_03_05",

					"LayerIndex": 0,

					"Target": "Self",

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "Attack_Normal_03_05_End",

					"LayerIndex": 0,

					"Target": "Self",

                    "IsLoop": true,

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "Attack_Normal_03_06",

					"LayerIndex": 0,

					"Target": "Self",

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "Attack_Normal_03_06_End",

					"LayerIndex": 0,

					"Target": "Self",

                    "IsLoop": true,

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "Attack_Normal_04_01",

					"LayerIndex": 0,

					"Target": "Self",

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "Attack_Normal_04_01_End",

					"LayerIndex": 0,

					"Target": "Self",

                    "IsLoop": true,

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "Attack_Normal_05_01",

					"LayerIndex": 0,

					"Target": "Self",

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "Attack_Normal_05_02_Start",

					"LayerIndex": 0,

					"Target": "Self",

                    "IsLoop": true,

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "Attack_Normal_05_02_Loop",

					"LayerIndex": 0,

					"Target": "Self",

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "Attack_Normal_05_03",

					"LayerIndex": 0,

					"Target": "Self",

                    "IsLoop": true,

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "Attack_Normal_05_03_End",

					"LayerIndex": 0,

					"Target": "Self",

                    "IsLoop": true,

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "Attack_Branch_01_Attack_Normal",

					"LayerIndex": 0,

					"Target": "Self",

                    "IsLoop": true,

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "Attack_Branch_01_Attack_Normal_End",

					"LayerIndex": 0,

					"Target": "Self",

                    "IsLoop": true,

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "Attack_Branch_01_Attack_Front",

					"LayerIndex": 0,

					"Target": "Self",

                    "IsLoop": true,

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "Attack_Branch_01_Attack_Front_End",

					"LayerIndex": 0,

					"Target": "Self",

                    "IsLoop": true,

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "Attack_Branch_01_Attack_Back",

					"LayerIndex": 0,

					"Target": "Self",

                    "IsLoop": true,

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "Attack_Branch_01_Attack_Back_End",

					"LayerIndex": 0,

					"Target": "Self",

                    "IsLoop": true,

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "Attack_Branch_01_Attack_Side",

					"LayerIndex": 0,

					"Target": "Self",

                    "IsLoop": true,

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "Attack_Branch_01_Attack_Side_End",

					"LayerIndex": 0,

					"Target": "Self",

                    "IsLoop": true,

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "Attack_Branch_02_Attack_Normal",

					"LayerIndex": 0,

					"Target": "Self",

                    "IsLoop": true,

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "Attack_Branch_02_Attack_Normal_End",

					"LayerIndex": 0,

					"Target": "Self",

                    "IsLoop": true,

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "Attack_Branch_02_Attack_Front",

					"LayerIndex": 0,

					"Target": "Self",

                    "IsLoop": true,

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "Attack_Branch_02_Attack_Front_End",

					"LayerIndex": 0,

					"Target": "Self",

                    "IsLoop": true,

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "Attack_Branch_02_Attack_Back",

					"LayerIndex": 0,

					"Target": "Self",

                    "IsLoop": true,

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "Attack_Branch_02_Attack_Back_End",

					"LayerIndex": 0,

					"Target": "Self",

                    "IsLoop": true,

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "Attack_Branch_02_Attack_Side",

					"LayerIndex": 0,

					"Target": "Self",

                    "IsLoop": true,

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "Attack_Branch_02_Attack_Side_End",

					"LayerIndex": 0,

					"Target": "Self",

                    "IsLoop": true,

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "Attack_Rush",

					"LayerIndex": 0,

					"Target": "Self",

                    "IsLoop": true,

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "Attack_Rush_End",

					"LayerIndex": 0,

					"Target": "Self",

                    "IsLoop": true,

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "Attack_Counter",

					"LayerIndex": 0,

					"Target": "Self",

                    "IsLoop": true,

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "Attack_Counter_End",

					"LayerIndex": 0,

					"Target": "Self",

                    "IsLoop": true,

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "Evade_Blend_Left",

					"LayerIndex": 0,

					"Target": "Self",

                    "IsLoop": true,

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "Evade_Blend_Right",

					"LayerIndex": 0,

					"Target": "Self",

                    "IsLoop": true,

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "SwitchIn_Attack",

					"LayerIndex": 0,

					"Target": "Self",

                    "IsLoop": true,

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "SwitchIn_Attack_End",

					"LayerIndex": 0,

					"Target": "Self",

                    "IsLoop": true,

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "SwitchIn_Attack_Ex",

					"LayerIndex": 0,

					"Target": "Self",

                    "IsLoop": true,

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				},

                {

					"AnimatorStateName": "SwitchIn_Attack_Ex_End",

					"LayerIndex": 0,

					"Target": "Self",

                    "IsLoop": true,

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"AllowLateralEvadeModifier"

					]

				}

			]

		}

	],



    "Modifiers" : 

    {

        "AllowLateralEvadeModifier" : 

        {

            "ModifierStacking" : "Refresh",

            "Duration" : -1,

            "IgnoreTimeScale" : true,

            //存在时允许侧闪，不存在时不允许

            "OnAdded":

            [

                {

                    "$type" : "MoleMole.SetAnimCtrlerParamAction",

                    "ParamType" : 2,

                    "ParamName" : "Bool_AllowLateralEvade",

                    "Target" : "Self",

                    "BoolVal" : true

                }

            ],

            "OnRemoved":

            [

                {

                    "$type" : "MoleMole.SetAnimCtrlerParamAction",

                    "ParamType" : 2,

                    "ParamName" : "Bool_AllowLateralEvade",

                    "Target" : "Self",

                    "BoolVal" : false

                }

            ]

        }

    }

}