Game resources
Destruction GadgetDefault EventControlled
Properties
Source evidence
- Path
Intrinsic/flexbuffers-json/Destruction_GadgetDefault_EventControlled.json
- data
{ "Modifiers": { "Box_BuffModifier": { "Duration": -1, "ModifierMixins": [ { "$type": "LockLifePropertyMixin", "RatioLockList": [ { "LockType": "Total", "LockValue": 1 } ], "PerformBeHitEffect": false } ] } }, "AbilityName": "Destruction_GadgetDefault_EventControlled", "AbilitySpecials": { "Destruction_HitCount_Required": { "Value": 1 }, "Destruction_BeHit_MaxDistance_Pattern": { "Value": 10 }, "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" } }, "AbilityStacking": "Unique", "DefaultModifier": { "OnAdded": [ { "$type": "ApplyModifier", "Target": "Self", "ModifierName": "Box_BuffModifier" }, { "Tag": "EventControlled_Lock", "$type": "PushHitColliderEnable", "Target": "Self", "HitColliderEnable": false }, { "Key": "_Destruction_HitCount", "$type": "SetGlobalValue", "Value": 0, "Target": "Self" } ], "OnKilled": [ { "$type": "BranchOperator", "Conditions": [ { "Key": "_Destruction_HitCount", "$type": "ByTargetGlobalValue", "Value": "%Destruction_HitCount_Required", "Target": "Self", "CompareType": "GreaterEqual" } ], "SuccessActions": [ { "$type": "SendEventToViewObjectAction", "EventName": "OnDestructionDestroy" }, { "Tag": "Destruction_Dead", "$type": "PushHitColliderEnable", "Target": "Self", "HitColliderEnable": false }, { "$type": "DeadHandlerAction" } ] } ], "OnBeingHit": [ { "$type": "BranchOperator", "Conditions": [ { "$type": "ByHasModifier", "Target": "Self", "ModifierName": "Box_BuffModifier" } ], "Predicates": [ { "$type": "ByAnimEventIDs", "AnimEventIDs": [ "#Activity_HiveLord_Cocoon_RadialWave_Attackproperty_01" ] } ], "FailureActions": [ { "$type": "BranchOperator", "Conditions": [ { "$type": "ByIsLocalAvatar", "Target": "Other", "IsLocalAvatar": true }, { "$type": "ByDistance", "Target": "Self", "Distance": "%Destruction_BeHit_MaxDistance_Pattern", "CompareType": "GreaterEqual", "CompareTarget": "LocalAvatar" }, { "$type": "ByNot", "Predicates": [ { "$type": "ByIsSolidProjectile", "Target": "Self" } ] } ], "FailureActions": [ { "$type": "FireEffect", "Target": "Self", "Predicates": [ { "$type": "ByAbilitySpecial", "Target": "Self", "ParamName": "Destruction_BeHit_FireEffect_EffectPattern_0", "ParamType": "String", "CompareType": "NotNullOrEmpty" } ], "EffectPattern": "%Destruction_BeHit_FireEffect_EffectPattern_0" }, { "$type": "FireEffect", "Target": "Self", "Predicates": [ { "$type": "ByAbilitySpecial", "Target": "Self", "ParamName": "Destruction_BeHit_FireEffect_EffectPattern_1", "ParamType": "String", "CompareType": "NotNullOrEmpty" } ], "EffectPattern": "%Destruction_BeHit_FireEffect_EffectPattern_1" }, { "$type": "FireEffect", "Target": "Self", "Predicates": [ { "$type": "ByAbilitySpecial", "Target": "Self", "ParamName": "Destruction_BeHit_FireEffect_EffectPattern_2", "ParamType": "String", "CompareType": "NotNullOrEmpty" } ], "EffectPattern": "%Destruction_BeHit_FireEffect_EffectPattern_2" }, { "$type": "FireAudio", "Predicates": [ { "$type": "ByAbilitySpecial", "Target": "Self", "ParamName": "Destruction_BeHit_FireAudio_AudioPattern", "ParamType": "String", "CompareType": "NotNullOrEmpty" } ], "AudioPattern": "%Destruction_BeHit_FireAudio_AudioPattern" }, { "Key": "_Destruction_HitCount", "$type": "AddGlobalValue", "Value": 1, "Target": "Self" } ] } ] } ], "OnKilledPre": [ { "$type": "BranchOperator", "Conditions": [ { "$type": "ByHasModifier", "Target": "Self", "ModifierName": "Box_BuffModifier" } ], "Predicates": [ { "$type": "ByAnimEventIDs", "AnimEventIDs": [ "#Activity_HiveLord_Cocoon_RadialWave_Attackproperty_01" ] } ], "FailureActions": [ { "$type": "BranchOperator", "Conditions": [ { "$type": "ByIsLocalAvatar", "Target": "Other", "IsLocalAvatar": true }, { "$type": "ByDistance", "Target": "Self", "Distance": "%Destruction_BeHit_MaxDistance_Pattern", "CompareType": "GreaterEqual", "CompareTarget": "LocalAvatar" }, { "$type": "ByNot", "Predicates": [ { "$type": "ByIsSolidProjectile", "Target": "Self" } ] } ], "FailureActions": [ { "$type": "FireEffect", "Target": "Self", "Predicates": [ { "$type": "ByAbilitySpecial", "Target": "Self", "ParamName": "Destruction_BeHit_FireEffect_EffectPattern_0", "ParamType": "String", "CompareType": "NotNullOrEmpty" } ], "EffectPattern": "%Destruction_BeHit_FireEffect_EffectPattern_0" }, { "$type": "FireEffect", "Target": "Self", "Predicates": [ { "$type": "ByAbilitySpecial", "Target": "Self", "ParamName": "Destruction_BeHit_FireEffect_EffectPattern_1", "ParamType": "String", "CompareType": "NotNullOrEmpty" } ], "EffectPattern": "%Destruction_BeHit_FireEffect_EffectPattern_1" }, { "$type": "FireEffect", "Target": "Self", "Predicates": [ { "$type": "ByAbilitySpecial", "Target": "Self", "ParamName": "Destruction_BeHit_FireEffect_EffectPattern_2", "ParamType": "String", "CompareType": "NotNullOrEmpty" } ], "EffectPattern": "%Destruction_BeHit_FireEffect_EffectPattern_2" }, { "$type": "FireAudio", "Predicates": [ { "$type": "ByAbilitySpecial", "Target": "Self", "ParamName": "Destruction_BeHit_FireAudio_AudioPattern", "ParamType": "String", "CompareType": "NotNullOrEmpty" } ], "AudioPattern": "%Destruction_BeHit_FireAudio_AudioPattern" }, { "Key": "_Destruction_HitCount", "$type": "AddGlobalValue", "Value": 1, "Target": "Self" } ] } ] } ], "OnBeingHitResolved": [ { "$type": "BranchOperator", "Conditions": [ { "Key": "_Destruction_HitCount", "$type": "ByTargetGlobalValue", "Value": "%Destruction_HitCount_Required", "Target": "Self", "CompareType": "GreaterEqual" } ], "SuccessActions": [ { "$type": "SendEventToViewObjectAction", "EventName": "OnDestructionDestroy" }, { "Tag": "Destruction_Dead", "$type": "PushHitColliderEnable", "Target": "Self", "HitColliderEnable": false }, { "$type": "DeadHandlerAction" } ] } ], "OnCustomEventReceived": [ { "$type": "RemoveModifier", "Target": "Self", "Predicates": [ { "$type": "ByCustomEvent", "EventKey": "EnableDestruction" } ], "ModifierName": "Box_BuffModifier" }, { "Tag": "EventControlled_Lock", "$type": "PopHitColliderEnable", "Target": "Self", "Predicates": [ { "$type": "ByCustomEvent", "EventKey": "EnableDestruction" } ] } ] } }- format
json
- displayName
Destruction_GadgetDefault_EventControlled