{ "AbilityMixins": [ { "$type": "WatchEntityMixin", "EntityTypes": [ "Avatar" ], "OnEntityAwaked": [ { "$type": "ApplyModifier", "ModifierName": "HarumasaCard02TeamModifer", "Predicates": [ { "$type": "ByEntityTemplateID", "EntityType": "Avatar", "Target": "Self", "TemplateID": 1201 } ], "Target": "TeamAvatars" } ], "Relationships": [ "Allied" ] } ], "AbilityName": "ActivityBattleAbility_Harumasa_Buff_02", "AbilitySpecials": { "AS_AddedDamageRatioElec": { "Value": 0.3 }, "AS_BuffDuration_Activity": { "Value": 15 }, "AS_CriticalDeltaFinal": { "Value": 0 }, "AS_CriticalDeltaRatioFromHarumasa": { "Value": 0.25 }, "AS_MaxStack_Activity": { "Value": 3 }, "AS_SummonCD_Activity": { "Value": 5 } }, "AbilityStacking": "Unique", "DefaultModifier": { "OnAdded": [ { "$type": "ApplyAbilityAction", "AbilityName": "Harumasa_SetTrap_Card02_01", "IsAutoTrigger": false, "Predicates": [ { "$type": "ByEntityTemplateID", "EntityType": "Avatar", "Target": "Self", "TemplateID": 1201 } ], "Target": "Self" }, { "$type": "ApplyAbilityAction", "AbilityName": "Harumasa_SetTrap_Card02_02", "IsAutoTrigger": false, "Predicates": [ { "$type": "ByEntityTemplateID", "EntityType": "Avatar", "Target": "Self", "TemplateID": 1201 } ], "Target": "Self" }, { "$type": "SetAbilitySpecialByExpression", "DoRefresh": true, "Expression": "property(Crit_Battle)*specials(AS_CriticalDeltaRatioFromHarumasa)", "ParamName": "AS_CriticalDeltaFinal", "Predicates": [ { "$type": "ByEntityTemplateID", "EntityType": "Avatar", "Target": "Self", "TemplateID": 1201 } ], "Target": "Self", "ValueType": "Float" } ], "OnTeamAvatarConstructed": [ { "$type": "ApplyModifier", "ModifierName": "HarumasaCard02TeamModifer", "Predicates": [ { "$type": "ByEntityTemplateID", "EntityType": "Avatar", "Target": "Self", "TemplateID": 1201 } ], "Target": "TeamAvatars" } ] }, "Modifiers": { "HarumasaCard02CriUpModifer": { "Duration": -1, "ModifierStacking": "Unique", "Properties": { "Actor_CriticalDelta": "%AS_CriticalDeltaFinal" } }, "HarumasaCard02Modifer": { "Duration": "%AS_BuffDuration_Activity", "MaxStackingNumber": "%AS_MaxStack_Activity", "ModifierStacking": "MultipleAllRefresh", "Properties": { "Actor_AddedDamageRatio_Elec": "%AS_AddedDamageRatioElec" } }, "HarumasaCard02TeamModifer": { "Duration": -1, "ModifierStacking": "Unique", "OnAdded": [ { "$type": "ApplyModifier", "ModifierName": "HarumasaCard02CriUpModifer", "Predicates": [ { "$type": "ByNot", "Predicates": [ { "$type": "ByEntityTemplateID", "EntityType": "Avatar", "Target": "Self", "TemplateID": 1201 } ], "Target": "Self" } ], "Target": "Self" } ], "OnPatternAttackLanded": [ { "$type": "ApplyModifier", "CustomKey": "AbilityTarget_Harumasa", "ModifierName": "HarumasaSummonForTeamModifer", "Predicates": [ { "$type": "ByHitResult", "HitResult": "Critical" }, { "$type": "ByNot", "Predicates": [ { "$type": "ByEntityTemplateID", "EntityType": "Avatar", "Target": "Self", "TemplateID": 1201 } ] } ], "Target": "Custom" } ] }, "HarumasaSummonForTeamModifer": { "Duration": "%AS_SummonCD_Activity", "ModifierStacking": "Unique", "OnAdded": [ { "$type": "TriggerAbilityAction", "AbilityName": "Harumasa_SetTrap_Card02_01", "Target": "Self" }, { "$type": "TriggerAbilityAction", "AbilityName": "Harumasa_SetTrap_Card02_02", "Target": "Self" }, { "$type": "ApplyModifier", "ModifierName": "HarumasaCard02Modifer", "Target": "Self" } ] } } }