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

176 lines
4.4 KiB
JSON

{
"AbilityMixins": [
{
"$type": "ActionsOnPropertyChangeMixin",
"PropertyActions": [
{
"IsSaveToSpecial": true,
"IsUsePercentage": false,
"NameSaveToSpecial": "AS_HpChangeValue",
"PropertyChangeActions": [
{
"$type": "ApplyModifier",
"ModifierName": "TriggerDamageModifier",
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "GreaterEqual",
"Param": 100,
"ParamName": "AS_HpChangeValue"
}
]
}
],
"PropertyType": "CurHP"
}
]
}
],
"AbilityName": "AbyssS2_BurningBloodBuild_Relic_01_Upgrade_02",
"AbilitySpecials": {
"AS_AddedDamageRatio": {
"Value": 0
},
"AS_CurHP": {
"Value": 0
},
"AS_HpChangeValue": {
"Value": 0
},
"AS_HpChangeValueSaved": {
"Value": 0
},
"AS_HptoAddedDamageRatio": {
"Value": 0.02
},
"AS_ShowAddedRatio": {
"Value": 0.025
}
},
"AbilityStacking": "Unique",
"DefaultModifier": {
"OnHitOther": [
{
"$type": "ModifyAttackDataAction",
"Predicates": [
{
"$type": "ByAnimEventIDs",
"AnimEventIDs": [
"#AbyssS2_BurningBloodBuild_Relic_Attackproperty_01"
]
}
],
"PropertyKey": "Actor_AddedDamageRatio",
"PropertyValue": "%AS_AddedDamageRatio",
"Target": "Self"
},
{
"$type": "TriggerSoundAction",
"Predicates": [
{
"$type": "ByAnimEventIDs",
"AnimEventIDs": [
"#AbyssS2_BurningBloodBuild_Relic_Attackproperty_01"
]
}
],
"Target": "Target",
"soundActionKey": "Play_SFX_Char_AbyssS2_BurningBloodBuild_Relic_01_Upgrade_02"
}
]
},
"Modifiers": {
"TriggerDamageModifier": {
"Duration": 10,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": "AS_HpChangeValue",
"ParamName": "AS_HpChangeValueSaved",
"ParamType": "Float",
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "GreaterEqual",
"Param": 100,
"ParamName": "AS_HpChangeValue"
}
]
},
{
"$type": "TriggerAbilityAction",
"AbilityName": "AbyssS2_BurningBloodBuild_Relic_01_Upgrade_02",
"Target": "Self"
}
]
}
},
"OnAbilityStart": [
{
"$type": "SetAbilitySpecialByExpression",
"Expression": "specials(AS_HpChangeValueSaved)\/specials(AS_HptoAddedDamageRatio)",
"ParamName": "AS_AddedDamageRatio",
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "GreaterEqual",
"Param": 100,
"ParamName": "AS_HpChangeValueSaved"
}
],
"Target": "Self",
"ValueType": "Float"
},
{
"$type": "HandleAnimEvent",
"AnimEventID": "#AbyssS2_BurningBloodBuild_Relic_Attackproperty_01",
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "GreaterEqual",
"Param": 100,
"ParamName": "AS_HpChangeValueSaved"
}
]
},
{
"$type": "AttachEffect",
"AttachEffectPosRot": {
"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": "MiddlePoint",
"IsUseAttachPointPos": true,
"IsUseAttachPointRotation": true,
"OffsetReferTarget": "Self"
}
},
"EffectPattern": "Eff_AbyssS2_Perk_Common_BurningBlood_03_01_Explode",
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "GreaterEqual",
"Param": 100,
"ParamName": "AS_HpChangeValueSaved"
}
],
"Target": "Self"
}
]
}