ZenlessData/Data/AbyssS2_ZoneBuild_Relic_01_EnemyDamage.json

223 lines
6.0 KiB
JSON
Raw Permalink Normal View History

{
"AbilityName": "AbyssS2_ZoneBuild_Relic_01_EnemyDamage",
"AbilitySpecials": {
"AS_AddedDamageDuringThisZoneRatio": {
"Value": 0.1,
"ValueType": "Float"
},
"AS_AddedDamageDuringThisZoneRatio_WithUpgrade": {
"Value": 0.2,
"ValueType": "Float"
},
"AS_RealAddedDamageDuringThisZone": {
"Value": 0,
"ValueType": "Float"
},
"AS_TotalDamageDuringThisZone": {
"Value": 0,
"ValueType": "Float"
}
},
"AbilityStacking": "Unique",
"DefaultModifier": {
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "ApplyModifier",
"ModifierName": "ZoneBuild_Relic_02_Upgrade_03_Effect_Modifier",
"Target": "Self"
}
],
"OnBeingHit": [
{
"$type": "ApplyModifier",
"ModifierName": "ZoneBuild_Relic_02_Upgrade_03_Effect_Modifier",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"ZoneBuild_ZoneActive"
],
"Target": "Other"
},
{
"$type": "ByHasModifier",
"ModifierCaster": "Self",
"ModifierNameList": [
"ZoneBuild_Relic_02_Upgrade_03_Effect_Modifier"
],
"OperatorType": "Not",
"Target": "Self"
}
],
"Target": "Self"
},
{
"$type": "ModifyAttackDataAction",
"Predicates": [
{
"$type": "ByAnimEventIDs",
"AnimEventIDs": [
"#AbyssS2_ZoneBuild_Relic_01_EnemyDamage"
]
}
],
"PropertyKey": "Actor_AddedDamageReplace",
"PropertyValue": "%AS_RealAddedDamageDuringThisZone",
"Target": "Self"
}
]
},
"Modifiers": {
"ZoneBuild_Relic_02_Upgrade_03_Effect_Modifier": {
"Duration": -1,
"IsUnique": true,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "AttachEffect",
"AttachEffectPosRot": {
"CoordsOption": "ReferTarget",
"Offset": {
"AngleOffset": {
"x": 0,
"y": 0,
"z": 0
},
"IsUseRotationXZ": false,
"IsUseRotationY": true,
"PositionOffset": {
"x": 0,
"y": 0,
"z": 0
}
},
"TargetOption": {
"$type": "ConfigPosRotReferTarget",
"AttachPoint": "LockBone",
"IsUseAttachPointPos": true,
"IsUseAttachPointRotation": false,
"OffsetReferTarget": "Self"
}
},
"EffectPattern": "Eff_Zone_Curse_Loop_01",
"Tag": "Zone_Curse",
"Target": "Self"
}
]
},
"ZoneBuild_Relic_02_Upgrade_03_ExtraDamage_Modifier": {
"Duration": 0.1,
"IgnoreTimeScale": false,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "DamageByAttackPropertyAction",
"AnimEventID": "#AbyssS2_ZoneBuild_Relic_01_EnemyDamage",
"AttachPoint": "MiddlePoint",
"Attacker": "LocalAvatar",
"Target": "Self"
},
{
"$type": "AttackCameraShakeAction",
"ShakeConfigKey": "AbyssS2_ZoneBuild_Relic_01_EnemyDamage_CamShake_E_01",
"Target": "Self"
}
],
"OnRemoved": [
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": 0,
"ParamName": "AS_TotalDamageDuringThisZone",
"ParamType": "Float",
"Target": "Self"
},
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": 0,
"ParamName": "AS_RealAddedDamageDuringThisZone",
"ParamType": "Float",
"Target": "Self"
}
]
}
},
"OnAbilityTrigger": [
{
"$type": "SetAbilitySpecialByExpression",
"Expression": "specials(AS_TotalDamageDuringThisZone)*specials(AS_AddedDamageDuringThisZoneRatio)",
"ParamName": "AS_RealAddedDamageDuringThisZone",
"Predicates": [
{
"$type": "ByHasAbility",
"AbilityNameList": [
"AbyssS2_ZoneBuild_Relic_02_Upgrade_02"
],
"OperatorType": "Not",
"Target": "LocalAvatar"
}
],
"Target": "Self",
"ValueType": "Float"
},
{
"$type": "SetAbilitySpecialByExpression",
"Expression": "specials(AS_TotalDamageDuringThisZone)*specials(AS_AddedDamageDuringThisZoneRatio_WithUpgrade)",
"ParamName": "AS_RealAddedDamageDuringThisZone",
"Predicates": [
{
"$type": "ByHasAbility",
"AbilityNameList": [
"AbyssS2_ZoneBuild_Relic_02_Upgrade_02"
],
"Target": "LocalAvatar"
}
],
"Target": "Self",
"ValueType": "Float"
},
{
"$type": "ApplyModifier",
"ModifierName": "ZoneBuild_Relic_02_Upgrade_03_ExtraDamage_Modifier",
"Target": "Self"
},
{
"$type": "FireEffect",
"EffectPattern": "Eff_Zone_Curse_End_01",
"FireEffectPosRot": {
"CoordsOption": "ReferTarget",
"Offset": {
"AngleOffset": {
"x": 0,
"y": 0,
"z": 0
},
"IsUseRotationXZ": true,
"IsUseRotationY": true,
"PositionOffset": {
"x": 0,
"y": 0,
"z": 0
}
},
"TargetOption": {
"$type": "ConfigPosRotReferTarget",
"AttachPoint": "LockBone",
"IsUseAttachPointPos": true,
"IsUseAttachPointRotation": false,
"OffsetReferTarget": "Self"
}
},
"Tag": "Zone_Curse_End",
"Target": "Self"
},
{
"$type": "RemoveModifier",
"ModifierName": "ZoneBuild_Relic_02_Upgrade_03_Effect_Modifier",
"ModifierTargetType": "SameNameAbility",
"Target": "Self"
}
]
}