{ "AbilityName" : "Bangboo_Eous001_Skill_Field_Death", "AbilityStacking":"Unique", //生化力场,击杀敌人后掉落回复道具 //拾取掉落物时,延长力场的持续时间(3秒),有1.5秒内置冷却时间 "DefaultModifier" : { "OnAdded" : [ { "$type": "MoleMole.ApplyModifier", "ModifierName": "QTEListenerModifier", "Target" : "TeamAvatars" }, { "$type": "MoleMole.ApplyModifier", "ModifierName": "TriggerFieldModifier", "Target" : "Self" }, { "$type": "MoleMole.ApplyModifier", "ModifierName": "GetItemListenerModifier", "Target" : "TeamAvatars" }, ], "OnAttackLanded" : [ { "$type" : "MoleMole.ApplyModifier", "ModifierName" : "DropItemModifier", "Target" : "Target", "Predicates" : [ { "$type": "MoleMole.ByAnimatorEventIDs", "AnimatorEventIDs": [ "Bangboo_Eous001_Skill_Field_Death_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" : 42, "Target" : "Self", }, { "$type" : "MoleMole.SetAnimCtrlerParamAction", "ParamType" : 1, "ParamName" : "Trigger_PressAttackB", "BoolVal" : true, "Target" : "Self" } ], "Modifiers" : { "QTEListenerModifier" : { "ModifierStacking" : "Unique", "Duration" : -1, "OnSkillStart": [ { "$type" : "MoleMole.TriggerAbilityAction", "AbilityName" : "Bangboo_Eous001_Skill_Field_Death", "Target" : "Caster", "Predicates" : [ { "$type": "MoleMole.ByFromSkillType", "SkillType": "ExSp", "Target": "Self", }, { "$type": "MoleMole.BySkillReady", "SkillName": "Bangboo_Eous001_Skill_Field_Death", "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_Death_Start", "LayerIndex": 0, "NormalizedTimeLow": 0.4, "NormalizedTimeHigh": 1.0, "ModifierNameList": [ "FieldRangeModifier", ], }, { "AnimatorStateName": "Skill_Field_Death_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_Death", "Target" : "Self" }, //力场发动期间,力场技能CD暂停读秒 { "$type": "MoleMole.PauseSkillCDAction", "Target" : "Self", "IsPause": true, "SkillNames": [ "Bangboo_Eous001_Skill_Field_Death" ], }, //添加ShaderMatCap表现 { "$type" : "MoleMole.ApplyMatCapAction", "MatCapKey" : "Bangboo_Field_Death_ShaderMatCap_Start", "Target" : "Self", }, //发动打击判定 { "$type": "MoleMole.ApplyModifier", "ModifierName": "DamageModifier", "Target" : "Self" }, ], "ModifierMixins" : [ { "$type": "MoleMole.FieldRangeMixin", "TotalDuration": 10, //有效时长 //"StartEffectPattern": "Eff_Bangboo_Field_Death_Start_02", "LoopEffectPattern": "Eff_Bangboo_Field_Death_Start_02", "EndEffectPattern": "Eff_Bangboo_Field_Death_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": "DropItemModifier", "Target" : "Target", "Predicates": [ { "$type": "MoleMole.ByRelativeCampType", "Relationship": "Enemy", "Target" : "Target", }, ] }, ], // //退出时 // "FieldExitActions": // [ // { // "$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_Death" ], }, //移除ShaderMatCap表现 { "$type" : "MoleMole.RemoveMatCapAction", "MatCapKey" : "Bangboo_Field_Death_ShaderMatCap_Start", "Target" : "Self", }, //终止打击判定 { "$type": "MoleMole.RemoveModifier", "ModifierName": "DamageModifier", "Target" : "Self" }, ], }, "DamageModifier": { "ModifierStacking":"Unique", "Duration": -1, "IgnoreTimeScale" : false, "ThinkInterval" : 0.5, "OnThinkInterval" : [ { "$type": "MoleMole.HandleAnimEvent", "AnimEventID": "Bangboo_Eous001_Skill_Field_Death_Attackproperty_01", //"Target" : "Self" }, ] }, "DropItemModifier": { "ModifierStacking" : "Refresh", "Duration" : 1, "IgnoreTimeScale" : false, "OnKilled" : [ { "$type": "MoleMole.DropItemAction", "Target" : "Self", "DropStr": "1001:10000:1", } ] }, //监听玩家拾取掉落物 "GetItemListenerModifier" : { "ModifierStacking" : "Unique", "Duration" : -1, "OnGetItem" : [ { "$type": "MoleMole.ApplyModifier", "ModifierName": "AddFieldDurationModifier", "Target": "Caster", // "Predicates": // [ // { // "$type": "MoleMole.ByGetItem", // "GoodID": 1001, // "Target" : "LocalAvatar" // } // ] } ], }, //延长力场持续时间 "AddFieldDurationModifier" : { "ModifierStacking" : "Unique", "Duration" : "%AS_InternalCD", "IgnoreTimeScale" : false, "OnAdded": [ { "$type": "MoleMole.ModifyArcanaCommonPropertyAction", "ArcanaProperty": "FieldRangeDuration", "Delta": "%AS_AddedDuration", "Target": "Self" }, ], }, }, "AbilitySpecials": { //回复CD值 "AS_AddedDuration": { "Value" : 3, }, //回复CD值内置冷却时间 "AS_InternalCD": { "Value" : 1.5 }, } }