ZenlessData/Data/AbyssS2_BurningBloodBuild_Relic_02.json
2024-12-17 20:43:14 -03:00

373 lines
10 KiB
JSON

{
"AbilityMixins": [
{
"$type": "AttachZoneTagWithModifierMixin",
"ConfigList": [
{
"ModifierNameList": [
"LowHP_ScreenEffect_Modifier"
],
"ZoneTag": "LowHPOnStage"
}
]
}
],
"AbilityName": "AbyssS2_BurningBloodBuild_Relic_02",
"AbilitySpecials": {
"AS_AddedDamageRatio_10Per": {
"Value": 0.075
},
"AS_AddedDamageRatio_10Per_Extra": {
"Value": 0.05
},
"AS_AddedDamageRatio_10Per_Real": {
"Value": 0
},
"AS_AddedDamageRatio_Real": {
"Value": 0
},
"AS_DamageTakeRatio_10Per": {
"Value": -0.025
},
"AS_DamageTakeRatio_10Per_Extra": {
"Value": -0.025
},
"AS_DamageTakeRatio_10Per_Real": {
"Value": 0
},
"AS_DamageTakeRatio_Real": {
"Value": 0
},
"AS_HpPercentage_Notice": {
"Value": 0.5
}
},
"AbilityStacking": "Unique",
"DefaultModifier": {
"OnAbyssS2AreaStart": [
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"LowHPSelfFlag"
],
"IsAdd": true,
"Predicates": [
{
"$type": "ByIsLocalAvatar",
"IsLocalAvatar": true,
"Target": "Self"
},
{
"$type": "ByPlayerPropertyValue",
"CompareType": "Less",
"Denominator": "MaxHP",
"IsUsePercent": true,
"Numerator": "CurHP",
"Target": "Self",
"Val1": "%AS_HpPercentage_Notice",
"Val2": 0
}
],
"Target": "Self"
},
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"LowHPOnStage"
],
"IsAdd": true,
"Predicates": [
{
"$type": "ByIsLocalAvatar",
"IsLocalAvatar": true,
"Target": "Self"
},
{
"$type": "ByIsInZoneTags",
"Tags": [
"LowHPSelfFlag"
],
"Target": "Self"
}
],
"Target": "TeamAvatars"
}
],
"OnAdded": [
{
"$type": "ApplyModifier",
"ModifierName": "HpListener_Modifier",
"Target": "Self"
}
],
"OnBeingHit": [
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "specials(AS_DamageTakeRatio_10Per)+specials(AS_DamageTakeRatio_10Per_Extra)",
"ParamName": "AS_DamageTakeRatio_10Per_Real",
"Predicates": [
{
"$type": "ByHasAbility",
"AbilityNameList": [
"AbyssS2_BurningBloodBuild_Relic_02_Upgrade_02"
]
}
],
"ValueType": "Float"
},
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "specials(AS_DamageTakeRatio_10Per)",
"ParamName": "AS_DamageTakeRatio_10Per_Real",
"Predicates": [
{
"$type": "ByHasAbility",
"AbilityNameList": [
"AbyssS2_BurningBloodBuild_Relic_02_Upgrade_02"
],
"OperatorType": "Not"
}
],
"ValueType": "Float"
},
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "specials(AS_DamageTakeRatio_10Per_Real)*10*(1-property(CurHP)\/property(MaxHP))",
"ParamName": "AS_DamageTakeRatio_Real",
"ValueType": "Float"
},
{
"$type": "ModifyAttackDataAction",
"PropertyKey": "Actor_DamageTakeRatio",
"PropertyValue": "%AS_DamageTakeRatio_Real",
"Target": "Self"
}
],
"OnHitOther": [
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "specials(AS_AddedDamageRatio_10Per)+specials(AS_AddedDamageRatio_10Per_Extra)",
"ParamName": "AS_AddedDamageRatio_10Per_Real",
"Predicates": [
{
"$type": "ByHasAbility",
"AbilityNameList": [
"AbyssS2_BurningBloodBuild_Relic_02_Upgrade_02"
]
}
],
"ValueType": "Float"
},
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "specials(AS_AddedDamageRatio_10Per)",
"ParamName": "AS_AddedDamageRatio_10Per_Real",
"Predicates": [
{
"$type": "ByHasAbility",
"AbilityNameList": [
"AbyssS2_BurningBloodBuild_Relic_02_Upgrade_02"
],
"OperatorType": "Not"
}
],
"ValueType": "Float"
},
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "specials(AS_AddedDamageRatio_10Per_Real)*10*(1-property(CurHP)\/property(MaxHP))",
"ParamName": "AS_AddedDamageRatio_Real",
"ValueType": "Float"
},
{
"$type": "ModifyAttackDataAction",
"PropertyKey": "Actor_AddedDamageRatio",
"PropertyValue": "%AS_AddedDamageRatio_Real",
"Target": "Self"
}
],
"OnSwitchInBegin": [
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"LowHPOnStage"
],
"IsAdd": true,
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"LowHPSelfFlag"
],
"Target": "Self"
}
],
"Target": "TeamAvatars"
},
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"LowHPOnStage"
],
"IsAdd": false,
"Predicates": [
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"LowHPSelfFlag"
],
"Target": "Self"
}
],
"Target": "Self"
}
],
"Target": "TeamAvatars"
}
],
"OnSwitchOutFinish": [
]
},
"Modifiers": {
"HpListener_Modifier": {
"ModifierMixins": [
{
"$type": "ActionsOnPropertyChangeMixin",
"PropertyActions": [
{
"IsUsePercentage": true,
"PropertyType": "CurHP",
"ReferMaxPropertyType": "MaxHP",
"ValueRangeActions": [
{
"LowToValueActions": [
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"LowHPSelfFlag"
],
"IsAdd": false,
"Target": "Self"
},
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"LowHPOnStage"
],
"IsAdd": false,
"Predicates": [
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"LowHPSelfFlag"
],
"Target": "Self"
}
],
"Target": "Self"
},
{
"$type": "ByIsLocalAvatar",
"IsLocalAvatar": true,
"Target": "Self"
},
{
"$type": "ByAvatarIsOnStage",
"IsOnStage": true,
"Target": "Self"
}
],
"Target": "TeamAvatars"
}
],
"Val": "%AS_HpPercentage_Notice"
},
{
"HighToValueActions": [
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"LowHPSelfFlag"
],
"IsAdd": true,
"Target": "Self"
},
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"LowHPOnStage"
],
"IsAdd": true,
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"LowHPSelfFlag"
],
"Target": "Self"
},
{
"$type": "ByIsLocalAvatar",
"IsLocalAvatar": true,
"Target": "Self"
},
{
"$type": "ByAvatarIsOnStage",
"IsOnStage": true,
"Target": "Self"
}
],
"Target": "TeamAvatars"
}
],
"Val": "%AS_HpPercentage_Notice"
}
]
}
]
}
],
"ModifierStacking": "Unique"
},
"LowHP_ScreenEffect_Modifier": {
"Duration": -1,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "ProcessScreenEffectAction",
"EffectKey": "AbyssS2_Perk_Common_BurningBlood_06_Vignette",
"EffectType": "Vignette"
},
{
"$type": "ProcessScreenEffectAction",
"EffectKey": "AbyssS2_Perk_Common_BurningBlood_05_ScreenEffects",
"EffectType": "ScreenEffects"
}
],
"OnRemoved": [
{
"$type": "InterruptScreenEffectAction",
"EffectType": "Vignette",
"TargetKey": "AbyssS2_Perk_Common_BurningBlood_06_Vignette"
},
{
"$type": "InterruptScreenEffectAction",
"EffectType": "ScreenEffects",
"TargetKey": "AbyssS2_Perk_Common_BurningBlood_05_ScreenEffects"
}
]
}
}
}