{ "AbilityName": "AbyssS2_Artifact_1339910", "AbilitySpecials": { "AS_AbyssS2_Artifact_HPReductionForMaxHealth_Count": { "Value": 0, "ValueType": "Integer" }, "AS_AbyssS2_Artifact_HPReductionForMaxHealth_Count_Cache": { "Value": 0, "ValueType": "Integer" }, "AS_AbyssS2_Artifact_HPReductionForMaxHealth_UpperLimit": { "Value": 4, "ValueType": "Integer" }, "AS_HpDecreaseAmount": { "Value": 0, "ValueType": "Float" }, "AS_HpDecreaseRatio": { "Value": 0.2, "ValueType": "Float" }, "AS_MaxHPRatio": { "Value": 0.1, "ValueType": "Float" }, "AS_ShieldAmount": { "Value": 0.1, "ValueType": "Float" } }, "AbilityStacking": "Unique", "DefaultModifier": { "ModifierStacking": "Unique", "OnAbyssS2AreaStart": [ { "$type": "ApplyModifier", "ModifierName": "AbyssS2_Artifact_HPReductionForMaxHealth_Reducation_Modifier", "Predicates": [ { "$type": "ByAbilitySpecial", "CompareType": "Less", "Param": "%AS_AbyssS2_Artifact_HPReductionForMaxHealth_UpperLimit", "ParamName": "AS_AbyssS2_Artifact_HPReductionForMaxHealth_Count", "ParamType": "Integer", "Target": "Self" }, { "$type": "ByAbyssS2AreaTagList", "TargetTagList": [ "Battle" ] } ], "Target": "Self" }, { "$type": "ApplyModifier", "ModifierName": "AbyssS2_Artifact_HPReductionForMaxHealth_Bonus_Modifier", "Predicates": [ { "$type": "ByAbilitySpecial", "CompareType": "Less", "Param": "%AS_AbyssS2_Artifact_HPReductionForMaxHealth_UpperLimit", "ParamName": "AS_AbyssS2_Artifact_HPReductionForMaxHealth_Count", "ParamType": "Integer", "Target": "Self" }, { "$type": "ByAbyssS2AreaTagList", "TargetTagList": [ "Battle" ] } ], "Target": "Self" } ], "OnAdded": [ { "$type": "SetAbilitySpecialByExpression", "DoRefresh": true, "Expression": "scenevar(AS_AbyssS2_Artifact_HPReductionForMaxHealth_Count)", "ParamName": "AS_AbyssS2_Artifact_HPReductionForMaxHealth_Count_Cache", "Target": "Self", "ValueType": "Integer" }, { "$type": "ApplyModifier", "ModifierName": "AbyssS2_Artifact_HPReductionForMaxHealth_Bonus_Modifier", "Predicates": [ { "$type": "ByAbilitySpecial", "CompareType": "GreaterEqual", "Param": "%AS_AbyssS2_Artifact_HPReductionForMaxHealth_Count", "ParamName": "AS_AbyssS2_Artifact_HPReductionForMaxHealth_Count_Cache", "ParamType": "Integer", "Target": "Self" } ], "StackCount": "%AS_AbyssS2_Artifact_HPReductionForMaxHealth_Count_Cache", "Target": "Self" } ] }, "Modifiers": { "AbyssS2_Artifact_HPReductionForMaxHealth_Bonus_Modifier": { "Duration": -1, "MaxStackingNumber": "%AS_AbyssS2_Artifact_HPReductionForMaxHealth_UpperLimit", "ModifierStacking": "Multiple", "OnAdded": [ { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Add", "Param": 1, "ParamName": "AS_AbyssS2_Artifact_HPReductionForMaxHealth_Count", "ParamType": "Integer", "Target": "Self" } ], "Properties": { "Actor_MaxHPRatio": "%AS_MaxHPRatio" } }, "AbyssS2_Artifact_HPReductionForMaxHealth_Reducation_Modifier": { "DelayHandlers": [ { "DelayTime": 0.02, "TimeUpActions": [ { "$type": "ApplyModifier", "ModifierName": "AbyssS2_Artifact_HPReductionForMaxHealth_Shield_Modifier", "Target": "Self" } ] } ], "Duration": -1, "MaxStackingNumber": "%AS_AbyssS2_Artifact_HPReductionForMaxHealth_UpperLimit", "ModifierStacking": "Multiple", "OnAdded": [ { "$type": "SetAbilitySpecialByExpression", "Expression": "property(CurHP)*specials(AS_HpDecreaseRatio)", "ParamName": "AS_HpDecreaseAmount", "Target": "Self", "ValueType": "Float" }, { "$type": "DecreaseHPAction", "Amount": "%AS_HpDecreaseAmount", "IgnoreInvincible": true, "Target": "Caster" } ] }, "AbyssS2_Artifact_HPReductionForMaxHealth_Shield_Modifier": { "Duration": -1, "MaxStackingNumber": "%AS_AbyssS2_Artifact_HPReductionForMaxHealth_UpperLimit", "ModifierMixins": [ { "$type": "HpShieldMixin", "AddedActions": [ { "$type": "FireEffect", "EffectPattern": "Buff_Common_Defense", "Target": "Self" }, { "$type": "ModifyMaterialPropertyAction", "Tag": "CommonDefenseMaterial", "Target": "Self", "key": "Common_MA_Buff_Defence_RimGlow_01" } ], "Duration": -1, "IfTakeRestDamageWhenEmpty": true, "Priority": 0, "RecoverAmount": 0, "RecoverPercentage": "%RecoverPercentage", "Tag": "AbyssS2_Artifact_1339910", "TotalValueConfig": { "Amount": 0, "Percentage": "%AS_ShieldAmount", "PropertyType": "MaxHP" } } ], "ModifierStacking": "Multiple" } } }