81 lines
2.1 KiB
JSON
81 lines
2.1 KiB
JSON
{
|
|
"AbilityName": "AbyssS2_ZoneBuild_Relic_02_Upgrade_03_WithEnemy",
|
|
"AbilitySpecials": {
|
|
"AS_AddedDamageDuringThisZoneRatio": {
|
|
"Value": 0.1,
|
|
"ValueType": "Float"
|
|
},
|
|
"AS_RealAddedDamageDuringThisZone": {
|
|
"Value": 0,
|
|
"ValueType": "Float"
|
|
},
|
|
"AS_TotalDamageDuringThisZone": {
|
|
"Value": 0,
|
|
"ValueType": "Float"
|
|
}
|
|
},
|
|
"AbilityStacking": "Unique",
|
|
"DefaultModifier": {
|
|
"ModifierStacking": "Unique",
|
|
"OnBeingHitResolved": [
|
|
{
|
|
"$type": "SetAbilitySpecialByAttackData",
|
|
"AttackDataType": "Damage",
|
|
"DoRefresh": true,
|
|
"ModifyFunction": "Add",
|
|
"ParamName": "AS_TotalDamageDuringThisZone",
|
|
"Target": "Self"
|
|
}
|
|
]
|
|
},
|
|
"Modifiers": {
|
|
"ZoneBuild_Relic_02_Upgrade_03_ExtraDamage_Modifier": {
|
|
"Duration": 0.1,
|
|
"IgnoreTimeScale": false,
|
|
"ModifierStacking": "Unique",
|
|
"OnAdded": [
|
|
{
|
|
"$type": "DamageByAttackPropertyAction",
|
|
"AttackProperty": {
|
|
"AddedDamageValue": "%AS_RealAddedDamageDuringThisZone",
|
|
"DamageElement": "None"
|
|
},
|
|
"Attacker": "LocalAvatar",
|
|
"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",
|
|
"Target": "Self",
|
|
"ValueType": "Float"
|
|
},
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"ModifierName": "ZoneBuild_Relic_02_Upgrade_03_ExtraDamage_Modifier",
|
|
"Target": "Self"
|
|
}
|
|
]
|
|
} |