{ "AbilityMixins": [ { "$type": "ActionsOnInstantPropertyChangeMixin", "PropertyActions": [ { "CustomPropertyType": "AttackBuffCount", "InstantPropertyChangeActions": [ { "$type": "BranchOperator", "Conditions": [ { "$type": "ByAbilitySpecial", "CompareType": "Less", "Param": 0, "ParamName": "AS_Temp", "ParamType": "Integer" } ], "SuccessActions": [ { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Mul", "Param": -1, "ParamName": "AS_Temp", "ParamType": "Integer" }, { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Add", "Param": "%AS_Temp", "ParamName": "AS_CurCount", "ParamType": "Integer" }, { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Replace", "Param": "%AS_CurCount", "ParamName": "AS_Temp", "ParamType": "Integer" }, { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Div", "Param": "%AS_TargetCount", "ParamName": "AS_Temp", "ParamType": "Integer" }, { "$type": "ModifyProperty", "Amount": "%AS_Temp", "CustomPropertyType": "ChargeCount", "Predicates": [ { "$type": "ByAbilitySpecial", "CompareType": "Greater", "Param": 0, "ParamName": "AS_Temp", "ParamType": "Integer" } ], "PropertyModifyFunction": "Add", "PropertyType": "Custom" }, { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Mod", "Param": "%AS_TargetCount", "ParamName": "AS_CurCount", "ParamType": "Integer", "Predicates": [ { "$type": "ByAbilitySpecial", "CompareType": "Greater", "Param": 0, "ParamName": "AS_Temp", "ParamType": "Integer" } ] } ] } ], "IsSaveToSpecial": true, "IsUsePercentage": false, "NameSaveToSpecialInstant": "AS_Temp", "PropertyType": "Custom" } ] } ], "AbilityName": "Vivian_Talent_01", "AbilitySpecials": { "AS_BuffDamageRatio": { "Value": 0.5, "ValueType": "Float" }, "AS_CurCount": { "Value": 0, "ValueType": "Integer" }, "AS_TargetCount": { "Value": 4, "ValueType": "Integer" }, "AS_Temp": { "Value": 0, "ValueType": "Integer" } }, "AbilityStacking": "Unique", "DefaultModifier": { "OnBuffAddToOther": [ { "$type": "ApplyModifier", "ModifierName": "Vivian_Talent01_Modifier", "Predicates": [ { "$type": "ByHandlingBuffID", "BuffIDList": [ 3000222 ] } ], "Target": "Other" } ], "OnBuffRemoveFromOther": [ { "$type": "RemoveModifier", "ModifierName": "Vivian_Talent01_Modifier", "Predicates": [ { "$type": "ByHandlingBuffID", "BuffIDList": [ 3000222 ] } ], "Target": "Other" } ] }, "Modifiers": { "Vivian_Talent01_Modifier": { "IsUnique": true, "OnBuffDamageBeingHit": [ { "$type": "ModifyAttackDataAction", "Predicates": [ { "$type": "ByBuffAttackProperty", "BuffGroupList": [ "Electric", "Overload", "Erosion", "Chaos", "Frozen", "Frostbite", "Burn", "Ignite", "Strike", "Disorder" ] } ], "PropertyKey": "Actor_BuffDamageRatio", "PropertyValue": "%AS_BuffDamageRatio", "Target": "Self" } ] } } }