{ // lighter连点判定 "AbilityName" : "Lighter_Clicking", "AbilityStacking":"Unique", "AbilityMixins" : [ //检测普攻3,5指定区间内点击按键次数,大于设定值则算作连点 { "$type": "MoleMole.SkillBtnListenerMixin", "Target" : "Self", "BtnListeners": [ { "SkillBtnIndex": 0, "BtnOperations": [ { "ListenerType": "Click", "Target" : "Self", "PressTime": 0.1, "TriggerActions": [ { "$type": "MoleMole.ApplyModifier", "Target" : "Self", "ModifierName": "ClickingModifier", "Predicates" : [ { "$type": "MoleMole.ByOr", "Target" : "Self", "Predicates" : [ //普攻3 { "$type": "MoleMole.ByAnimatorStateNormalizedTime", "AnimatorStateName": "Attack_Normal_03_01", "LayerIndex": 0, "NormalizedTimeLow" : 0.0, "NormalizedTimeHigh" : 1.0 }, { "$type": "MoleMole.ByAnimatorStateNormalizedTime", "AnimatorStateName": "Attack_Normal_03_02", "LayerIndex": 0, "NormalizedTimeLow" : 0.0, "NormalizedTimeHigh" : 1.0 }, { "$type": "MoleMole.ByAnimatorStateNormalizedTime", "AnimatorStateName": "Attack_Normal_03_03", "LayerIndex": 0, "NormalizedTimeLow" : 0.0, "NormalizedTimeHigh" : 1.0 }, { "$type": "MoleMole.ByAnimatorStateNormalizedTime", "AnimatorStateName": "Attack_Normal_03_04", "LayerIndex": 0, "NormalizedTimeLow" : 0.0, "NormalizedTimeHigh" : 1.0 }, { "$type": "MoleMole.ByAnimatorStateNormalizedTime", "AnimatorStateName": "Attack_Normal_03_05", "LayerIndex": 0, "NormalizedTimeLow" : 0.0, "NormalizedTimeHigh" : 1.0 }, { "$type": "MoleMole.ByAnimatorStateNormalizedTime", "AnimatorStateName": "Attack_Normal_03_06", "LayerIndex": 0, "NormalizedTimeLow" : 0.0, "NormalizedTimeHigh" : 1.0 }, //普攻5 { "$type": "MoleMole.ByAnimatorStateNormalizedTime", "AnimatorStateName": "Attack_Normal_05_01", "LayerIndex": 0, "NormalizedTimeLow" : 0.0, "NormalizedTimeHigh" : 1.0 }, { "$type": "MoleMole.ByAnimatorStateNormalizedTime", "AnimatorStateName": "Attack_Normal_05_02_Start", "LayerIndex": 0, "NormalizedTimeLow" : 0.0, "NormalizedTimeHigh" : 1.0 }, { "$type": "MoleMole.ByAnimatorStateNormalizedTime", "AnimatorStateName": "Attack_Normal_05_02_Loop", "LayerIndex": 0, "NormalizedTimeLow" : 0.0, "NormalizedTimeHigh" : 1.0 } ] } ] } ] } ] } ] } ], "Modifiers" : { "ClickingModifier" : { "ModifierStacking" : "Refresh", "Duration" : 0.25, "IgnoreTimeScale" : true, "OnAdded": [ { "$type" : "MoleMole.SetAnimCtrlerParamAction", "ParamType" : 2, "ParamName" : "Bool_IsClicking", "Target" : "Self", "BoolVal" : true } ], "OnRemoved": [ { "$type" : "MoleMole.SetAnimCtrlerParamAction", "ParamType" : 2, "ParamName" : "Bool_IsClicking", "Target" : "Self", "BoolVal" : false } ] } } }