{ "AbilityName": "Unagi_UniqueSkill", "AbilitySpecials": { "AS_AddMagicValueUnique_CD": { "Value": 3 }, "AS_AddMagicValue_Unique": { "Value": 1 }, "AS_AddedDamageValue": { "Value": 0 }, "AS_AddedElementAccumulationRatio_FireFrost": { "Value": 0 }, "AS_AddedElementAccumulationRatio_Unique": { "Value": 0.15 }, "AS_AddedTeamElementAccumulationRatio": { "Value": 0.15 }, "AS_DmgbyAtkRatio_Unique": { "Value": 4.5 }, "AS_ElementAccumulationbyCriRatio_Unique": { "Value": 0.5 }, "AS_FireFrosDotbyAtkRatio": { "Value": 0.5 }, "AS_FireFrostDebuff_Duration": { "Value": 20 }, "AS_MaxAddedElementAccumulationRatio_FireFrost": { "Value": 0.5 }, "AS_TeamElementAccumulation_Duration": { "Value": 10 } }, "AbilityStacking": "Unique", "DefaultModifier": { "OnBuffAddToOther": [ { "$type": "SetAbilitySpecialByExpression", "DoRefresh": true, "Expression": "property(Atk_Battle)*specials(AS_DmgbyAtkRatio_Unique)", "ParamName": "AS_AddedDamageValue", "Predicates": [ { "$type": "ByHandlingBuffID", "BuffIDList": [ 1006 ] } ], "Target": "Caster", "ValueType": "Float" }, { "$type": "DamageByAttackPropertyAction", "AnimEventID": "Unagi_Attack_UniqueSkill_AttackProperty_01", "Predicates": [ { "$type": "ByHandlingBuffID", "BuffIDList": [ 1006 ] }, { "$type": "ByIsInZoneTags", "Tags": [ "FireFrost_Unagi" ], "Target": "Other" } ], "Target": "Other" }, { "$type": "FireEffect", "EffectPattern": "Eff_Unagi_Attack_Frostburst_01_Trail", "Predicates": [ { "$type": "ByHandlingBuffID", "BuffIDList": [ 1006 ] }, { "$type": "ByIsInZoneTags", "Tags": [ "FireFrost_Unagi" ], "Target": "Other" } ], "Target": "Other" }, { "$type": "ApplyModifier", "ModifierName": "Unagi_DebuffAttachFrost_Modifier", "Predicates": [ { "$type": "ByHandlingBuffID", "BuffIDList": [ 1006 ] }, { "$type": "ByIsInZoneTags", "Tags": [ "FireFrost_Unagi" ], "Target": "Other" } ], "Target": "Other" } ], "OnHitOther": [ { "$type": "ApplyModifier", "ModifierName": "Unagi_FireFrostDebuff_Modifier", "Predicates": [ { "$type": "ByDamageElementType", "DamageElement": "Ice" }, { "$type": "ByMonsterFunctionType", "CompareType": "Equal", "MonsterFunctionType": "Monster", "Target": "Other" }, { "$type": "ByOr", "Predicates": [ { "$type": "ByNot", "Predicates": [ { "$type": "ByHasModifier", "ModifierNameList": [ "Unagi_DebuffAttachFrost_Modifier" ], "Target": "Other" } ], "Target": "Other" }, { "$type": "ByIsInZoneTags", "Tags": [ "Unagi_Card_A_02_FireFrost_Enhance" ], "Target": "Self" } ], "Target": "Other" } ], "Target": "Other" }, { "$type": "RemoveModifier", "ModifierName": "Unagi_FireFrostDebuff_Modifier", "Predicates": [ { "$type": "ByAnimEventIDs", "AnimEventIDs": [ "Unagi_Attack_UniqueSkill_AttackProperty_01" ], "Target": "Self" } ], "Target": "Other" }, { "$type": "ApplyModifier", "ModifierName": "Unagi_AddMagicValueUnique_Modifier", "Predicates": [ { "$type": "ByAnimEventIDs", "AnimEventIDs": [ "Unagi_Attack_UniqueSkill_AttackProperty_01" ], "Target": "Self" } ], "Target": "Caster" }, { "$type": "ApplyModifier", "ModifierName": "Unagi_FireFrostDebuff_Modifier", "Predicates": [ { "$type": "ByAnimEventIDs", "AnimEventIDs": [ "Unagi_Attack_UniqueSkill_AttackProperty_01" ], "Target": "Self" }, { "$type": "ByIsInZoneTags", "Tags": [ "Unagi_Card_A_02_FireFrost_Enhance" ], "Target": "Self" } ], "Target": "Other" }, { "$type": "ModifyAttackDataAction", "Predicates": [ { "$type": "ByIsInZoneTags", "Tags": [ "FireFrost_Unagi" ], "Target": "Other" } ], "PropertyKey": "Actor_AddedElementAccumulationRatio", "PropertyValue": "%AS_AddedElementAccumulationRatio_FireFrost", "Target": "Self" }, { "$type": "RemoveModifier", "ModifierName": "Unagi_DebuffAttachFrost_Modifier", "Predicates": [ { "$type": "ByAnimTagList", "TagList": [ "Unagi_Lv3" ] }, { "$type": "ByHasModifier", "ModifierNameList": [ "Unagi_DebuffAttachFrost_Modifier" ], "Target": "Other" }, { "$type": "ByAvatarTalentIndex", "TalentIndex": 1, "Target": "Self" } ], "Target": "Other" } ], "OnHitOtherPre": [ { "$type": "ModifyAttackDataAction", "Predicates": [ { "$type": "ByAnimEventIDs", "AnimEventIDs": [ "Unagi_Attack_UniqueSkill_AttackProperty_01" ], "Target": "Self" } ], "PropertyKey": "Actor_AddedAttackDelta", "PropertyValue": "%AS_AddedDamageValue", "Target": "Self" }, { "$type": "SetAbilitySpecialByExpression", "DoRefresh": true, "Expression": "min(specials(AS_MaxAddedElementAccumulationRatio_FireFrost),property(Crit_Battle)*specials(AS_ElementAccumulationbyCriRatio_Unique))", "ParamName": "AS_AddedElementAccumulationRatio_FireFrost", "Target": "Self", "ValueType": "Float" }, { "$type": "ApplyModifier", "ModifierName": "UnagiAddTeamElementAccumulationModifier", "Predicates": [ { "$type": "ByAnimTagList", "TagList": [ "Unagi_Lv3" ] }, { "$type": "ByHasModifier", "ModifierNameList": [ "Unagi_DebuffAttachFrost_Modifier" ], "Target": "Other" }, { "$type": "ByAvatarTalentIndex", "TalentIndex": 1, "Target": "Self" } ], "Target": "TeamAvatars" } ] }, "Modifiers": { "UnagiAddTeamElementAccumulationModifier": { "Duration": "%AS_TeamElementAccumulation_Duration", "ModifierStacking": "Refresh", "Properties": { "Actor_AddedElementAccumulationRatio": "%AS_AddedTeamElementAccumulationRatio" } }, "Unagi_AddMagicValueUnique_Modifier": { "Duration": "%AS_AddMagicValueUnique_CD", "ModifierStacking": "Unique", "OnAdded": [ { "$type": "ModifyProperty", "Amount": "%AS_AddMagicValue_Unique", "CustomPropertyType": "MagicValueCounts", "IsUsePercentage": false, "PropertyModifyFunction": "Add", "PropertyType": "Custom", "Target": "Caster" } ] }, "Unagi_DebuffAttachFrost_Modifier": { "Buff": { "BuffID": 3000181, "IsOverrideDuration": true }, "Duration": -1, "ModifierStacking": "Refresh", "OnBeingHit": [ { "$type": "ModifyAttackDataAction", "PropertyKey": "Actor_AddedElementAccumulationRatio", "PropertyValue": "%AS_AddedElementAccumulationRatio_Unique", "Target": "Self" } ], "OnBuffRemoved": [ { "$type": "RemoveModifier", "ModifierName": "Unagi_DebuffAttachFrost_Modifier", "Predicates": [ { "$type": "ByHandlingBuffID", "BuffIDList": [ 1006 ] } ], "Target": "Self" } ] }, "Unagi_FireFrostDebuff_Modifier": { "Duration": "%AS_FireFrostDebuff_Duration", "ModifierStacking": "Refresh", "OnAdded": [ { "$type": "AttachEffect", "EffectPattern": "Eff_Unagi_Attack_Common_09_Fire", "Predicates": [ { "$type": "ByCharacterSize", "CharacterSize": "Small", "CompareType": "LessEqual", "Target": "Self" } ], "Target": "Self" }, { "$type": "AttachEffect", "EffectPattern": "Eff_Unagi_Attack_Common_10_Fire", "Predicates": [ { "$type": "ByCharacterSize", "CharacterSize": "Middle", "CompareType": "Equal", "Target": "Self" } ], "Target": "Self" }, { "$type": "AttachEffect", "EffectPattern": "Eff_Unagi_Attack_Common_11_Fire", "Predicates": [ { "$type": "ByCharacterSize", "CharacterSize": "Large", "CompareType": "GreaterEqual", "Target": "Self" } ], "Target": "Self" }, { "$type": "HandleAnimatorZoneTagsAction", "AnimatorStateTags": [ "FireFrost_Unagi" ], "IsAdd": true, "Target": "Self" } ], "OnRemoved": [ { "$type": "HandleAnimatorZoneTagsAction", "AnimatorStateTags": [ "FireFrost_Unagi" ], "IsAdd": false, "Target": "Self" } ], "OnThinkInterval": [ { "$type": "DamageByAttackPropertyAction", "AttachPoint": "MiddlePoint", "AttackProperty": { "DamageElement": "Ice", "DamagePercentage": "%AS_FireFrosDotbyAtkRatio" }, "Attacker": "Caster", "Predicates": [ { "$type": "ByIsInZoneTags", "Tags": [ "Unagi_Card_A_02_FireFrost_Enhance" ], "Target": "Caster" } ], "Target": "Self" }, { "$type": "TriggerSoundAction", "Predicates": [ { "$type": "ByIsInZoneTags", "Tags": [ "Unagi_Card_A_02_FireFrost_Enhance" ], "Target": "Caster" } ], "Target": "Self", "soundActionKey": "Play_SFX_Char_Impact_Unagi_Card_A_02" } ], "ThinkInterval": 1 } } }