{ //比利小子冲刺攻击切换 "AbilityName" : "Billy_Attack_Rush_Switch", "AbilityStacking": "Unique", "AbilityMixins" : [ { "$type" : "MoleMole.AttachStateWithModifierMixin", "ConfigList": [ //冲刺攻击时 { "AnimatorStateName": "Attack_Rush_02", "LayerIndex": 0, "NormalizedTimeLow": 0.0, "NormalizedTimeHigh": 1.0, "ModifierNameList": [ "SwitchModifier_Add", "SwitchModifier_Reset" ] }, { "LayerIndex": 0, "AnimatorStateName": "Evade_Front", "NormalizedTimeLow": 0.0, "NormalizedTimeHigh": 1.0, "ModifierNameList": [ "SwitchModifier_Reset", ], }, ] }, ], "Modifiers" : { "SwitchModifier_Add": { "ModifierStacking": "Unique", "Duration": -1, "IgnoreTimeScale" : false, "OnAdded" : [ { "$type" : "MoleMole.SetAnimCtrlerParamAction", "ParamType" : 3, "ParamName" : "Int_AttackRush_Index", "Target" : "Self", "IntVal" : 1, }, ], }, "SwitchModifier_Reset": { "ModifierStacking": "Unique", "Duration": -1, "IgnoreTimeScale" : false, "OnRemoved" : [ { "$type" : "MoleMole.SetAnimCtrlerParamAction", "ParamType" : 3, "ParamName" : "Int_AttackRush_Index", "Target" : "Self", "IntVal" : 0, }, ], }, }, }