{ "AbilityName" : "Bangboo_Eous001_Skill_Field_LowHP", "AbilityStacking":"Unique", //残阳共鸣,力场持续时间越长(玩家血量为0%时,持续时间提升为100%) "DefaultModifier" : { "OnAdded" : [ { "$type": "MoleMole.ApplyModifier", "ModifierName": "QTEListenerModifier", "Target" : "TeamAvatars" }, { "$type": "MoleMole.ApplyModifier", "ModifierName": "TriggerFieldModifier", "Target" : "Self" }, ], "OnAttackLanded" : [ { "$type" : "MoleMole.ApplyModifier", "ModifierName" : "BuffModifier", "Target" : "Target", "Odds" : 1.0, "Predicates" : [ { "$type": "MoleMole.ByAnimatorEventIDs", "AnimatorEventIDs": [ "Bangboo_Eous001_Skill_Field_LowHP_Attackproperty_01", ] } ] }, ] }, "OnAbilityStart": [ { "$type": "MoleMole.DitherFadeAction", "DitherFadeType": "FadeIn", "DitherFadeKey": "Bangboo_Dither_Alpha_FadeIn", "Duration": 0.3, "Target" : "Self" }, { "$type": "MoleMole.ApplyLogicMoveAction", "Target": "Self", "MovementConfig" : { "$type" : "MoleMole.ConfigMovementTarget", "Duration" : 0.1, "Gravity" : 0.0, "HitTangentialRatio" : 1, "HitNormalRatio" : 1, "TimesUpMoveOption" : "Stop", "TargetPosRot" : { "CoordsOption" : "Camera", "TargetOption" : { "$type" : "MoleMole.ConfigPosRotReferTarget", "OffsetReferTarget" : "LocalAvatar" }, "Offset" : { "PositionOffset" : {"x":2.0, "y":0.0, "z":2.0}, "AngleOffset" : {"x":0.0, "y":0.0, "z":0.0}, "IsClampOffsetDistance" : false } }, "DefaultOffset" : {"x":0.0, "y":0.0, "z":5.0}, "MoveType": { "$type" : "MoleMole.MovementTypeInstant" }, "TargetUpdateMode" : "Always", "ReachTargetStop" : true }, "RotationConfig" : { "$type" : "MoleMole.ConfigRotationToTarget", "Duration" : 0.1, "TargetPosRot" : { "CoordsOption" : "Camera", "TargetOption" : { "$type" : "MoleMole.ConfigPosRotReferTarget", "OffsetReferTarget" : "Self" }, "Offset" : { "PositionOffset" : {"x":0.0, "y":0.0, "z":1.0}, "AngleOffset" : {"x":0.0, "y":0.0, "z":0.0}, } }, "RotateType" : "Instant", "RotateSpeed" : 1, "TargetUpdateMode" : "Always", "ReachTargetStop" : false } }, { "$type" : "MoleMole.SetAnimCtrlerParamAction", "ParamType" : 3, "ParamName" : "Int_AttackIndex", "IntVal" : 43, "Target" : "Self", }, { "$type" : "MoleMole.SetAnimCtrlerParamAction", "ParamType" : 1, "ParamName" : "Trigger_PressAttackB", "BoolVal" : true, "Target" : "Self" }, { "$type": "MoleMole.ApplyModifier", "ModifierName": "AddedDurationRatioModifier", "Target" : "LocalAvatar" }, ], "Modifiers" : { "QTEListenerModifier" : { "ModifierStacking" : "Unique", "Duration" : -1, "OnSkillStart": [ { "$type" : "MoleMole.TriggerAbilityAction", "AbilityName" : "Bangboo_Eous001_Skill_Field_LowHP", "Target" : "Caster", "Predicates" : [ { "$type": "MoleMole.ByFromSkillType", "SkillType": "ExSp", "Target": "Self", }, { "$type": "MoleMole.BySkillReady", "SkillName": "Bangboo_Eous001_Skill_Field_LowHP", "Target": "Caster", }, { "$type": "MoleMole.ByNot", "Predicates": [ { "$type": "MoleMole.ByIsInZoneTags", "Tags" : [ "Disabled", ], "Target": "Caster", }, ] } ] } ], }, "TriggerFieldModifier" : { "ModifierStacking" : "Unique", "Duration" : -1, "ModifierMixins" : [ { "$type" : "MoleMole.AttachStateWithModifierMixin", "ConfigList": [ { "AnimatorStateName": "Skill_Field_LowHP_Start", "LayerIndex": 0, "NormalizedTimeLow": 0.4, "NormalizedTimeHigh": 1.0, "ModifierNameList": [ "FieldRangeModifier", ], }, { "AnimatorStateName": "Skill_Field_LowHP_Loop", "LayerIndex": 0, "NormalizedTimeLow": 0.0, "NormalizedTimeHigh": 1.0, "IsLoop": true, "ModifierNameList": [ "FieldRangeModifier", ], }, ], }, ], }, "FieldRangeModifier" : { "ModifierStacking" : "MultipleRefresh", "Duration" : -1, //ModifierMixin与Modifier同生共死 "MaxStackingNumber" : 1, //达到叠层上限后,最新的取代最旧的 "IgnoreTimeScale" : false, "OnAdded" : [ //发动技能 { "$type": "MoleMole.SkillStartAction", "StartedSkillName": "Bangboo_Eous001_Skill_Field_LowHP", "Target" : "Self" }, //力场发动期间,力场技能CD暂停读秒 { "$type": "MoleMole.PauseSkillCDAction", "Target" : "Self", "IsPause": true, "SkillNames": [ "Bangboo_Eous001_Skill_Field_LowHP" ], }, //添加ShaderMatCap表现 { "$type" : "MoleMole.ApplyMatCapAction", "MatCapKey" : "Bangboo_Field_LowHP_ShaderMatCap_Start", "Target" : "Self", }, //发动打击判定 { "$type": "MoleMole.ApplyModifier", "ModifierName": "DamageModifier", "Target" : "Self" }, ], "ModifierMixins" : [ { "$type": "MoleMole.FieldRangeMixin", "TotalDuration": "%AS_FieldDuration_Current", //有效时长 //"StartEffectPattern": "Eff_Bangboo_Field_LowHP_Start_02", "LoopEffectPattern": "Eff_Bangboo_Field_LowHP_Start_02", "EndEffectPattern": "Eff_Bangboo_Field_LowHP_End_02", "IsFollow": true, //力场初始位置 "FieldInitPosRot" : { "CoordsOption" : "Self", "NeedRaycastGround": true, //"RaycastGroundOffset": 0.0, "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" : false, }, }, "ColliderConfig": { "ColliderType" : "FanCylinder", "FanCylinderColliderRadius" : 5, "FanCylinderColliderHeight" : 10, "FanCylinderColliderAngle" : 360, "FanCylinderColliderVertexNum" :24, "ColliderPosOffset" : {"x":0.0, "y":0.0, "z":0.0}, "ColliderAngleOffset" : {"x":0.0, "y":0.0, "z":0.0}, }, // // //进入时 // "FieldEnterActions": // [ // // { // // "$type": "MoleMole.ApplyModifier", // // "ModifierName": "DamageModifier", // // "Target" : "Target", // // "Predicates": // // [ // // { // // "$type": "MoleMole.ByRelativeCampType", // // "Relationship": "Enemy", // // "Target" : "Target", // // }, // // ] // // }, // { // "$type": "MoleMole.ApplyModifier", // "ModifierName": "DropItemModifier", // "Target" : "Target", // "Predicates": // [ // { // "$type": "MoleMole.ByRelativeCampType", // "Relationship": "Enemy", // "Target" : "Target", // }, // ] // }, // ], // //退出时 // "FieldExitActions": // [ // // { // // "$type": "MoleMole.RemoveModifier", // // "ModifierName": "DamageModifier", // // "Target" : "Target", // // "Predicates": // // [ // // { // // "$type": "MoleMole.ByRelativeCampType", // // "Relationship": "Enemy", // // "Target" : "Target", // // }, // // ] // // }, // { // "$type": "MoleMole.RemoveModifier", // "ModifierName": "DropItemModifier", // "Target" : "Target", // "Predicates": // [ // { // "$type": "MoleMole.ByRelativeCampType", // "Relationship": "Enemy", // "Target" : "Target", // }, // ] // }, // ], //退出时 "FieldStopActions": [ { "$type" : "MoleMole.SetAnimCtrlerParamAction", "ParamType" : 1, "ParamName" : "Trigger_FieldEnd", "BoolVal" : true, "Target" : "Self" } ], } ], "OnRemoved" : [ //力场技能CD开始读秒 { "$type": "MoleMole.PauseSkillCDAction", "Target" : "Self", "IsPause": false, "SkillNames": [ "Bangboo_Eous001_Skill_Field_LowHP" ], }, //移除ShaderMatCap表现 { "$type" : "MoleMole.RemoveMatCapAction", "MatCapKey" : "Bangboo_Field_LowHP_ShaderMatCap_Start", "Target" : "Self", }, //终止打击判定 { "$type": "MoleMole.RemoveModifier", "ModifierName": "DamageModifier", "Target" : "Self" }, ], }, "DamageModifier": { "ModifierStacking":"Unique", "Duration": -1, "IgnoreTimeScale" : false, "DelayHandlers" : [ { "DelayTime" : 0.5, "TimeUpActions": [ { "$type": "MoleMole.ApplyModifier", "ModifierName": "DamageModifier_02", "Target" : "Self", }, ] } ], "OnRemoved" : [ { "$type": "MoleMole.RemoveModifier", "ModifierName": "DamageModifier_02", "Target" : "Self" }, ], }, "DamageModifier_02": { "ModifierStacking":"Unique", "Duration": -1, "IgnoreTimeScale" : false, "ThinkInterval" : 1.5, "OnAdded" : [ { "$type": "MoleMole.HandleAnimEvent", "AnimEventID": "Bangboo_Eous001_Skill_Field_LowHP_Attackproperty_01", //"Target" : "Self" }, ], "OnThinkInterval" : [ { "$type": "MoleMole.HandleAnimEvent", "AnimEventID": "Bangboo_Eous001_Skill_Field_LowHP_Attackproperty_01", //"Target" : "Self" }, ] }, "AddedDurationRatioModifier" : { "ModifierStacking" : "MultipleRefresh", "Duration" : 1.0, "OnAdded" : [ { "$type": "MoleMole.SetAbilitySpecialsByPropertyAction", "Target": "Self", "ParamName": "AS_CurHP", "ModifyFunction": "Replace", "PropertyType" : "CurHP", "Percentage" : 100.0 }, { "$type": "MoleMole.SetAbilitySpecialsByPropertyAction", "Target": "Self", "ParamName": "AS_MaxHP", "ModifyFunction": "Replace", "PropertyType" : "MaxHP", "Percentage" : 100.0 }, { "$type": "MoleMole.SetAbilitySpecialAction", "Target": "Caster", "ParamName": "AS_AddedDurationRatio", "ParamType": "abilitySpecial_float", "ModifyFunction": "Replace", "Param": "AS_CurHP" }, { "$type": "MoleMole.SetAbilitySpecialAction", "Target": "Caster", "ParamName": "AS_AddedDurationRatio", "ParamType": "abilitySpecial_float", "ModifyFunction": "Div", "Param": "AS_MaxHP" }, { "$type": "MoleMole.SetAbilitySpecialAction", "Target": "Caster", "ParamName": "AS_AddedDurationRatio", "ParamType": "float", "ModifyFunction": "Mul", "Param": -1.0 }, { "$type": "MoleMole.SetAbilitySpecialAction", "Target": "Caster", "ParamName": "AS_AddedDurationRatio", "ParamType": "float", "ModifyFunction": "Add", "Param": 2.0 }, { "$type": "MoleMole.SetAbilitySpecialAction", "Target": "Caster", "ParamName": "AS_AddedDurationRatio", "ParamType": "abilitySpecial_float", "ModifyFunction": "Mul", "Param": "AS_ConvertRatio" }, { "$type": "MoleMole.SetAbilitySpecialAction", "Target": "Caster", "ParamName": "AS_FieldDuration_Current", "ParamType": "abilitySpecial_float", "ModifyFunction": "Replace", "Param": "AS_FieldDuration_Default" }, { "$type": "MoleMole.SetAbilitySpecialAction", "Target": "Caster", "ParamName": "AS_FieldDuration_Current", "ParamType": "abilitySpecial_float", "ModifyFunction": "Mul", "Param": "AS_AddedDurationRatio" }, ] }, "BuffModifier": { "Duration": 3, "IgnoreTimeScale" : false, //Buff必须配置IgnoreTimeScale "Buff" : { "BuffID" : 106001, "IsOverrideDuration" : true } } }, "AbilitySpecials" : { //力场持续时间(默认) "AS_FieldDuration_Default": { "Value" : 10 }, //力场持续时间(实际) "AS_FieldDuration_Current": { "Value" : 10 }, //玩家当前血量 "AS_CurHP": { "Value" : 0 }, //玩家最大血量 "AS_MaxHP": { "Value" : 0 }, //血量百分比转为持续时间百分比的比例系数(1.0=100%) "AS_ConvertRatio": { "Value" : 1.0 }, //实际攻击增幅百分比 "AS_AddedDurationRatio": { "Value" : 0 } } }