{ //完美闪避可减缓时间流逝,敌人的动作会被减速,持续3秒 "AbilityName" : "Card_Sports_1000808", "AbilityStacking": "Unique", "DefaultModifier": { "OnAdded": [ { "$type":"MoleMole.ApplyModifier", "ModifierName":"AttachStateModifier", "Target":"TeamAvatars" } ], "OnDodgeSuccess": [ { "$type" : "MoleMole.TriggerAbilityAction", "AbilityName" : "Card_Sports_1000808" } ] }, //控制本Ability加Modifier "OnAbilityStart": [ { "$type":"MoleMole.ApplyModifier", "ModifierName":"TeamEntityModifier", "Target":"TeamAvatars" } ], "Modifiers" : { //把这个Modifier当做TeamEntity "TeamEntityModifier": { "ModifierStacking": "Replace", "Duration": -1, "Block": -1, "OnAdded": [ { "$type":"MoleMole.ApplyModifier", "ModifierName":"BlockManagementModifier", "Target":"TeamAvatars" } ] }, //魔女时间Block管理 "BlockManagementModifier": { "ModifierStacking": "Refresh", "Duration": "%DurationTime", //魔女时间CD "Block":10, "OnAdded": [ { "$type":"MoleMole.ApplyModifier", "ModifierName":"WitchModifier", "Target":"TeamAvatars" }, { "$type":"MoleMole.ProcessModifierBlockAction", "IsOpenBlock":true, "AbilityName":"Card_Sports_1000808", "ModifierName":"WitchModifier" }, { "$type":"MoleMole.ProcessModifierBlockAction", "IsOpenBlock":true, "AbilityName":"Card_Sports_1000808", "ModifierName":"TeamEntityModifier" } ], "OnRemoved": [ { "$type":"MoleMole.ProcessModifierBlockAction", "IsOpenBlock":false, "AbilityName":"Card_Sports_1000808", "ModifierName":"TeamEntityModifier" }, { "$type":"MoleMole.ProcessModifierBlockAction", "IsOpenBlock":false, "AbilityName":"Card_Sports_1000808", "ModifierName":"WitchModifier" }, { "$type":"MoleMole.RemoveModifier", "ModifierName":"WitchModifier", "Target":"TeamAvatars" }, { "$type":"MoleMole.ProcessModifierBlockAction", "IsOpenBlock":true, "AbilityName":"Card_Sports_1000808", "ModifierName":"BlockManagementModifier" }, ] }, "AttachStateModifier": { "ModifierStacking" : "Refresh", "Duration": -1, "ModifierMixins" : [ //监听动画,切换镜头 { "$type" : "MoleMole.AttachStateWithModifierMixin", "ConfigList": [ { "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" ] } ] } ] }, //特效处理 "SpecialEffectModifier": { "ModifierStacking" : "Refresh", "Duration": -1, "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 } } } ] }, //镜头处理 "CameraModeModifier": { "ModifierStacking" : "MultipleRefresh", "Duration": -1, //添加 "OnAdded": [ { "$type" : "MoleMole.FireEffect", "EffectPattern" : "Eff_Common_Evade_Front", "Target" : "Self", "Predicates" : [ { "$type" : "MoleMole.ByAbilitySpecial", "ParamName": "IsInWitchState", "Target": "Self", "ParamType": "int", "CompareType": "Equal", "Param" : 1 } ] }, { "$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 } ] }, // 2022.04.02备注:屏蔽相机表现,“体验有问题,用来做卡牌事件浪费了” — By 振宇 // { // "$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.RemoveModifier", "ModifierName" : "SpecialEffectModifier", "Target" : "Self", "Predicates" : [ { "$type" : "MoleMole.ByAbilitySpecial", "ParamName": "IsInWitchState", "Target": "Self", "ParamType": "int", "CompareType": "Equal", "Param" : 1 } ] }, { "$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 } ] }, // 2022.04.02备注:屏蔽相机表现,“体验有问题,用来做卡牌事件浪费了” — By 振宇 // { // "$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 // } // ] // } ] }, //魔女时间(无限) "WitchModifier": { "ModifierStacking": "Refresh", "Duration": -1, "Block":-1, "OnAdded": [ //魔女时间内无敌 { "$type" : "MoleMole.AttachModifier", "ModifierName" : "InvincibleBuffModifier", "Target" : "Self" } ], "ModifierMixins": [ //魔女时间Mixin { "$type" : "MoleMole.WitchSlowDownMixin", "TotalDuration" : -1, "SlowDownKey" : "HoldEvade_TimeSlow_01", "ExcludeTargets" : "TeamAvatars", "OnStart": [ // //测试特效 // { // "$type" : "MoleMole.FireEffect", // "EffectPattern" : "Eff_Avatar_LevelUp_01", // "Target" : "Self", // }, { //给角色增加伤害倍率的Modifier "$type":"MoleMole.ApplyModifier", "ModifierName":"AddedDamageRatioModifier", "Target":"Self" }, { "$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.ProcessScreenEffectAction", "EffectType" : "Vignette", "EffectKey" : "WitchSlowDown_Vignette_01" }, { "$type" : "MoleMole.ProcessScreenEffectAction", "EffectType" : "RadialBlur", "EffectKey" : "WitchSlowDown_RadialBlur_01" }, { "$type" : "MoleMole.ProcessScreenEffectAction", "EffectType" : "ScreenEffects", "EffectKey" : "WitchSlowDown_ScreenEffects_01" }, { "$type" : "MoleMole.ShaderCustomAction", "CustomType" : "Fog", "Key" : "WitchSlowDown_ShadercustomFogs_01" }, // { // "$type" : "MoleMole.CameraZoomAction", // "ZoomConfigKey" : "HoldEvade_CamZoom_02" // }, // { // "$type" : "MoleMole.CameraStretchAction", // "StretchConfigKey" : "HoldEvade_CamStretch_02" // }, { "$type" : "MoleMole.ApplyModifier", "ModifierName" : "CameraModeModifier", "Target" : "Self", "Predicates" : [ { "$type": "MoleMole.ByAnimatorStateNormalizedTime", "AnimatorStateName": "Evade_Front", "LayerIndex": 0, "NormalizedTimeLow" : 0.0, "NormalizedTimeHigh" : 1.0 } ] }, { "$type" : "MoleMole.TimeSlowByConfigKeyAction", "ConfigKey" : "HoldEvade_TimeSlow_02", "IsGlobal" : false, "Target":"Self" } ], "OnEnd": [ { //给角色移除伤害倍率的Modifier "$type":"MoleMole.RemoveModifier", "ModifierName":"AddedDamageRatioModifier", "Target":"TeamAvatars" }, { "$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" : "SpecialEffectModifier", "Target" : "TeamAvatars" }, { "$type" : "MoleMole.RemoveModifier", "ModifierName" : "CameraModeModifier", "Target" : "TeamAvatars" }, { "$type" : "MoleMole.InterruptScreenEffectAction", "EffectType" : "Vignette", "TargetKey" : "WitchSlowDown_Vignette_01" }, { "$type" : "MoleMole.InterruptScreenEffectAction", "EffectType" : "RadialBlur", "TargetKey" : "WitchSlowDown_RadialBlur_01" }, { "$type" : "MoleMole.InterruptScreenEffectAction", "EffectType" : "RadialBlur", "TargetKey" : "WitchSlowDown_ScreenEffects_01" }, { "$type" : "MoleMole.InterruptShaderCustomAction", "CustomType" : "Fog", "Key" : "WitchSlowDown_ShadercustomFogs_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.ProcessModifierBlockAction", "IsOpenBlock":false, "AbilityName":"Card_Sports_1000808", "ModifierName":"WitchModifier" } ] } ] }, "AddedDamageRatioModifier": { "ModifierStacking": "Refresh", "Duration" : -1, "Properties" : { "Actor_AddedDamageRatio" : "%AddedDamageRatio" } }, //无敌Buff "InvincibleBuffModifier": { "ModifierStacking": "Refresh", "Duration": -1, "Buff": { "BuffID" : 121001, "IsOverrideDuration" : true } } }, "AbilitySpecials" : { //表格参数 "IsInWitchState" : { "Value" : 0 }, "DurationTime" : { "Value" : 3 }, "AddedDamageRatio": { "Value" : 0 } } }