{ "AbilityName" : "Bangboo_Eous001_Skill_Resonate_LowHP", "AbilityStacking":"Unique", //残阳共鸣,玩家血量越低,随从该次打击伤害越高(玩家血量为0%时,伤害提升为100%) "DefaultModifier" : { "OnAdded" : [ { "$type": "MoleMole.ApplyModifier", "ModifierName": "ListenDodgeModifier", "Target" : "TeamAvatars" } ], "OnHitOther": [ { "$type": "MoleMole.ApplyModifier", "ModifierName": "AddedDamageRatioModifier", "Target" : "LocalAvatar" }, { "$type": "MoleMole.ModifyAttackDataAction", "Target" : "Self", "PropertyKey": "Actor_AddedDamageRatio", "PropertyValue": "%AS_AddedDamageRatio", "Predicates" : [ { "$type" : "MoleMole.ByAnimatorEventIDs", "AnimatorEventIDs" : [ "Bangboo_Eous001_Skill_Resonate_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":1.0, "y":0.0, "z":1.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" : 31, "Target" : "Self" }, { "$type" : "MoleMole.SetAnimCtrlerParamAction", "ParamType" : 1, "ParamName" : "Trigger_PressAttackB", "BoolVal" : true, "Target" : "Self" } ], "Modifiers" : { "ListenDodgeModifier" : { "ModifierStacking" : "Unique", "Duration" : -1, "OnDodgeSuccess" : [ { "$type" : "MoleMole.TriggerAbilityAction", "AbilityName" : "Bangboo_Eous001_Skill_Resonate_LowHP", "Target" : "Caster", "Predicates" : [ { "$type": "MoleMole.BySkillReady", "SkillName": "Bangboo_Eous001_Skill_Resonate_LowHP", "Target": "Caster" }, { "$type": "MoleMole.ByNot", "Predicates": [ { "$type": "MoleMole.ByIsInZoneTags", "Target": "Caster", "Tags" : [ "Disabled" ] } ] } ] } ] }, "AddedDamageRatioModifier" : { "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_AddedDamageRatio", "ParamType": "abilitySpecial_float", "ModifyFunction": "Replace", "Param": "AS_CurHP" }, { "$type": "MoleMole.SetAbilitySpecialAction", "Target": "Caster", "ParamName": "AS_AddedDamageRatio", "ParamType": "abilitySpecial_float", "ModifyFunction": "Div", "Param": "AS_MaxHP" }, { "$type": "MoleMole.SetAbilitySpecialAction", "Target": "Caster", "ParamName": "AS_AddedDamageRatio", "ParamType": "float", "ModifyFunction": "Mul", "Param": -1.0 }, { "$type": "MoleMole.SetAbilitySpecialAction", "Target": "Caster", "ParamName": "AS_AddedDamageRatio", "ParamType": "float", "ModifyFunction": "Add", "Param": 1.0 }, { "$type": "MoleMole.SetAbilitySpecialAction", "Target": "Caster", "ParamName": "AS_AddedDamageRatio", "ParamType": "abilitySpecial_float", "ModifyFunction": "Mul", "Param": "AS_ConvertRatio" } ] } }, "AbilitySpecials" : { //玩家当前血量 "AS_CurHP": { "Value" : 0 }, //玩家最大血量 "AS_MaxHP": { "Value" : 0 }, //血量百分比转为攻击百分比的比例系数(1.0=100%) "AS_ConvertRatio": { "Value" : 1.0 }, //实际攻击增幅百分比 "AS_AddedDamageRatio": { "Value" : 0 } } }