{ "AbilityName": "Coop_EtherInfection_Purify", "AbilitySpecials": { "AS_AddedDamageRatio": { "Value": 0.3 }, "AS_AddedDamageRatio_Base": { "Value": 0.3 }, "AS_AddedDamageRatio_Extra": { "Value": 0 }, "AS_AddedEtherPurifyRatio": { "Value": 0.15 }, "AS_AddedEtherPurifyRatio_Base": { "Value": 0.15 }, "AS_AddedEtherPurifyRatio_Extra": { "Value": 0 }, "AS_EtherInfectionCounterAddNum_PerHit": { "Value": 5 }, "EtherInfectionCounter_Buff_CD": { "Value": 1 }, "EtherInfectionCounter_Buff_Duration": { "Value": 30 } }, "AbilityStacking": "Unique", "DefaultModifier": { "GetEtherInfection ": [ { "$type": "RemoveModifier", "ModifierName": "EtherInfectionCounterControllerModifier", "Target": "Self" } ], "OnAdded": [ { "$type": "RegisterAdditionalCustomPropertyAction", "CustomProperties": [ { "CurPropertyInitValue": 0, "CurPropertyType": "EtherInfectionCounterNum", "MaxPropertyInitValue": 100, "MaxPropertyType": "MaxEtherInfectionCounterNum" } ], "Target": "Caster" } ], "OnEtherInfectionValueEmpty": [ { "$type": "RemoveModifier", "ModifierName": "EtherInfectionCounterControllerModifier", "Target": "Self" } ], "OnGetEtherInfectionValue": [ { "$type": "ApplyModifier", "ModifierName": "EtherInfectionCounterControllerModifier", "Target": "Self" } ] }, "Modifiers": { "EtherInfectionCounterBuffModifier": { "Duration": "%EtherInfectionCounter_Buff_Duration", "ModifierStacking": "Refresh", "OnAdded": [ { "$type": "ModifyEtherInfectionAction", "Percentage": 0, "PropertyModifyFunction": "Replace" }, { "$type": "ApplyModifier", "ModifierName": "EtherInfectionProtectModifier", "Target": "Self" } ], "Properties": { "Actor_AddedDamageRatio": "%AS_AddedDamageRatio", "Actor_AddedEtherPurifyRatio": "%AS_AddedEtherPurifyRatio" } }, "EtherInfectionCounterCDModifier": { "Duration": "%EtherInfectionCounter_Buff_CD", "ModifierStacking": "Unique", "OnAdded": [ { "$type": "ModifyProperty", "Amount": "%AS_EtherInfectionCounterAddNum_PerHit", "CustomPropertyType": "EtherInfectionCounterNum", "Percentage": 0, "PropertyModifyFunction": "Add", "PropertyType": "Custom", "Target": "Self" } ] }, "EtherInfectionCounterControllerModifier": { "Duration": -1, "ModifierMixins": [ { "$type": "ActionsOnPropertyChangeMixin", "PropertyActions": [ { "CustomPropertyType": "EtherInfectionCounterNum", "IsUsePercentage": true, "PropertyType": "Custom", "RefCustomPropertyType": "MaxEtherInfectionCounterNum", "ReferMaxPropertyType": "Custom", "ValueRangeActions": [ { "LowToValueActions": [ { "$type": "ApplyModifier", "ModifierName": "EtherInfectionCounterBuffModifier", "Target": "Self" } ], "Val": 1 } ] } ] } ], "ModifierStacking": "Unique", "OnAdded": [ { "$type": "ModifyProperty", "Amount": 0, "CustomPropertyType": "EtherInfectionCounterNum", "Percentage": 0, "PropertyModifyFunction": "Replace", "PropertyType": "Custom", "Target": "Self" }, { "$type": "SetAbilitySpecialByExpression", "Expression": "specials(AS_AddedDamageRatio_Base)+specials(AS_AddedDamageRatio_Extra)", "ParamName": "AS_AddedDamageRatio", "ValueType": "Float" }, { "$type": "SetAbilitySpecialByExpression", "Expression": "specials(AS_AddedEtherPurifyRatio_Base)+specials(AS_AddedEtherPurifyRatio_Extra)", "ParamName": "AS_AddedEtherPurifyRatio", "ValueType": "Float" } ], "OnHitOther": [ { "$type": "ApplyModifier", "ModifierName": "EtherInfectionCounterCDModifier", "Target": "Self" } ] }, "EtherInfectionProtectModifier": { "Duration": 0.75, "ModifierStacking": "Unique", "Properties": { "Actor_NoEtherInfection": 1 } } } }