{ //快银能力测试 "AbilityName" : "TestPlayer_Ability_Tianheng_25", "AbilityStacking": "Unique", "DefaultModifier": { "OnStunResetOtherActions": [ { "$type" : "MoleMole.RemoveModifier", "ModifierName" : "WitchModifier", "Target" : "Self" }, ], "OnStunResetOtherMaxActions": [ { "$type" : "MoleMole.RemoveModifier", "ModifierName" : "WitchModifier", "Target" : "Self" }, ], }, "AbilityMixins" : [ //监听动画,切换镜头 { "$type" : "MoleMole.AttachStateWithModifierMixin", "ConfigList": [ { "LayerIndex": 0, "AnimatorStateName": "Idle", "NormalizedTimeLow": 0.0, "NormalizedTimeHigh": 1.0, "ModifierNameList": [ "RemoveWitchModeModifier" ] }, { "LayerIndex": 0, "AnimatorStateName": "Evade_Front", "NormalizedTimeLow": 0.0, "NormalizedTimeHigh": 1.0, "ModifierNameList": [ "CameraModeModifier" ] }, { "LayerIndex": 0, "AnimatorStateName": "Evade_Front_02", "NormalizedTimeLow": 0.0, "NormalizedTimeHigh": 1.0, "ModifierNameList": [ "CameraModeModifier" ] }, { "LayerIndex": 0, "AnimatorStateName": "Run_Start", "NormalizedTimeLow": 0.0, "NormalizedTimeHigh": 1.0, "ModifierNameList": [ "CameraModeModifier" ] }, { "LayerIndex": 0, "AnimatorStateName": "Run_Loop", "NormalizedTimeLow": 0.0, "NormalizedTimeHigh": 1.0, "IsLoop": true, "ModifierNameList": [ "CameraModeModifier" ] } ] }, //按键监听 { "$type": "MoleMole.SkillBtnListenerMixin", "BtnListeners": [ { "SkillBtnIndex": 1, "BtnOperations": [ { "ListenerType": "Press", "PressTime": 0.5, "TriggerActions": [ { "$type":"MoleMole.ApplyModifier", "ModifierName":"WitchModifier", "Target":"Self", } ], }, // { // "ListenerType": "PointUp", // "PressTime": 0.2, // "TriggerActions": // [ // { // "$type":"MoleMole.RemoveModifier", // "ModifierName":"WitchModifier", // "Target":"Self", // } // ], // }, ], }, ], }, ], "Modifiers" : { "SpecialEffectModifier": { "ModifierStacking" : "Unique", "Duration": -1, "IgnoreTimeScale" : true, "OnAdded": [ { "$type": "MoleMole.AttachEffect", "EffectPattern": "Eff_speed_line_Test", "Target": "Self", "AttachEffectPosRot" : { "CoordsOption" : "Self", "TargetOption" : { "$type" : "MoleMole.ConfigPosRotReferTarget", "OffsetReferTarget" : "Self", }, "Offset" : { "PositionOffset" : {"x":0.0, "y":0.0, "z":0.0}, "AngleOffset" : {"x":0.0, "y":0.0, "z":0.0}, "IsUseRotationY" : true, "IsUseRotationXZ" : true, } }, }, ], // "OnRemoved": // [ // { // "$type" : "MoleMole.FireEffect", // "EffectPattern" : "Eff_Avatar_LevelUp_02", // "Target" : "Self" // }, // ] }, "CameraModeModifier": { "ModifierStacking" : "Unique", "Duration": -1, "IgnoreTimeScale" : true, "OnAdded": [ { "$type" : "MoleMole.ApplyModifier", "ModifierName" : "SpecialEffectModifier", "Target" : "Self", "Predicates" : [ { "$type" : "MoleMole.ByAbilitySpecial", "ParamName": "IsInWitchState", "Target": "Self", "ParamType": "int", "CompareType": "Equal", "Param" : 1 } ] }, { "$type" : "MoleMole.CameraMoveModeAction", "camMoveMode" : "HexMovementRotate", "delayTime" : 0, "durationTime" : -1, "ingoreTimeScale" : true, "dataPriority" : 20, "Predicates" : [ { "$type" : "MoleMole.ByAbilitySpecial", "ParamName": "IsInWitchState", "Target": "Self", "ParamType": "int", "CompareType": "Equal", "Param" : 1 } ] }, { "$type" : "MoleMole.CameraZoomAction", "ZoomConfigKey" : "HoldEvade_CamZoom_ModeSwitch_01", "Predicates" : [ { "$type" : "MoleMole.ByAbilitySpecial", "ParamName": "IsInWitchState", "Target": "Self", "ParamType": "int", "CompareType": "Equal", "Param" : 1 } ] }, { "$type" : "MoleMole.CameraStretchAction", "StretchConfigKey" : "HoldEvade_CamStretch_ModeSwitch_01", "Predicates" : [ { "$type" : "MoleMole.ByAbilitySpecial", "ParamName": "IsInWitchState", "Target": "Self", "ParamType": "int", "CompareType": "Equal", "Param" : 1 } ] }, ], "OnRemoved": [ // { // "$type" : "MoleMole.FireEffect", // "EffectPattern" : "Eff_Avatar_LevelUp_01", // "Target" : "Self" // }, { "$type" : "MoleMole.RemoveModifier", "ModifierName" : "SpecialEffectModifier", "Target" : "Self", }, { "$type" : "MoleMole.CameraMoveModeAction", "camMoveMode" : "HexOrbitDefault", "delayTime" : 0, "durationTime" : -1, "ingoreTimeScale" : true, "dataPriority" : 20, "Predicates" : [ { "$type" : "MoleMole.ByAbilitySpecial", "ParamName": "IsInWitchState", "Target": "Self", "ParamType": "int", "CompareType": "Equal", "Param" : 1 } ] }, { "$type" : "MoleMole.CameraZoomAction", "ZoomConfigKey" : "HoldEvade_CamZoom_ModeSwitch_02", "Predicates" : [ { "$type" : "MoleMole.ByAbilitySpecial", "ParamName": "IsInWitchState", "Target": "Self", "ParamType": "int", "CompareType": "Equal", "Param" : 1 } ] }, { "$type" : "MoleMole.CameraStretchAction", "StretchConfigKey" : "HoldEvade_CamStretch_ModeSwitch_02", "Predicates" : [ { "$type" : "MoleMole.ByAbilitySpecial", "ParamName": "IsInWitchState", "Target": "Self", "ParamType": "int", "CompareType": "Equal", "Param" : 1 } ] }, ] }, "RemoveWitchModeModifier": { "ModifierStacking" : "Unique", "Duration": -1, "IgnoreTimeScale" : true, "DelayHandlers" : [ { "DelayTime" : 0.1, "TimeUpActions": [ { "$type" : "MoleMole.RemoveModifier", "ModifierName" : "WitchModifier", "Target" : "Self" }, ] } ], }, "WitchModifier": { "ModifierStacking": "Unique", "Duration": 10, "IgnoreTimeScale" : false, "NotIgnoreList" : ["World"], "ModifierMixins": [ //魔女时间Mixin { "$type" : "MoleMole.WitchSlowDownMixin", "TotalDuration" : -1, "SlowDownKey" : "HoldEvade_TimeSlow_01", "ExcludeTargets" : "TeamAvatars", "OnStart": [ { "$type" : "MoleMole.CameraMoveModeAction", "camMoveMode" : "HexMovementRotate", "delayTime" : 0, "durationTime" : -1, "ingoreTimeScale" : true, "dataPriority" : 20, }, { "$type": "MoleMole.ModifyMassRatioAction", "Ratio": -0.99, "Target": "Self", }, { "$type": "MoleMole.SetAbilitySpecialAction", "ParamName": "IsInWitchState", "ParamType": "int", "ModifyFunction": "Replace", "Param": 1 }, { "$type" : "MoleMole.ApplyModifier", "ModifierName" : "CameraModeModifier", "Target" : "Self" }, { "$type" : "MoleMole.ApplyModifier", "ModifierName" : "SpecialEffectModifier", "Target" : "Self" }, { "$type" : "MoleMole.FireEffect", "EffectPattern" : "Eff_Common_Evade_Front", "Target" : "Self" }, { "$type" : "MoleMole.ProcessScreenEffectAction", "EffectType" : "Vignette", "EffectKey" : "HoldEvade_Vignette_01", }, { "$type" : "MoleMole.ProcessScreenEffectAction", "EffectType" : "RadialBlur", "EffectKey" : "HoldEvade_RadialBlur_01", }, { "$type" : "MoleMole.CameraZoomAction", "ZoomConfigKey" : "HoldEvade_CamZoom_01", }, { "$type" : "MoleMole.CameraStretchAction", "StretchConfigKey" : "HoldEvade_CamStretch_01", }, // { // "$type" : "MoleMole.SetAnimCtrlerParamAction", // "ParamType" : 4, // "ParamName" : "Float_HoldEvade", // "Target" : "Self", // "FloatVal" : 1.1, // }, { "$type" : "MoleMole.CameraLookAtOffsetEndAction", }, { "$type" : "MoleMole.TimeSlowByConfigKeyAction", "ConfigKey" : "HoldEvade_TimeSlow_02", "IsGlobal" : false, "Target":"Self", }, ], "OnEnd": [ // { // "$type" : "MoleMole.FireEffect", // "EffectPattern" : "Eff_Avatar_LevelUp_01", // "Target" : "Self" // }, { "$type" : "MoleMole.CameraMoveModeEndAction", "dataPriority" : 20, "dataClearPriority":"SamePriority", }, { "$type": "MoleMole.ModifyMassRatioEndAction", "Target": "Self", }, { "$type": "MoleMole.SetAbilitySpecialAction", "ParamName": "IsInWitchState", "ParamType": "int", "ModifyFunction": "Replace", "Param": 0 }, { "$type" : "MoleMole.RemoveModifier", "ModifierName" : "CameraModeModifier", "Target" : "Self" }, { "$type" : "MoleMole.InterruptScreenEffectAction", "EffectType" : "Vignette", "TargetKey" : "HoldEvade_Vignette_01", }, { "$type" : "MoleMole.InterruptScreenEffectAction", "EffectType" : "RadialBlur", "TargetKey" : "HoldEvade_RadialBlur_01", }, { "$type" : "MoleMole.CameraZoomEndAction", "EndCameraZoomKey" : "HoldEvade_CamZoom_01", }, { "$type" : "MoleMole.CameraStretchEndAction", "EndCameraStretchKey" : "HoldEvade_CamStretch_01", }, { "$type" : "MoleMole.CameraZoomEndAction", "EndCameraZoomKey" : "HoldEvade_CamZoom_ModeSwitch_01", }, { "$type" : "MoleMole.CameraStretchEndAction", "EndCameraStretchKey" : "HoldEvade_CamStretch_ModeSwitch_01", }, { "$type" : "MoleMole.CameraZoomEndAction", "EndCameraZoomKey" : "HoldEvade_CamZoom_ModeSwitch_02", }, { "$type" : "MoleMole.CameraStretchEndAction", "EndCameraStretchKey" : "HoldEvade_CamStretch_ModeSwitch_02", }, { "$type" : "MoleMole.InterruptTimeSlowAction", "TargetKey" : "HoldEvade_TimeSlow_02", "Target":"Self", }, // { // "$type" : "MoleMole.SetAnimCtrlerParamAction", // "ParamType" : 4, // "ParamName" : "Float_HoldEvade", // "Target" : "Self", // "FloatVal" : 1.0, // }, ] } ] }, }, "AbilitySpecials" : { //表格参数 "IsInWitchState" : { "Value" : 0 } } }