1
0
ZenlessData/Data/JsonBytes/NewAbility/AvatarAbility/VivianAbility/Vivian_AirAttackBuff.json
2025-04-22 20:22:46 -03:00

398 lines
9.5 KiB
JSON

{
"AbilityMixins": [
{
"$type": "WatchEntityMixin",
"EntityTypes": [
"Avatar"
],
"OnEntityAwaked": [
{
"$type": "ApplyModifier",
"ModifierName": "Vivian_AirAttackBuffManager",
"Target": "TeamAvatars"
},
{
"$type": "ApplyAbilityAction",
"AbilityName": "Graph_Vivian_BuffAttack_Trigger",
"IsAutoTrigger": false,
"Target": "TeamAvatars"
}
],
"Relationships": [
"Allied"
]
}
],
"AbilityName": "Vivian_AirAttackBuff",
"AbilitySpecials": {
"AS_ActualBuffCount": {
"Value": 0,
"ValueType": "Integer"
},
"AS_AddBuffCount": {
"Value": 0,
"ValueType": "Integer"
}
},
"AbilityStacking": "Unique",
"DefaultModifier": {
"OnDying": [
{
"$type": "RemoveModifier",
"ModifierName": "Vivian_BuffCounter",
"StackCount": 99,
"Target": "TeamAvatars"
},
{
"$type": "ModifyProperty",
"Amount": 0,
"CustomPropertyType": "AttackBuffCount",
"PropertyModifyFunction": "Replace",
"PropertyType": "Custom"
}
],
"OnKilled": [
{
"$type": "RemoveModifier",
"ModifierName": "Vivian_BuffCounter",
"StackCount": 99,
"Target": "TeamAvatars"
},
{
"$type": "ModifyProperty",
"Amount": 0,
"CustomPropertyType": "AttackBuffCount",
"PropertyModifyFunction": "Replace",
"PropertyType": "Custom"
}
]
},
"Modifiers": {
"Vivian_AirAttackBuffManager": {
"Duration": -1,
"IsUnique": true,
"ModifierStacking": "Replace",
"OnAdded": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByAvatarIsOnStage",
"IsOnStage": true
}
],
"FailureActions": [
{
"$type": "RemoveModifier",
"ModifierName": "Vivian_BuffEffect"
}
],
"SuccessActions": [
{
"$type": "ApplyModifier",
"ModifierName": "Vivian_BuffEffect"
}
]
}
],
"OnBuffAddToOther": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByHasModifier",
"ModifierNameList": [
"Vivian_CoolDown"
]
}
]
},
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByHasModifier",
"ModifierNameList": [
"Vivian_SelfMark"
]
}
]
},
{
"$type": "ByHandlingBuffGroup",
"BuffGroupList": [
"Electric",
"Overload",
"Erosion",
"Chaos",
"Burn",
"Ignite",
"Frozen",
"Frostbite",
"Strike"
]
},
{
"$type": "ByMathSkillSuccess",
"Target": "Caster"
},
{
"$type": "ByHasModifier",
"ModifierNameList": [
"Vivian_BuffCounter"
]
}
],
"SuccessActions": [
{
"$type": "ApplyModifier",
"ModifierName": "Vivian_CoolDown"
},
{
"$type": "ApplyModifier",
"ModifierName": "Vivian_Trigger_ExtraAttack"
}
]
}
],
"OnHitOther": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByHasModifier",
"ModifierNameList": [
"Vivian_Mark"
]
},
{
"$type": "ByAnimTagList",
"TagList": [
"ExSp"
]
},
{
"$type": "ByOr",
"Predicates": [
{
"$type": "ByHeavyAttack",
"IsHeavyAttack": true
},
{
"$type": "ByAnimTagList",
"TagList": [
"SimulateHeavyAttack"
],
"Target": "Self"
}
]
},
{
"$type": "ByHasModifier",
"ModifierNameList": [
"Vivian_BuffCounter"
]
}
],
"SuccessActions": [
{
"$type": "RemoveModifier",
"ModifierName": "Vivian_Mark"
},
{
"$type": "ApplyModifier",
"ModifierName": "Vivian_Trigger_ExtraAttack"
}
]
}
],
"OnRemoved": [
{
"$type": "RemoveModifier",
"ModifierName": "Vivian_BuffEffect"
},
{
"$type": "RemoveModifier",
"ModifierName": "Vivian_Mark"
},
{
"$type": "RemoveModifier",
"ModifierName": "Vivian_CoolDown"
}
],
"OnSkillStart": [
{
"$type": "ApplyModifier",
"ModifierName": "Vivian_Mark",
"Predicates": [
{
"$type": "ByFromSkillType",
"SkillType": "ExSp"
}
]
}
],
"OnSwitchInFinish": [
{
"$type": "ApplyModifier",
"ModifierName": "Vivian_BuffEffect"
}
],
"OnSwitchOutBegin": [
{
"$type": "RemoveModifier",
"ModifierName": "Vivian_BuffEffect"
}
]
},
"Vivian_BuffCounter": {
"Buff": {
"BuffID": 3000221,
"IsOverrideDuration": false
},
"Duration": -1,
"MaxStackingNumber": 5,
"ModifierStacking": "Multiple"
},
"Vivian_BuffEffect": {
"ModifierStacking": "Replace",
"OnAdded": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByOr",
"Predicates": [
{
"$type": "ByModifierStackCount",
"CompareType": "LessEqual",
"ModifierName": "Vivian_BuffCounter",
"StackCount": 0
},
{
"$type": "ByModifierStackCount",
"CompareType": "Greater",
"ModifierName": "Vivian_BuffCounter",
"StackCount": 5
}
]
}
],
"SuccessActions": [
{
"$type": "RemoveModifier",
"ModifierName": "Vivian_BuffEffect",
"Target": "TeamAvatars"
}
]
}
],
"OnRemoved": [
]
},
"Vivian_CoolDown": {
"Duration": 0.5
},
"Vivian_Mark": {
"Duration": 5
},
"Vivian_SelfMark": {
},
"Vivian_Trigger_ExtraAttack": {
"Duration": 0.1,
"ModifierStacking": "Replace",
"OnAdded": [
{
"$type": "TriggerAbilityAction",
"AbilityName": "Graph_Vivian_BuffAttack_Trigger"
},
{
"$type": "RemoveModifier",
"ModifierName": "Vivian_BuffCounter",
"StackCount": 1,
"Target": "TeamAvatars"
},
{
"$type": "ModifyProperty",
"Amount": -1,
"CustomPropertyType": "AttackBuffCount",
"PropertyModifyFunction": "Add",
"PropertyType": "Custom",
"Target": "Caster"
},
{
"$type": "ApplyModifier",
"ModifierName": "Vivian_BuffEffect",
"Target": "TeamAvatars"
}
]
}
},
"OnAbilityTrigger": [
{
"$type": "ApplyModifier",
"ModifierName": "Vivian_BuffCounter",
"StackCount": "%AS_AddBuffCount",
"Target": "TeamAvatars"
},
{
"$type": "SetAbilitySpecialsByBuffCount",
"BuffID": 3000221,
"ModifyFunction": "Replace",
"ParamName": "AS_ActualBuffCount",
"Percentage": 1
},
{
"$type": "ModifyProperty",
"Amount": "%AS_ActualBuffCount",
"CustomPropertyType": "AttackBuffCount",
"PropertyModifyFunction": "Replace",
"PropertyType": "Custom"
}
],
"OnAdded": [
{
"$type": "ApplyModifier",
"ModifierName": "Vivian_SelfMark"
},
{
"$type": "ApplyModifier",
"ModifierName": "Vivian_AirAttackBuffManager",
"Target": "TeamAvatars"
},
{
"$type": "ApplyAbilityAction",
"AbilityName": "Graph_Vivian_BuffAttack_Trigger",
"IsAutoTrigger": false,
"Target": "TeamAvatars"
},
{
"$type": "ApplyModifier",
"ModifierName": "Vivian_BuffCounter",
"Predicates": [
{
"$type": "ByAvatarTalentIndex",
"TalentIndex": 4
}
],
"StackCount": 5,
"Target": "TeamAvatars"
},
{
"$type": "ModifyProperty",
"Amount": 5,
"CustomPropertyType": "AttackBuffCount",
"Predicates": [
{
"$type": "ByAvatarTalentIndex",
"TalentIndex": 4
}
],
"PropertyModifyFunction": "Replace",
"PropertyType": "Custom"
}
]
}