ZenlessData/Data/AbyssS2_ZoneBuild_Relic_02.json
2025-01-02 19:10:34 -03:00

833 lines
24 KiB
JSON

{
"AbilityMixins": [
{
"$type": "AttachZoneTagWithModifierMixin",
"ConfigList": [
{
"ModifierNameList": [
"ZoneBuild_Relic_02_ZoneHit_WaitingCleaner_Modifier"
],
"ZoneTag": "Hit"
}
]
},
{
"$type": "WatchEntityMixin",
"EntityTypes": [
"Avatar"
],
"OnEntityAwaked": [
{
"$type": "ApplyAbilityAction",
"AbilityName": "AbyssS2_ZoneBuild_Relic_01_ZoneActive",
"IsAutoTrigger": false,
"Predicates": [
{
"$type": "ByHasAbility",
"AbilityNameList": [
"AbyssS2_ZoneBuild_Relic_01_ZoneActive"
],
"OperatorType": "Not",
"Target": "Self"
}
],
"Target": "TeamAvatars"
}
],
"Relationships": [
"Allied"
]
}
],
"AbilityName": "AbyssS2_ZoneBuild_Relic_02",
"AbilitySpecials": {
"AS_AtkRatio": {
"Value": 0.5,
"ValueType": "Float"
},
"AS_ZoneBuild_Relic_02_Starter_Target_01": {
"Value": 8,
"ValueType": "Integer"
},
"AS_ZoneBuild_Relic_02_Starter_Target_02": {
"Value": 16,
"ValueType": "Integer"
},
"AS_ZoneBuild_Relic_02_Starter_Target_03": {
"Value": 24,
"ValueType": "Integer"
},
"AS_ZoneBuild_Relic_02_Starter_Target_Max": {
"Value": 32,
"ValueType": "Integer"
},
"AS_ZoneTime_Lv01": {
"Value": 2,
"ValueType": "Float"
},
"AS_ZoneTime_Lv02": {
"Value": 4,
"ValueType": "Float"
},
"AS_ZoneTime_Lv03": {
"Value": 8,
"ValueType": "Float"
},
"AS_ZoneTime_LvMax": {
"Value": 16,
"ValueType": "Float"
}
},
"AbilityStacking": "Unique",
"DefaultModifier": {
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"ZoneBuild_Relic_02"
],
"IsAdd": true,
"Target": "Self"
},
{
"$type": "ApplyAbilityAction",
"AbilityName": "AbyssS2_ZoneBuild_Relic_01_ZoneActive",
"IsAutoTrigger": false,
"Predicates": [
{
"$type": "ByHasAbility",
"AbilityNameList": [
"AbyssS2_ZoneBuild_Relic_01_ZoneActive"
],
"OperatorType": "Not",
"Target": "Self"
}
],
"Target": "Self"
},
{
"$type": "SetTargetAbilitySpecialAction",
"DoRefresh": true,
"Params": [
{
"AbilityName": "AbyssS2_ZoneBuild_Relic_01_ZoneActive",
"AbilitySpecials": [
{
"ModifyFunction": "Replace",
"Param": "%AS_AtkRatio",
"ParamName": "AS_ExtraAtkRatio",
"ParamType": "Float"
}
]
}
],
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"ZoneBuild_Relic_02"
],
"Target": "Self"
}
],
"Target": "TeamAvatars"
}
],
"OnBattleEnter": [
{
"$type": "ApplyModifier",
"ModifierName": "ZoneBuild_Relic_02_ZoneIdentify_Modifier",
"Target": "Self"
}
],
"OnBattleExit": [
{
"$type": "RemoveModifier",
"ModifierName": "ZoneBuild_Relic_02_ZoneIdentify_Modifier",
"Target": "Self"
}
],
"OnRemoved": [
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"ZoneBuild_Relic_02"
],
"IsAdd": false,
"Target": "Self"
},
{
"$type": "RemoveAbilityAction",
"AbilityName": "AbyssS2_ZoneBuild_Relic_01_ZoneActive",
"Predicates": [
{
"$type": "ByHasAbility",
"AbilityNameList": [
"AbyssS2_ZoneBuild_Relic_01"
],
"OperatorType": "Not",
"Target": "Self"
}
],
"Target": "Self"
}
]
},
"Modifiers": {
"ZoneBuild_Relic_02_BuffCount_Modifier": {
"Buff": {
"BuffID": 4000002,
"IsOverrideDuration": true
},
"Duration": -1
},
"ZoneBuild_Relic_02_ZoneHit_Modifier": {
"Duration": -1,
"ModifierStacking": "Replace",
"OnAdded": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByBuffCount",
"BuffID": 4000002,
"CompareType": "GreaterEqual",
"StackCount": "%AS_ZoneBuild_Relic_02_Starter_Target_03"
},
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"Hit"
],
"Target": "Self"
}
]
},
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"ZoneBuild_ZoneActive"
],
"Target": "Self"
}
]
}
],
"FailureActions": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByBuffCount",
"BuffID": 4000002,
"CompareType": "GreaterEqual",
"StackCount": "%AS_ZoneBuild_Relic_02_Starter_Target_02"
},
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"Hit"
],
"Target": "Self"
}
]
},
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"ZoneBuild_ZoneActive"
],
"Target": "Self"
}
]
}
],
"FailureActions": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByBuffCount",
"BuffID": 4000002,
"CompareType": "GreaterEqual",
"StackCount": "%AS_ZoneBuild_Relic_02_Starter_Target_01"
},
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"Hit"
],
"Target": "Self"
}
]
},
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"ZoneBuild_ZoneActive"
],
"Target": "Self"
}
]
}
],
"FailureActions": [
{
"$type": "ApplyModifier",
"ModifierName": "ZoneBuild_Relic_02_ZoneHit_Waiting_Modifier",
"Predicates": [
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"ZoneBuild_ZoneActive"
],
"Target": "Self"
}
]
}
],
"Target": "Self"
}
],
"SuccessActions": [
{
"$type": "SetTargetAbilitySpecialAction",
"Params": [
{
"AbilityName": "AbyssS2_ZoneBuild_Relic_01_ZoneActive",
"AbilitySpecials": [
{
"ModifyFunction": "Replace",
"Param": "%AS_ZoneTime_Lv01",
"ParamName": "AS_ZoneTime",
"ParamType": "Integer"
}
]
}
],
"Target": "TeamAvatars"
},
{
"$type": "TriggerAbilityAction",
"AbilityName": "AbyssS2_ZoneBuild_Relic_02",
"Target": "Self"
}
],
"Target": "Self"
}
],
"SuccessActions": [
{
"$type": "SetTargetAbilitySpecialAction",
"Params": [
{
"AbilityName": "AbyssS2_ZoneBuild_Relic_01_ZoneActive",
"AbilitySpecials": [
{
"ModifyFunction": "Replace",
"Param": "%AS_ZoneTime_Lv02",
"ParamName": "AS_ZoneTime",
"ParamType": "Integer"
}
]
}
],
"Target": "TeamAvatars"
},
{
"$type": "TriggerAbilityAction",
"AbilityName": "AbyssS2_ZoneBuild_Relic_02",
"Target": "Self"
}
],
"Target": "Self"
}
],
"SuccessActions": [
{
"$type": "SetTargetAbilitySpecialAction",
"Params": [
{
"AbilityName": "AbyssS2_ZoneBuild_Relic_01_ZoneActive",
"AbilitySpecials": [
{
"ModifyFunction": "Replace",
"Param": "%AS_ZoneTime_Lv03",
"ParamName": "AS_ZoneTime",
"ParamType": "Integer"
}
]
}
],
"Target": "TeamAvatars"
},
{
"$type": "TriggerAbilityAction",
"AbilityName": "AbyssS2_ZoneBuild_Relic_02",
"Target": "Self"
}
],
"Target": "Self"
}
]
},
"ZoneBuild_Relic_02_ZoneHit_WaitingCleaner_Modifier": {
"Duration": -1,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"ZoneBuild_Relic_02_Suspend"
],
"IsAdd": true,
"Target": "Self"
}
],
"OnRemoved": [
{
"$type": "RemoveModifier",
"ModifierName": "ZoneBuild_Relic_02_ZoneHit_Waiting_Modifier",
"ModifierTargetType": "CurTargetAbility",
"Target": "Self"
},
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"ZoneBuild_Relic_02_Suspend"
],
"IsAdd": false,
"Predicates": [
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"ZoneBuild_ZoneActive"
],
"Target": "Self"
}
]
}
],
"Target": "Self"
}
]
},
"ZoneBuild_Relic_02_ZoneHit_Waiting_Modifier": {
"Duration": -1,
"ModifierStacking": "Unique",
"OnRemoved": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByBuffCount",
"BuffID": 4000002,
"CompareType": "GreaterEqual",
"StackCount": "%AS_ZoneBuild_Relic_02_Starter_Target_03"
},
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"ZoneBuild_ZoneActive"
],
"Target": "Self"
}
]
}
],
"FailureActions": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByBuffCount",
"BuffID": 4000002,
"CompareType": "GreaterEqual",
"StackCount": "%AS_ZoneBuild_Relic_02_Starter_Target_02"
}
],
"FailureActions": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByBuffCount",
"BuffID": 4000002,
"CompareType": "GreaterEqual",
"StackCount": "%AS_ZoneBuild_Relic_02_Starter_Target_01"
},
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"ZoneBuild_ZoneActive"
],
"Target": "Self"
}
]
}
],
"FailureActions": [
],
"SuccessActions": [
{
"$type": "SetTargetAbilitySpecialAction",
"Params": [
{
"AbilityName": "AbyssS2_ZoneBuild_Relic_01_ZoneActive",
"AbilitySpecials": [
{
"ModifyFunction": "Replace",
"Param": "%AS_ZoneTime_Lv01",
"ParamName": "AS_ZoneTime",
"ParamType": "Integer"
}
]
}
],
"Target": "TeamAvatars"
},
{
"$type": "TriggerAbilityAction",
"AbilityName": "AbyssS2_ZoneBuild_Relic_02",
"Target": "Self"
}
],
"Target": "Self"
}
],
"SuccessActions": [
{
"$type": "SetTargetAbilitySpecialAction",
"Params": [
{
"AbilityName": "AbyssS2_ZoneBuild_Relic_01_ZoneActive",
"AbilitySpecials": [
{
"ModifyFunction": "Replace",
"Param": "%AS_ZoneTime_Lv02",
"ParamName": "AS_ZoneTime",
"ParamType": "Integer"
}
]
}
],
"Target": "TeamAvatars"
},
{
"$type": "TriggerAbilityAction",
"AbilityName": "AbyssS2_ZoneBuild_Relic_02",
"Target": "Self"
}
],
"Target": "Self"
}
],
"SuccessActions": [
{
"$type": "SetTargetAbilitySpecialAction",
"Params": [
{
"AbilityName": "AbyssS2_ZoneBuild_Relic_01_ZoneActive",
"AbilitySpecials": [
{
"ModifyFunction": "Replace",
"Param": "%AS_ZoneTime_Lv03",
"ParamName": "AS_ZoneTime",
"ParamType": "Integer"
}
]
}
],
"Target": "TeamAvatars"
},
{
"$type": "TriggerAbilityAction",
"AbilityName": "AbyssS2_ZoneBuild_Relic_02",
"Target": "Self"
}
],
"Target": "Self"
}
]
},
"ZoneBuild_Relic_02_ZoneIdentify_Modifier": {
"Duration": -1,
"ModifierStacking": "Unique",
"OnBeAttackLanded": [
{
"$type": "ApplyModifier",
"ModifierName": "ZoneBuild_Relic_02_ZoneHit_Modifier",
"Predicates": [
{
"$type": "ByBuffCount",
"BuffID": 4000002,
"CompareType": "GreaterEqual",
"StackCount": "%AS_ZoneBuild_Relic_02_Starter_Target_01",
"Target": "Self"
},
{
"$type": "ByTotalDamage",
"CompareType": "Greater",
"Damage": 0,
"SkipDamage": true,
"Target": "Self"
},
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"ZoneBuild_ZoneActive"
],
"Target": "Self"
}
]
}
],
"Target": "Self"
},
{
"$type": "RemoveBuffModifier",
"BuffID": 4000002,
"Predicates": [
{
"$type": "ByBuffCount",
"BuffID": 4000002,
"CompareType": "Less",
"StackCount": "%AS_ZoneBuild_Relic_02_Starter_Target_01",
"Target": "Self"
},
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"ZoneBuild_ZoneActive"
],
"Target": "Self"
}
]
},
{
"$type": "ByTotalDamage",
"CompareType": "Greater",
"Damage": 0,
"SkipDamage": true,
"Target": "Self"
},
{
"$type": "ByHasAbility",
"AbilityNameList": [
"AbyssS2_ZoneBuild_Relic_02_Upgrade_01"
],
"OperatorType": "Not",
"Target": "Self"
}
],
"StackCount": 99,
"Target": "TeamAvatars"
}
],
"OnPatternHitOther": [
{
"$type": "SetTargetAbilitySpecialAction",
"Params": [
{
"AbilityName": "AbyssS2_ZoneBuild_Relic_01_ZoneActive",
"AbilitySpecials": [
{
"ModifyFunction": "Replace",
"Param": "%AS_ZoneTime_LvMax",
"ParamName": "AS_ZoneTime",
"ParamType": "Integer"
}
]
}
],
"Predicates": [
{
"$type": "ByBuffCount",
"BuffID": 4000002,
"CompareType": "Equal",
"StackCount": "%AS_ZoneBuild_Relic_02_Starter_Target_Max",
"Target": "Self"
},
{
"$type": "ByIsLocalAvatar",
"IsLocalAvatar": true,
"Target": "Self"
},
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"ZoneBuild_ZoneActive"
],
"Target": "Self"
}
]
}
],
"Target": "TeamAvatars"
},
{
"$type": "TriggerAbilityAction",
"AbilityName": "AbyssS2_ZoneBuild_Relic_02",
"Instant": true,
"Predicates": [
{
"$type": "ByBuffCount",
"BuffID": 4000002,
"CompareType": "Equal",
"StackCount": "%AS_ZoneBuild_Relic_02_Starter_Target_Max",
"Target": "Self"
},
{
"$type": "ByIsLocalAvatar",
"IsLocalAvatar": true,
"Target": "Self"
},
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"ZoneBuild_ZoneActive"
],
"Target": "Self"
}
]
}
],
"Target": "Self"
}
],
"OnThinkInterval": [
{
"$type": "ApplyModifier",
"ModifierName": "ZoneBuild_Relic_02_BuffCount_Modifier",
"Predicates": [
{
"$type": "ByBuffCount",
"BuffID": 4000002,
"CompareType": "Less",
"StackCount": 32,
"Target": "Self"
},
{
"$type": "ByIsLocalAvatar",
"IsLocalAvatar": true,
"Target": "Self"
},
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"ZoneBuild_ZoneActive"
],
"Target": "Self"
}
]
},
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"ZoneBuild_Relic_02_Suspend"
],
"Target": "Self"
}
]
}
],
"Target": "TeamAvatars"
}
],
"ThinkInterval": 0.5
}
},
"OnAbilityTrigger": [
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"ZoneBuild_02_Trigger"
],
"IsAdd": true,
"Predicates": [
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"ZoneBuild_ZoneActive"
],
"Target": "Self"
}
]
}
],
"Target": "TeamAvatars"
},
{
"$type": "TriggerAbilityAction",
"AbilityName": "AbyssS2_ZoneBuild_Relic_01_ZoneActive",
"Instant": true,
"Predicates": [
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"ZoneBuild_ZoneActive"
],
"Target": "Self"
}
]
}
],
"Target": "TeamAvatars"
}
]
}