370 lines
11 KiB
JSON
370 lines
11 KiB
JSON
{
|
|
"AbilityName": "Destruction_GadgetDefault_EventControlled",
|
|
"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_HitCount_Required": {
|
|
"Value": 1
|
|
}
|
|
},
|
|
"AbilityStacking": "Unique",
|
|
"DefaultModifier": {
|
|
"OnAdded": [
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"ModifierName": "Box_BuffModifier",
|
|
"Target": "Self"
|
|
},
|
|
{
|
|
"$type": "PushHitColliderEnable",
|
|
"HitColliderEnable": false,
|
|
"Tag": "EventControlled_Lock",
|
|
"Target": "Self"
|
|
},
|
|
{
|
|
"$type": "SetGlobalValue",
|
|
"Key": "_Destruction_HitCount",
|
|
"Target": "Self",
|
|
"Value": 0
|
|
}
|
|
],
|
|
"OnBeingHit": [
|
|
{
|
|
"$type": "BranchOperator",
|
|
"Conditions": [
|
|
{
|
|
"$type": "ByHasModifier",
|
|
"ModifierName": "Box_BuffModifier",
|
|
"Target": "Self"
|
|
}
|
|
],
|
|
"FailureActions": [
|
|
{
|
|
"$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": "AddGlobalValue",
|
|
"Key": "_Destruction_HitCount",
|
|
"Target": "Self",
|
|
"Value": 1
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"Predicates": [
|
|
{
|
|
"$type": "ByAnimEventIDs",
|
|
"AnimEventIDs": [
|
|
"#Activity_HiveLord_Cocoon_RadialWave_Attackproperty_01"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"OnBeingHitResolved": [
|
|
{
|
|
"$type": "BranchOperator",
|
|
"Conditions": [
|
|
{
|
|
"$type": "ByTargetGlobalValue",
|
|
"CompareType": "GreaterEqual",
|
|
"Key": "_Destruction_HitCount",
|
|
"Target": "Self",
|
|
"Value": "%Destruction_HitCount_Required"
|
|
}
|
|
],
|
|
"SuccessActions": [
|
|
{
|
|
"$type": "SendEventToViewObjectAction",
|
|
"EventName": "OnDestructionDestroy"
|
|
},
|
|
{
|
|
"$type": "PushHitColliderEnable",
|
|
"HitColliderEnable": false,
|
|
"Tag": "Destruction_Dead",
|
|
"Target": "Self"
|
|
},
|
|
{
|
|
"$type": "DeadHandlerAction"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"OnCustomEventReceived": [
|
|
{
|
|
"$type": "RemoveModifier",
|
|
"ModifierName": "Box_BuffModifier",
|
|
"Predicates": [
|
|
{
|
|
"$type": "ByCustomEvent",
|
|
"EventKey": "EnableDestruction"
|
|
}
|
|
],
|
|
"Target": "Self"
|
|
},
|
|
{
|
|
"$type": "PopHitColliderEnable",
|
|
"Predicates": [
|
|
{
|
|
"$type": "ByCustomEvent",
|
|
"EventKey": "EnableDestruction"
|
|
}
|
|
],
|
|
"Tag": "EventControlled_Lock",
|
|
"Target": "Self"
|
|
}
|
|
],
|
|
"OnKilled": [
|
|
{
|
|
"$type": "BranchOperator",
|
|
"Conditions": [
|
|
{
|
|
"$type": "ByTargetGlobalValue",
|
|
"CompareType": "GreaterEqual",
|
|
"Key": "_Destruction_HitCount",
|
|
"Target": "Self",
|
|
"Value": "%Destruction_HitCount_Required"
|
|
}
|
|
],
|
|
"SuccessActions": [
|
|
{
|
|
"$type": "SendEventToViewObjectAction",
|
|
"EventName": "OnDestructionDestroy"
|
|
},
|
|
{
|
|
"$type": "PushHitColliderEnable",
|
|
"HitColliderEnable": false,
|
|
"Tag": "Destruction_Dead",
|
|
"Target": "Self"
|
|
},
|
|
{
|
|
"$type": "DeadHandlerAction"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"OnKilledPre": [
|
|
{
|
|
"$type": "BranchOperator",
|
|
"Conditions": [
|
|
{
|
|
"$type": "ByHasModifier",
|
|
"ModifierName": "Box_BuffModifier",
|
|
"Target": "Self"
|
|
}
|
|
],
|
|
"FailureActions": [
|
|
{
|
|
"$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": "AddGlobalValue",
|
|
"Key": "_Destruction_HitCount",
|
|
"Target": "Self",
|
|
"Value": 1
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"Predicates": [
|
|
{
|
|
"$type": "ByAnimEventIDs",
|
|
"AnimEventIDs": [
|
|
"#Activity_HiveLord_Cocoon_RadialWave_Attackproperty_01"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Modifiers": {
|
|
"Box_BuffModifier": {
|
|
"Duration": -1,
|
|
"ModifierMixins": [
|
|
{
|
|
"$type": "LockLifePropertyMixin",
|
|
"PerformBeHitEffect": false,
|
|
"RatioLockList": [
|
|
{
|
|
"LockType": "Total",
|
|
"LockValue": 1
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |