Ghost

Game resources

Destruction Default

game_resourceIntrinsic/flexbuffers-json/Destruction_Default

Properties

3
Source evidence
Path
Intrinsic/flexbuffers-json/Destruction_Default.json
data
{
  "Modifiers": {
    "Box_BuffModifier": {
      "Duration": -1,
      "ModifierMixins": [
        {
          "$type": "LockLifePropertyMixin",
          "RatioLockList": [
            {
              "LockType": "Total",
              "LockValue": 1
            }
          ],
          "PerformBeHitEffect": true
        }
      ]
    }
  },
  "AbilityName": "Destruction_Default",
  "AbilityMixins": [
    {
      "$type": "DestructionMixin",
      "Predicates": [
        {
          "$type": "ByOr",
          "Target": "Other",
          "Predicates": [
            {
              "$type": "ByIsLocalAvatar",
              "Target": "Other",
              "IsLocalAvatar": false
            },
            {
              "$type": "ByDistance",
              "Target": "Self",
              "Distance": "%Destruction_BeHit_MaxDistance_Pattern",
              "CompareType": "LessEqual",
              "CompareTarget": "Other"
            },
            {
              "$type": "ByAbilitySpecial",
              "Param": 0,
              "Target": "Self",
              "ParamName": "Destruction_BeHit_MaxDistance_Pattern",
              "ParamType": "Float",
              "CompareType": "LessEqual"
            },
            {
              "$type": "ByIsSolidProjectile",
              "Target": "Self"
            }
          ]
        },
        {
          "Key": "_Switching_Status",
          "$type": "ByTargetGlobalValue",
          "Value": 0,
          "Target": "Self",
          "CompareType": "Equal"
        }
      ],
      "BeHitFailedActions": [],
      "BeHitSuccessActions": [
        {
          "$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"
        }
      ],
      "SwitchStatusActions": [
        {
          "$type": "SetAnimCtrlerParamAction",
          "Target": "Self",
          "BoolVal": true,
          "ParamName": "Trigger_Switch_Status",
          "ParamType": 1
        },
        {
          "$type": "DropItemAction",
          "Target": "Self",
          "DropStr": "%Destruction_BeHit_RewardID_Pattern"
        },
        {
          "Key": "_Switching_Status",
          "$type": "SetGlobalValue",
          "Value": 1
        }
      ]
    }
  ],
  "OnAbilityStart": [
    {
      "Key": "_Switching_Status",
      "$type": "SetGlobalValue",
      "Value": 0
    }
  ],
  "AbilitySpecials": {
    "Destruction_BeHit_RewardID_Pattern": {
      "Value": "",
      "ValueType": "String"
    },
    "Destruction_RewardPackage_ID_Pattern": {
      "Value": 0
    },
    "Destruction_BeHit_MaxDistance_Pattern": {
      "Value": 10
    },
    "Destruction_Die_FireAudio_AudioPattern": {
      "Value": "",
      "ValueType": "String"
    },
    "Destruction_RewardPackage_Count_Pattern": {
      "Value": 0
    },
    "Destruction_BeHit_FireAudio_AudioPattern": {
      "Value": "",
      "ValueType": "String"
    },
    "Destruction_Die_FireEffect_EffectPattern_0": {
      "Value": "",
      "ValueType": "String"
    },
    "Destruction_Die_FireEffect_EffectPattern_1": {
      "Value": "",
      "ValueType": "String"
    },
    "Destruction_Die_FireEffect_EffectPattern_2": {
      "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"
      },
      {
        "Key": "_Switching_Status",
        "$type": "SetGlobalValue",
        "Value": 0
      }
    ],
    "OnKilled": [
      {
        "$type": "FireEffect",
        "Target": "Self",
        "Predicates": [
          {
            "$type": "ByAbilitySpecial",
            "Target": "Self",
            "ParamName": "Destruction_Die_FireEffect_EffectPattern_0",
            "ParamType": "String",
            "CompareType": "NotNullOrEmpty"
          }
        ],
        "EffectPattern": "%Destruction_Die_FireEffect_EffectPattern_0"
      },
      {
        "$type": "FireEffect",
        "Target": "Self",
        "Predicates": [
          {
            "$type": "ByAbilitySpecial",
            "Target": "Self",
            "ParamName": "Destruction_Die_FireEffect_EffectPattern_1",
            "ParamType": "String",
            "CompareType": "NotNullOrEmpty"
          }
        ],
        "EffectPattern": "%Destruction_Die_FireEffect_EffectPattern_1"
      },
      {
        "$type": "FireEffect",
        "Target": "Self",
        "Predicates": [
          {
            "$type": "ByAbilitySpecial",
            "Target": "Self",
            "ParamName": "Destruction_Die_FireEffect_EffectPattern_2",
            "ParamType": "String",
            "CompareType": "NotNullOrEmpty"
          }
        ],
        "EffectPattern": "%Destruction_Die_FireEffect_EffectPattern_2"
      },
      {
        "$type": "FireAudio",
        "Predicates": [
          {
            "$type": "ByAbilitySpecial",
            "Target": "Self",
            "ParamName": "Destruction_Die_FireAudio_AudioPattern",
            "ParamType": "String",
            "CompareType": "NotNullOrEmpty"
          }
        ],
        "AudioPattern": "%Destruction_Die_FireAudio_AudioPattern"
      },
      {
        "$type": "SetAnimCtrlerParamAction",
        "Target": "Self",
        "BoolVal": true,
        "ParamName": "Trigger_Die",
        "ParamType": 1
      },
      {
        "Key": "_Switching_Status",
        "$type": "SetGlobalValue",
        "Value": 1
      },
      {
        "$type": "DropItemAction",
        "Target": "Self",
        "DropStr": "%Destruction_BeHit_RewardID_Pattern"
      },
      {
        "$type": "AddRewardAction",
        "Target": "Self",
        "RewardID": "%Destruction_RewardPackage_ID_Pattern",
        "RewardCount": "%Destruction_RewardPackage_Count_Pattern",
        "IsShowDropModel": true
      }
    ],
    "OnBeingHitPre": [
      {
        "$type": "ForbiddenHitEvtAction",
        "Target": "Self",
        "Predicates": [
          {
            "$type": "ByIsLocalAvatar",
            "Target": "Other",
            "IsLocalAvatar": true
          },
          {
            "$type": "ByDistance",
            "Target": "Self",
            "Distance": "%Destruction_BeHit_MaxDistance_Pattern",
            "CompareType": "GreaterEqual",
            "CompareTarget": "LocalAvatar"
          }
        ]
      }
    ]
  }
}
format
json
displayName
Destruction_Default