1
0
ZenlessData/Data/_unsorted/Destruction_GadgetDefault.json

170 lines
4.5 KiB
JSON

{
"AbilityName": "Destruction_GadgetDefault",
"AbilitySpecials": {
"Destruction_BeHit_FireAudio_AudioPattern": {
"Value": "",
"ValueType": "String"
},
"Destruction_BeHit_FireEffect_EffectPattern_0": {
"Value": "",
"ValueType": "String"
},
"Destruction_BeHit_FireEffect_EffectPattern_1": {
"Value": "",
"ValueType": "String"
},
"Destruction_BeHit_FireEffect_EffectPattern_2": {
"Value": "",
"ValueType": "String"
},
"Destruction_BeHit_MaxDistance_Pattern": {
"Value": 10
},
"Destruction_GadgetDefault_State": {
"Value": "0",
"ValueType": "Integer"
}
},
"AbilityStacking": "Unique",
"DefaultModifier": {
"OnAdded": [
{
"$type": "ApplyModifier",
"ModifierName": "Box_BuffModifier",
"Target": "Self"
}
],
"OnBeingHit": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByIsLocalAvatar",
"IsLocalAvatar": true,
"Target": "Other"
},
{
"$type": "ByDistance",
"CompareTarget": "LocalAvatar",
"CompareType": "GreaterEqual",
"Distance": "%Destruction_BeHit_MaxDistance_Pattern",
"Target": "Self"
},
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsSolidProjectile",
"Target": "Self"
}
]
}
],
"FailureActions": [
{
"$type": "FireEffect",
"EffectPattern": "%Destruction_BeHit_FireEffect_EffectPattern_0",
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "NotNullOrEmpty",
"ParamName": "Destruction_BeHit_FireEffect_EffectPattern_0",
"ParamType": "String",
"Target": "Self"
}
],
"Target": "Self"
},
{
"$type": "FireEffect",
"EffectPattern": "%Destruction_BeHit_FireEffect_EffectPattern_1",
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "NotNullOrEmpty",
"ParamName": "Destruction_BeHit_FireEffect_EffectPattern_1",
"ParamType": "String",
"Target": "Self"
}
],
"Target": "Self"
},
{
"$type": "FireEffect",
"EffectPattern": "%Destruction_BeHit_FireEffect_EffectPattern_2",
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "NotNullOrEmpty",
"ParamName": "Destruction_BeHit_FireEffect_EffectPattern_2",
"ParamType": "String",
"Target": "Self"
}
],
"Target": "Self"
},
{
"$type": "FireAudio",
"AudioPattern": "%Destruction_BeHit_FireAudio_AudioPattern",
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "NotNullOrEmpty",
"ParamName": "Destruction_BeHit_FireAudio_AudioPattern",
"ParamType": "String",
"Target": "Self"
}
]
},
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": 1,
"ParamName": "Destruction_GadgetDefault_State"
}
]
}
],
"OnBeingHitResolved": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByAbilitySpecial",
"CompareType": "Equal",
"Param": 1,
"ParamName": "Destruction_GadgetDefault_State",
"ParamType": "Integer",
"Target": "Self"
}
],
"SuccessActions": [
{
"$type": "SendEventToViewObjectAction",
"EventName": "OnDestructionDestroy"
},
{
"$type": "DeadHandlerAction"
}
]
}
]
},
"Modifiers": {
"Box_BuffModifier": {
"Duration": -1,
"ModifierMixins": [
{
"$type": "LockLifePropertyMixin",
"PerformBeHitEffect": true,
"RatioLockList": [
{
"LockType": "Total",
"LockValue": 1
}
]
}
]
}
}
}