Ghost

Game resources

Unagi UniqueSkill

game_resourceIntrinsic/flexbuffers-json/Unagi_UniqueSkill

Properties

3
Source evidence
Path
Intrinsic/flexbuffers-json/Unagi_UniqueSkill.json
data
{
  "Modifiers": {
    "Unagi_CardS3_0201_Modifier": {
      "Duration": -1,
      "ModifierStacking": "Unique",
      "OnBuffDamageBeingHit": [
        {
          "$type": "ModifyAttackDataAction",
          "Target": "Self",
          "Predicates": [
            {
              "$type": "ByBuffAttackProperty",
              "BuffGroupList": [
                "Strike",
                "Frostbite",
                "Frozen",
                "Frost"
              ]
            }
          ],
          "PropertyKey": "Actor_BuffDamageRatio",
          "PropertyValue": "%AS_BuffDamageRatio_S30201"
        }
      ]
    },
    "Unagi_CardS3_0202_Modifier": {
      "Duration": -1,
      "OnBuffAdded": [
        {
          "$type": "ApplyModifier",
          "Target": "Self",
          "Predicates": [
            {
              "$type": "ByHandlingBuffGroup",
              "BuffGroupList": [
                "Electric",
                "Overload"
              ]
            }
          ],
          "ModifierName": "Unagi_CardS3_0202_ElecModifier"
        },
        {
          "$type": "ApplyModifier",
          "Target": "Self",
          "Predicates": [
            {
              "$type": "ByHandlingBuffGroup",
              "BuffGroupList": [
                "Burn",
                "Ignite"
              ]
            }
          ],
          "ModifierName": "Unagi_CardS3_0202_FireModifier"
        }
      ],
      "ModifierStacking": "Unique"
    },
    "Unagi_CardS3_0202_ElecModifier": {
      "Duration": "%AS_DebuffS30202_Duration",
      "Properties": {
        "Actor_ElecDamageResist": "%AS_DamageResist0202"
      },
      "ModifierStacking": "Refresh"
    },
    "Unagi_CardS3_0202_FireModifier": {
      "Duration": "%AS_DebuffS30202_Duration",
      "Properties": {
        "Actor_FireDamageResist": "%AS_DamageResist0202"
      },
      "ModifierStacking": "Refresh"
    },
    "Unagi_FireFrostDebuff_Modifier": {
      "OnAdded": [
        {
          "$type": "AttachEffect",
          "Target": "Self",
          "Predicates": [
            {
              "$type": "ByCharacterSize",
              "Target": "Self",
              "CompareType": "LessEqual",
              "CharacterSize": "Small"
            }
          ],
          "EffectPattern": "Eff_Unagi_Attack_Common_09_Fire"
        },
        {
          "$type": "AttachEffect",
          "Target": "Self",
          "Predicates": [
            {
              "$type": "ByCharacterSize",
              "Target": "Self",
              "CompareType": "Equal",
              "CharacterSize": "Middle"
            }
          ],
          "EffectPattern": "Eff_Unagi_Attack_Common_10_Fire"
        },
        {
          "$type": "AttachEffect",
          "Target": "Self",
          "Predicates": [
            {
              "$type": "ByCharacterSize",
              "Target": "Self",
              "CompareType": "GreaterEqual",
              "CharacterSize": "Large"
            }
          ],
          "EffectPattern": "Eff_Unagi_Attack_Common_11_Fire"
        },
        {
          "$type": "HandleAnimatorZoneTagsAction",
          "IsAdd": true,
          "Target": "Self",
          "MpPeerIdSource": "Caster",
          "AnimatorStateTags": [
            "FireFrost_Unagi"
          ]
        },
        {
          "$type": "ApplyModifier",
          "Target": "Self",
          "Predicates": [
            {
              "Tags": [
                "Unagi_CardS3_0201"
              ],
              "$type": "ByIsInZoneTags",
              "Target": "Caster"
            }
          ],
          "ModifierName": "Unagi_CardS3_0201_Modifier"
        },
        {
          "$type": "ApplyModifier",
          "Target": "Self",
          "Predicates": [
            {
              "Tags": [
                "Unagi_CardS3_0202"
              ],
              "$type": "ByIsInZoneTags",
              "Target": "Caster"
            }
          ],
          "ModifierName": "Unagi_CardS3_0202_Modifier"
        },
        {
          "$type": "TriggerAbilityAction",
          "Target": "Caster",
          "Predicates": [
            {
              "Tags": [
                "Unagi_Card_A_02_FireFrost_Enhance"
              ],
              "$type": "ByIsInZoneTags",
              "Target": "Caster"
            }
          ],
          "AbilityName": "Unagi_CardS3_Base_02"
        }
      ],
      "Duration": "%AS_FireFrostDebuff_Duration",
      "OnRemoved": [
        {
          "$type": "HandleAnimatorZoneTagsAction",
          "IsAdd": false,
          "Target": "Self",
          "MpPeerIdSource": "Caster",
          "AnimatorStateTags": [
            "FireFrost_Unagi"
          ]
        },
        {
          "$type": "RemoveModifier",
          "Target": "Self",
          "ModifierName": "Unagi_CardS3_0201_Modifier"
        },
        {
          "$type": "RemoveModifier",
          "Target": "Self",
          "ModifierName": "Unagi_CardS3_0202_Modifier"
        }
      ],
      "ThinkInterval": 1,
      "OnThinkInterval": [
        {
          "$type": "DamageByAttackPropertyAction",
          "Target": "Self",
          "Attacker": "Caster",
          "Predicates": [
            {
              "Tags": [
                "Unagi_Card_A_02_FireFrost_Enhance"
              ],
              "$type": "ByIsInZoneTags",
              "Target": "Caster"
            }
          ],
          "AttachPoint": "MiddlePoint",
          "AttackProperty": {
            "TagList": [
              "AvatarThinkIntervalDmgTag"
            ],
            "DamageElement": "Ice",
            "DamagePercentage": "%AS_FireFrosDotbyAtkRatio"
          }
        },
        {
          "$type": "TriggerSoundAction",
          "Target": "Self",
          "Predicates": [
            {
              "Tags": [
                "Unagi_Card_A_02_FireFrost_Enhance"
              ],
              "$type": "ByIsInZoneTags",
              "Target": "Caster"
            }
          ],
          "soundActionKey": "Play_SFX_Char_Impact_Unagi_Card_A_02"
        }
      ],
      "ModifierStacking": "Refresh"
    },
    "Unagi_DebuffAttachFrost_Modifier": {
      "Buff": {
        "BuffID": 3000181,
        "IsOverrideDuration": true
      },
      "Duration": -1,
      "OnBeingHit": [
        {
          "$type": "ModifyAttackDataAction",
          "Target": "Self",
          "MpExecMode": "MpTotallyLocal",
          "PropertyKey": "Actor_AddedElementAccumulationRatio",
          "PropertyValue": "%AS_AddedElementAccumulationRatio_Unique"
        }
      ],
      "OnBuffRemoved": [
        {
          "$type": "RemoveModifier",
          "Target": "Self",
          "Predicates": [
            {
              "$type": "ByHandlingBuffID",
              "BuffIDList": [
                1006
              ]
            }
          ],
          "ModifierName": "Unagi_DebuffAttachFrost_Modifier"
        }
      ],
      "ModifierStacking": "Refresh"
    },
    "Unagi_AddMagicValueUnique_Modifier": {
      "OnAdded": [
        {
          "$type": "ModifyProperty",
          "Amount": "%AS_AddMagicValue_Unique",
          "Target": "Caster",
          "PropertyType": "Custom",
          "IsUsePercentage": false,
          "CustomPropertyType": "MagicValueCounts",
          "PropertyModifyFunction": "Add"
        }
      ],
      "Duration": "%AS_AddMagicValueUnique_CD",
      "ModifierStacking": "Unique"
    },
    "UnagiAddTeamElementAccumulationModifier": {
      "Duration": "%AS_TeamElementAccumulation_Duration",
      "Properties": {
        "Actor_AddedElementAccumulationRatio": "%AS_AddedTeamElementAccumulationRatio"
      },
      "ModifierStacking": "Refresh"
    }
  },
  "AbilityName": "Unagi_UniqueSkill",
  "AbilitySpecials": {
    "AS_AddedDamageValue": {
      "Value": 0
    },
    "AS_DamageResist0202": {
      "Value": 0
    },
    "AS_AddMagicValue_Unique": {
      "Value": 1
    },
    "AS_DmgbyAtkRatio_Unique": {
      "Value": 4.5
    },
    "AS_DebuffS30202_Duration": {
      "Value": 0
    },
    "AS_FireFrosDotbyAtkRatio": {
      "Value": 0.5
    },
    "AS_AddMagicValueUnique_CD": {
      "Value": 3
    },
    "AS_BuffDamageRatio_S30201": {
      "Value": 0
    },
    "AS_FireFrostDebuff_Duration": {
      "Value": 20
    },
    "AS_TeamElementAccumulation_Duration": {
      "Value": 10
    },
    "AS_AddedTeamElementAccumulationRatio": {
      "Value": 0.15
    },
    "AS_AddedElementAccumulationRatio_Unique": {
      "Value": 0.15
    },
    "AS_ElementAccumulationbyCriRatio_Unique": {
      "Value": 0.5
    },
    "AS_AddedElementAccumulationRatio_FireFrost": {
      "Value": 0
    },
    "AS_MaxAddedElementAccumulationRatio_FireFrost": {
      "Value": 0.5
    }
  },
  "AbilityStacking": "Unique",
  "DefaultModifier": {
    "OnAdded": [
      {
        "$type": "TriggerAbilityAction",
        "Target": "Caster",
        "Predicates": [
          {
            "$type": "ByHasAbility",
            "Target": "Caster",
            "AbilityNameList": [
              "Unagi_CardS3_Base_02_Upgrade_01"
            ]
          }
        ],
        "AbilityName": "Unagi_CardS3_Base_02_Upgrade_01"
      },
      {
        "$type": "TriggerAbilityAction",
        "Target": "Caster",
        "Predicates": [
          {
            "$type": "ByHasAbility",
            "Target": "Caster",
            "AbilityNameList": [
              "Unagi_CardS3_Base_02_Upgrade_02"
            ]
          }
        ],
        "AbilityName": "Unagi_CardS3_Base_02_Upgrade_02"
      }
    ],
    "OnHitOther": [
      {
        "$type": "ApplyModifier",
        "Target": "Other",
        "Predicates": [
          {
            "$type": "ByDamageElementType",
            "DamageElement": "Ice"
          },
          {
            "$type": "ByMonsterFunctionType",
            "Target": "Other",
            "CompareType": "Equal",
            "MonsterFunctionType": "Monster"
          },
          {
            "$type": "ByOr",
            "Target": "Other",
            "Predicates": [
              {
                "$type": "ByNot",
                "Target": "Other",
                "Predicates": [
                  {
                    "$type": "ByHasModifier",
                    "Target": "Other",
                    "ModifierNameList": [
                      "Unagi_DebuffAttachFrost_Modifier"
                    ]
                  }
                ]
              }
            ]
          }
        ],
        "ModifierName": "Unagi_FireFrostDebuff_Modifier"
      },
      {
        "$type": "RemoveModifier",
        "Target": "Other",
        "Predicates": [
          {
            "$type": "ByAnimEventIDs",
            "Target": "Self",
            "AnimEventIDs": [
              "Unagi_Attack_UniqueSkill_AttackProperty_01"
            ]
          }
        ],
        "ModifierName": "Unagi_FireFrostDebuff_Modifier"
      },
      {
        "$type": "ApplyModifier",
        "Target": "Caster",
        "Predicates": [
          {
            "$type": "ByAnimEventIDs",
            "Target": "Self",
            "AnimEventIDs": [
              "Unagi_Attack_UniqueSkill_AttackProperty_01"
            ]
          }
        ],
        "ModifierName": "Unagi_AddMagicValueUnique_Modifier"
      },
      {
        "$type": "ApplyModifier",
        "Target": "Other",
        "Predicates": [
          {
            "$type": "ByAnimEventIDs",
            "Target": "Self",
            "AnimEventIDs": [
              "Unagi_Attack_UniqueSkill_AttackProperty_01"
            ]
          },
          {
            "Tags": [
              "Unagi_Card_A_02_FireFrost_Enhance"
            ],
            "$type": "ByIsInZoneTags",
            "Target": "Self"
          }
        ],
        "ModifierName": "Unagi_FireFrostDebuff_Modifier"
      },
      {
        "$type": "ModifyAttackDataAction",
        "Target": "Self",
        "MpExecMode": "MpTotallyLocal",
        "Predicates": [
          {
            "$type": "ByOr",
            "Target": "Other",
            "Predicates": [
              {
                "Tags": [
                  "FireFrost_Unagi"
                ],
                "$type": "ByIsInZoneTags",
                "Target": "Other"
              },
              {
                "Tags": [
                  "FireFrost_Unagi1"
                ],
                "$type": "ByIsInZoneTags",
                "Target": "Other"
              },
              {
                "Tags": [
                  "FireFrost_Unagi2"
                ],
                "$type": "ByIsInZoneTags",
                "Target": "Other"
              },
              {
                "Tags": [
                  "FireFrost_Unagi3"
                ],
                "$type": "ByIsInZoneTags",
                "Target": "Other"
              }
            ]
          }
        ],
        "PropertyKey": "Actor_AddedElementAccumulationRatio",
        "PropertyValue": "%AS_AddedElementAccumulationRatio_FireFrost"
      },
      {
        "$type": "RemoveModifier",
        "Target": "Other",
        "Predicates": [
          {
            "$type": "ByAnimTagList",
            "TagList": [
              "Unagi_Lv3"
            ]
          },
          {
            "$type": "ByModifierStackCount",
            "Target": "Other",
            "StackCount": 1,
            "CompareType": "GreaterEqual",
            "ModifierName": "Unagi_DebuffAttachFrost_Modifier",
            "CountModifierType": "SameNameAbility"
          },
          {
            "$type": "ByAvatarTalentIndex",
            "Target": "Self",
            "TalentIndex": 1
          }
        ],
        "ModifierName": "Unagi_DebuffAttachFrost_Modifier",
        "ModifierTargetType": "SameNameAbility"
      }
    ],
    "OnHitOtherPre": [
      {
        "$type": "ModifyAttackDataAction",
        "Target": "Self",
        "MpExecMode": "MpTotallyLocal",
        "Predicates": [
          {
            "$type": "ByAnimEventIDs",
            "Target": "Self",
            "AnimEventIDs": [
              "Unagi_Attack_UniqueSkill_AttackProperty_01"
            ]
          }
        ],
        "PropertyKey": "Actor_AddedAttackDelta",
        "PropertyValue": "%AS_AddedDamageValue"
      },
      {
        "$type": "SetAbilitySpecialByExpression",
        "Target": "Self",
        "DoRefresh": true,
        "ParamName": "AS_AddedElementAccumulationRatio_FireFrost",
        "ValueType": "Float",
        "Expression": "min(specials(AS_MaxAddedElementAccumulationRatio_FireFrost),property(Crit_Battle)*specials(AS_ElementAccumulationbyCriRatio_Unique))"
      },
      {
        "$type": "BranchOperator",
        "Conditions": [
          {
            "$type": "ByIsMultiplayerMode"
          }
        ],
        "FailureActions": [
          {
            "$type": "ApplyModifier",
            "Target": "TeamAvatars",
            "Predicates": [
              {
                "$type": "ByAnimTagList",
                "TagList": [
                  "Unagi_Lv3"
                ]
              },
              {
                "$type": "ByHasModifier",
                "Target": "Other",
                "ModifierNameList": [
                  "Unagi_DebuffAttachFrost_Modifier"
                ]
              },
              {
                "$type": "ByAvatarTalentIndex",
                "Target": "Self",
                "TalentIndex": 1
              }
            ],
            "ModifierName": "UnagiAddTeamElementAccumulationModifier"
          }
        ],
        "SuccessActions": [
          {
            "$type": "ApplyModifier",
            "Target": "TeamAvatars",
            "Predicates": [
              {
                "$type": "ByAnimTagList",
                "TagList": [
                  "Unagi_Lv3"
                ]
              },
              {
                "$type": "ByModifierStackCount",
                "Target": "Other",
                "StackCount": 1,
                "CompareType": "GreaterEqual",
                "ModifierName": "Unagi_DebuffAttachFrost_Modifier",
                "CountModifierType": "SameNameAbility"
              },
              {
                "$type": "ByAvatarTalentIndex",
                "Target": "Self",
                "TalentIndex": 1
              }
            ],
            "ModifierName": "UnagiAddTeamElementAccumulationModifier"
          }
        ]
      }
    ],
    "OnBuffAddToOther": [
      {
        "$type": "SetAbilitySpecialByExpression",
        "Target": "Caster",
        "DoRefresh": true,
        "ParamName": "AS_AddedDamageValue",
        "ValueType": "Float",
        "Expression": "property(Atk_Battle)*specials(AS_DmgbyAtkRatio_Unique)",
        "Predicates": [
          {
            "$type": "ByHandlingBuffID",
            "BuffIDList": [
              1006
            ]
          }
        ]
      },
      {
        "$type": "DamageByAttackPropertyAction",
        "Target": "Other",
        "Predicates": [
          {
            "$type": "ByHandlingBuffID",
            "BuffIDList": [
              1006
            ]
          },
          {
            "$type": "ByOr",
            "Target": "Other",
            "Predicates": [
              {
                "Tags": [
                  "FireFrost_Unagi"
                ],
                "$type": "ByIsInZoneTags",
                "Target": "Other"
              },
              {
                "Tags": [
                  "FireFrost_Unagi1"
                ],
                "$type": "ByIsInZoneTags",
                "Target": "Other"
              },
              {
                "Tags": [
                  "FireFrost_Unagi2"
                ],
                "$type": "ByIsInZoneTags",
                "Target": "Other"
              },
              {
                "Tags": [
                  "FireFrost_Unagi3"
                ],
                "$type": "ByIsInZoneTags",
                "Target": "Other"
              }
            ]
          }
        ],
        "AnimEventID": "Unagi_Attack_UniqueSkill_AttackProperty_01"
      },
      {
        "$type": "FireEffect",
        "Target": "Other",
        "Predicates": [
          {
            "$type": "ByHandlingBuffID",
            "BuffIDList": [
              1006
            ]
          },
          {
            "$type": "ByOr",
            "Target": "Other",
            "Predicates": [
              {
                "Tags": [
                  "FireFrost_Unagi"
                ],
                "$type": "ByIsInZoneTags",
                "Target": "Other"
              },
              {
                "Tags": [
                  "FireFrost_Unagi1"
                ],
                "$type": "ByIsInZoneTags",
                "Target": "Other"
              },
              {
                "Tags": [
                  "FireFrost_Unagi2"
                ],
                "$type": "ByIsInZoneTags",
                "Target": "Other"
              },
              {
                "Tags": [
                  "FireFrost_Unagi3"
                ],
                "$type": "ByIsInZoneTags",
                "Target": "Other"
              }
            ]
          }
        ],
        "EffectPattern": "Eff_Unagi_Attack_Frostburst_01_Trail"
      },
      {
        "$type": "ApplyModifier",
        "Target": "Other",
        "Predicates": [
          {
            "$type": "ByHandlingBuffID",
            "BuffIDList": [
              1006
            ]
          },
          {
            "$type": "ByOr",
            "Target": "Other",
            "Predicates": [
              {
                "Tags": [
                  "FireFrost_Unagi"
                ],
                "$type": "ByIsInZoneTags",
                "Target": "Other"
              },
              {
                "Tags": [
                  "FireFrost_Unagi1"
                ],
                "$type": "ByIsInZoneTags",
                "Target": "Other"
              },
              {
                "Tags": [
                  "FireFrost_Unagi2"
                ],
                "$type": "ByIsInZoneTags",
                "Target": "Other"
              },
              {
                "Tags": [
                  "FireFrost_Unagi3"
                ],
                "$type": "ByIsInZoneTags",
                "Target": "Other"
              }
            ]
          }
        ],
        "ModifierName": "Unagi_DebuffAttachFrost_Modifier"
      }
    ]
  }
}
format
json
displayName
Unagi_UniqueSkill