{ "AbilityMixins": [ { "$type": "ActionsOnInstantPropertyChangeMixin", "PropertyActions": [ { "InstantPropertyChangeActions": [ { "$type": "SetAbilitySpecialByExpression", "DoRefresh": true, "Expression": "sqrt((specials(AS_MaxHP)-property(MaxHP))*(specials(AS_MaxHP)-property(MaxHP)))", "ParamName": "AS_MaxHP_Delta", "Target": "Self", "ValueType": "Float" }, { "$type": "BranchOperator", "Conditions": [ { "$type": "ByAbilitySpecial", "CompareType": "LessEqual", "Param": 1, "ParamName": "AS_MaxHP_Delta", "ParamType": "Float" }, { "$type": "ByNot", "Predicates": [ { "$type": "ByHasModifier", "ModifierNameList": [ "Weapon14105CDModifier" ] } ] } ], "FailureActions": [ { "$type": "SetAbilitySpecialsByPropertyAction", "DoRefresh": true, "ModifyFunction": "Replace", "ParamName": "AS_MaxHP", "Percentage": 1, "PropertyType": "MaxHP", "Target": "Self" } ], "SuccessActions": [ { "$type": "BranchOperator", "Conditions": [ { "$type": "ByAbilitySpecial", "CompareType": "Less", "Param": 0, "ParamName": "Hp_Change", "ParamType": "Float" } ], "SuccessActions": [ { "$type": "ApplyModifier", "ModifierName": "SkipDefAttackRadioModifier" }, { "$type": "ApplyModifier", "ModifierName": "Weapon14105CDModifier" } ] } ] } ], "IsSaveToSpecial": true, "IsUsePercentage": false, "NameSaveToSpecialInstant": "Hp_Change", "PropertyType": "CurHP" } ] }, { "$type": "ActionsOnPropertyChangeMixin", "PropertyActions": [ { "IsUsePercentage": true, "PropertyType": "CurHP", "ReferMaxPropertyType": "MaxHP", "ValueRangeActions": [ { "HighToValueActions": [ { "$type": "ApplyModifier", "ModifierName": "CriticalDeltaModifier", "Target": "Self" } ], "Val": "%AS_CurHP_Required_Ratio" }, { "Val": "%AS_CurHP_Required_Ratio", "ValueToHighActions": [ { "$type": "RemoveModifier", "ModifierName": "CriticalDeltaModifier", "Target": "Self" } ] } ] } ] } ], "AbilityName": "Weapon_Ability_14105", "AbilitySpecials": { "AS_AddedSkipDefDamageRatio": { "Value": 0 }, "AS_CD_Duration": { "Value": 0.5 }, "AS_CriticalDelta": { "Value": 0.2 }, "AS_CurHP_Required_Ratio": { "Value": 0.5 }, "AS_Duration": { "Value": 15 }, "AS_MaxHP": { "Value": 0 }, "AS_MaxHP_Delta": { "Value": 0 }, "AS_MaxStackingNumber": { "Value": 3 }, "Hp_Change": { "Value": 0 } }, "AbilityStacking": "Unique", "DefaultModifier": { "OnAdded": [ { "$type": "SetAbilitySpecialsByPropertyAction", "DoRefresh": true, "ModifyFunction": "Replace", "ParamName": "AS_MaxHP", "Percentage": 1, "PropertyType": "MaxHP", "Target": "Self" }, { "$type": "BranchOperator", "Conditions": [ { "$type": "ByPlayerPropertyValue", "CompareType": "LessEqual", "Denominator": "MaxHP", "Numerator": "CurHP", "Target": "Self", "Val1": "%AS_CurHP_Required_Ratio" } ], "FailureActions": [ { "$type": "RemoveModifier", "ModifierName": "CriticalDeltaModifier", "Target": "Self" } ], "SuccessActions": [ { "$type": "ApplyModifier", "ModifierName": "CriticalDeltaModifier", "Target": "Self" } ] } ] }, "Modifiers": { "CriticalDeltaModifier": { "Duration": -1, "ModifierStacking": "Unique", "Properties": { "Actor_CriticalDelta": "%AS_CriticalDelta" } }, "SkipDefAttackRadioModifier": { "Duration": "%AS_Duration", "MaxStackingNumber": "%AS_MaxStackingNumber", "ModifierStacking": "MultipleRefresh", "OnHitOther": [ { "$type": "ModifyAttackDataAction", "Predicates": [ { "$type": "ByDamageElementType", "DamageElement": "Ice" } ], "PropertyKey": "Actor_AddedSkipDefDamageRatio", "PropertyValue": "%AS_AddedSkipDefDamageRatio", "Target": "Self" } ] }, "Weapon14105CDModifier": { "Duration": "%AS_CD_Duration", "ModifierStacking": "Unique" } } }