{ // Unagi长按判定 "AbilityName" : "Unagi_Holding", "AbilityStacking":"Unique", "AbilityMixins" : [ { "$type": "MoleMole.SkillBtnListenerMixin", "BtnListeners": [ { "SkillBtnIndex": 0, "BtnOperations": [ { "ListenerType": "Press", "PressTime": 0.2, "TriggerActions": [ { "$type": "MoleMole.ApplyModifier", "ModifierName": "HoldingModifier", } ] }, { "ListenerType": "PointUp", "PressTime": 0.0, "TriggerActions": [ { "$type": "MoleMole.RemoveModifier", "ModifierName": "HoldingModifier", } ] }, ], }, ], }, ], "Modifiers" : { "HoldingModifier" : { "ModifierStacking" : "Unique", "Duration" : -1, "IgnoreTimeScale" : true, "OnAdded": [ { "$type" : "MoleMole.SetAnimCtrlerParamAction", "ParamType" : 2, "ParamName" : "Bool_IsHoldingAttackA", "Target" : "Self", "BoolVal" : true, }, ], "OnRemoved": [ { "$type" : "MoleMole.SetAnimCtrlerParamAction", "ParamType" : 2, "ParamName" : "Bool_IsHoldingAttackA", "Target" : "Self", "BoolVal" : false, }, ], }, } }