{ "AbilityName": "Harumasa_Talent_04", "AbilitySpecials": { "AS_AddedDamageValue": { "Value": 0 }, "AS_DeBuffDuration_Talent04": { "Value": 20 }, "AS_ElecDamageResist_Talent04": { "Value": -0.3 }, "AS_ExtraDmgbyAtkRatio_Talent04": { "Value": 36 } }, "AbilityStacking": "Unique", "DefaultModifier": { "OnHitOther": [ { "$type": "ApplyModifier", "ModifierName": "HarumasaElecPulseModifier", "Predicates": [ { "$type": "ByAnimTagList", "TagList": [ "HitForSlash" ] }, { "$type": "ByRelativeCampType", "Relationship": "Enemy", "Target": "Other" } ], "StackCount": 1, "Target": "Other" }, { "$type": "ModifyAttackDataAction", "Predicates": [ { "$type": "ByAnimEventIDs", "AnimEventIDs": [ "Harumasa_Attack_Talent06_AttackProperty_01" ], "Target": "Self" } ], "PropertyKey": "Actor_AddedAttackDelta", "PropertyValue": "%AS_AddedDamageValue", "Target": "Self" } ], "OnHitOtherPre": [ { "$type": "SetAbilitySpecialByExpression", "DoRefresh": true, "Expression": "property(Atk_Battle)*specials(AS_ExtraDmgbyAtkRatio_Talent04)", "ParamName": "AS_AddedDamageValue", "Predicates": [ { "$type": "ByAnimEventIDs", "AnimEventIDs": [ "Harumasa_Attack_Talent06_AttackProperty_01" ], "Target": "Self" } ], "Target": "Caster", "ValueType": "Float" }, { "$type": "ApplyModifier", "ModifierName": "HarumasaTalent04DebuffModifier", "Predicates": [ { "$type": "ByAnimTagList", "TagList": [ "HitForSlash" ] }, { "$type": "ByRelativeCampType", "Relationship": "Enemy", "Target": "Other" }, { "$type": "ByOr", "Predicates": [ { "$type": "ByIsStunDestroyed", "IsStunDestroyed": true, "Target": "Other" }, { "$type": "ByHasBuffGroup", "BuffGroupList": [ "Frozen", "Frostbite", "Frost", "Strike", "Burn", "Ignite", "Electric", "Overload", "Erosion", "Chaos" ], "Target": "Other" } ], "Target": "Other" } ], "Target": "Other" } ], "OnHitOtherResolved": [ { "$type": "FireEffect", "AttachPointName": "MiddlePoint", "EffectPattern": "Eff_Harumasa_Attack_Common_06_Hit", "Predicates": [ { "$type": "ByAnimTagList", "TagList": [ "HitForSlash" ] }, { "$type": "ByRelativeCampType", "Relationship": "Enemy", "Target": "Other" }, { "$type": "ByModifierStackCount", "CompareType": "GreaterEqual", "CountModifierType": "CurTargetAbility", "ModifierName": "HarumasaElecPulseModifier", "StackCount": 12, "Target": "Other" } ], "Target": "Other" } ] }, "Modifiers": { "HarumasaElecPulseModifier": { "Duration": -1, "MaxStackingNumber": 12, "ModifierStacking": "Multiple", "OnAdded": [ { "$type": "RemoveModifier", "ModifierName": "HarumasaElecPulseModifier", "Predicates": [ { "$type": "ByModifierStackCount", "CompareType": "Equal", "CountModifierType": "CurTargetAbility", "ModifierName": "HarumasaElecPulseModifier", "StackCount": 12, "Target": "Self" } ], "StackCount": 12, "Target": "Self" } ], "OnRemoved": [ { "$type": "DamageByAttackPropertyAction", "AnimEventID": "Harumasa_Attack_Talent06_AttackProperty_01", "Attacker": "Caster", "Predicates": [ { "$type": "ByModifierStackCount", "CompareType": "Equal", "CountModifierType": "CurTargetAbility", "ModifierName": "HarumasaElecPulseModifier", "StackCount": 1, "Target": "Self" } ], "Target": "Self" } ] }, "HarumasaTalent04DebuffModifier": { "Duration": "%AS_DeBuffDuration_Talent04", "ModifierStacking": "Refresh", "OnBeingHit": [ { "$type": "ModifyAttackDataAction", "Predicates": [ { "$type": "ByEntityTemplateID", "EntityType": "Avatar", "Target": "Other", "TemplateID": 1201 } ], "PropertyKey": "Actor_ElecDamageResist", "PropertyValue": "%AS_ElecDamageResist_Talent04", "Target": "Target" } ] } } }