{ //定时放技能售票机脚本,每间隔x秒释放一次 "AbilityName": "Teller_Default_IntervalThink", "AbilityStacking": "Unique", "DefaultModifier": { "OnAdded": [ { "$type": "MoleMole.ApplyModifier", "ModifierName": "Teller_Trigger_SkillDelay", "Target": "Self" }, { "$type": "MoleMole.ApplyModifier", "ModifierName": "LevelEndModier", "Target" : "Self" }, ], }, "Modifiers" : { "Teller_Trigger_SkillDelay": { "ModifierStacking": "Unique", "Duration":-1, "ThinkInterval": 3, "IgnoreTimeScale": false, "OnThinkInterval": [ //默认出生时添加护盾 { "$type": "MoleMole.ApplyModifier", "ModifierName": "Teller_Active", "Target": "Self", }, ] }, "Teller_Idle": { "ModifierStacking": "Unique", "Duration":-1, "ThinkInterval": 3, "IgnoreTimeScale": false, "OnThinkInterval": [ //默认出生时添加护盾 { "$type": "MoleMole.ApplyModifier", "ModifierName": "Teller_Active", "Target": "Self", }, ] }, "Teller_Active": { //激活,释放打击帧,并刷新陷阱CD倒计时 "ModifierStacking": "Unique", "Duration": -1, "OnAdded": [ { "$type": "MoleMole.SetAnimCtrlerParamAction", "ParamType": 2, "ParamName": "Open", "Target": "Self", "BoolVal": true, }, ], "OnRemoved": [ { "$type": "MoleMole.ApplyModifier", "ModifierName": "Teller_CD", "Target": "Self", } ] }, "Teller_CD": { //维持5秒cd状态后再回到idle "ModifierStacking": "Refresh", "Duration": 4, "OnAdded": [ //让检票器进入cd的状态 { "$type": "MoleMole.SetAnimCtrlerParamAction", "ParamType": 2, "ParamName": "Open", "Target": "Self", "BoolVal": false, }, // { // "$type": "MoleMole.LogStringAction", //打Log调试 // "LogStr": "进入CD!!!" // }, ], "OnRemoved": [ { "$type": "MoleMole.SetAnimCtrlerParamAction", "ParamType": 2, "ParamName": "End", "Target": "Self", "BoolVal": true, }, { "$type": "MoleMole.ApplyModifier", "ModifierName": "Teller_End", "Target": "Self", }, // { // "$type": "MoleMole.LogStringAction", //打Log调试 // "LogStr": "进入END???" // }, ] }, "Teller_End": { "Duration": 1.5, "OnAdded": [ { "$type": "MoleMole.SetAnimCtrlerParamAction", "ParamType": 2, "ParamName": "Idle", "Target": "Self", "BoolVal": false, }, ], "OnRemoved": [ { "$type": "MoleMole.SetAnimCtrlerParamAction", "ParamType": 2, "ParamName": "Idle", "Target": "Self", "BoolVal": true, }, { "$type": "MoleMole.SetAnimCtrlerParamAction", "ParamType": 2, "ParamName": "End", "Target": "Self", "BoolVal": false, }, { "$type": "MoleMole.ApplyModifier", "ModifierName": "Teller_Idle", "Target": "Self", } ] }, "LevelEndModier": { "ModifierStacking": "Unique", "Duration":-1, "IgnoreTimeScale": false, "OnLevelEndNodeInvoke": [ { "$type": "MoleMole.SetAnimCtrlerParamAction", "ParamType": 2, "ParamName": "End", "Target": "Self", "BoolVal": true, }, // { // "$type": "MoleMole.LogStringAction", //打Log调试 // "LogStr": "levelend!!!" // } ] } } }