Ghost

Game resources

HACMecha Destroy Effect

game_resourceIntrinsic/flexbuffers-json/HACMecha_Destroy_Effect

Properties

3
Source evidence
Path
Intrinsic/flexbuffers-json/HACMecha_Destroy_Effect.json
data
{
  "Modifiers": {
    "DestroyEffectModifier": {
      "Duration": -1,
      "OnBeingHit": [
        {
          "$type": "FireEffect",
          "Target": "Self",
          "Predicates": [
            {
              "$type": "ByAbilitySpecial",
              "Target": "Self",
              "ParamName": "Destruction_BeHit_EffectPattern",
              "ParamType": "String",
              "CompareType": "NotNullOrEmpty"
            }
          ],
          "EffectScale": {
            "OverrideScaleX": "%Destruction_Effect_Scale",
            "OverrideScaleY": "%Destruction_Effect_Scale",
            "OverrideScaleZ": "%Destruction_Effect_Scale"
          },
          "EffectPattern": "%Destruction_BeHit_EffectPattern",
          "EntityDeathHideEffect": false
        },
        {
          "$type": "FireAudio",
          "Predicates": [
            {
              "$type": "ByAbilitySpecial",
              "Target": "Self",
              "ParamName": "Destruction_BeHit_AudioPattern",
              "ParamType": "String",
              "CompareType": "NotNullOrEmpty"
            }
          ],
          "AudioPattern": "%Destruction_BeHit_AudioPattern"
        },
        {
          "$type": "SendEventToViewObjectAction",
          "EventName": "OnExplosionHit",
          "Predicates": [
            {
              "$type": "ByAnimTagList",
              "TagList": [
                "HACMecha_Explosion"
              ]
            }
          ]
        }
      ],
      "OnHitOtherPre": [
        {
          "$type": "LogStringAction",
          "LogStr": "TESTTTTTTTTTTTTTTTTTTTTTTTTT"
        },
        {
          "$type": "SetAbilitySpecialByExpression",
          "Target": "Other",
          "DoRefresh": true,
          "ParamName": "Destruction_Explode_DamageValue",
          "ValueType": "Float",
          "Expression": "property(MaxHP)*specials(Destruction_Explode_AvatarPercentage))",
          "Predicates": [
            {
              "$type": "ByEntityType",
              "Target": "Other",
              "EntityType": "Avatar"
            }
          ]
        },
        {
          "$type": "SetAbilitySpecialByExpression",
          "Target": "Other",
          "DoRefresh": true,
          "ParamName": "Destruction_Explode_DamageValue",
          "ValueType": "Float",
          "Expression": "property(MaxHP)*specials(Destruction_Explode_BossPercentage))",
          "Predicates": [
            {
              "$type": "ByEntityType",
              "Target": "Other",
              "EntityType": "Monster"
            }
          ]
        },
        {
          "$type": "ReplaceDamageAction",
          "TargetDamage": "%Destruction_Explode_DamageValue"
        }
      ],
      "ModifierMixins": [
        {
          "$type": "LockLifePropertyMixin",
          "RatioLockList": [
            {
              "LockType": "Total",
              "LockValue": 1
            }
          ],
          "PerformBeHitEffect": false
        }
      ],
      "ModifierStacking": "Unique",
      "OnCustomEventReceived": [
        {
          "$type": "FireEffect",
          "Target": "Self",
          "Predicates": [
            {
              "$type": "ByCustomEvent",
              "EventKey": "DestroyDevice"
            },
            {
              "$type": "ByAbilitySpecial",
              "Target": "Self",
              "ParamName": "Destruction_Destroy_EffectPattern",
              "ParamType": "String",
              "CompareType": "NotNullOrEmpty"
            }
          ],
          "EffectScale": {
            "OverrideScaleX": "%Destruction_Effect_Scale",
            "OverrideScaleY": "%Destruction_Effect_Scale",
            "OverrideScaleZ": "%Destruction_Effect_Scale"
          },
          "EffectPattern": "%Destruction_Destroy_EffectPattern",
          "AttachPointName": "Root",
          "FireEffectPosRot": {
            "Offset": {
              "AngleOffset": {
                "x": 0,
                "y": 0,
                "z": 0
              },
              "IsUseRotationY": true,
              "PositionOffset": {
                "x": 0,
                "y": 0,
                "z": 0
              },
              "IsUseRotationXZ": true
            },
            "CoordsOption": "ReferTarget",
            "TargetOption": {
              "$type": "ConfigPosRotReferTarget",
              "AttachPoint": "Root",
              "OffsetReferTarget": "Self",
              "IsUseAttachPointPos": true,
              "IsUseAttachPointRotation": true
            },
            "NeedRaycastGround": false
          },
          "EntityDeathHideEffect": false
        },
        {
          "$type": "FireAudio",
          "Predicates": [
            {
              "$type": "ByCustomEvent",
              "EventKey": "DestroyDevice"
            },
            {
              "$type": "ByAbilitySpecial",
              "Target": "Self",
              "ParamName": "Destruction_Destroy_AudioPattern",
              "ParamType": "String",
              "CompareType": "NotNullOrEmpty"
            }
          ],
          "AudioPattern": "%Destruction_Destroy_AudioPattern"
        },
        {
          "$type": "HandleAnimEvent",
          "Predicates": [
            {
              "$type": "ByCustomEvent",
              "EventKey": "ExplodeDamage"
            }
          ],
          "AnimEventID": "#HACMecha_Destruction_Explode"
        },
        {
          "$type": "LogStringAction",
          "LogStr": "HandleAnimEvent trigger",
          "Predicates": [
            {
              "$type": "ByCustomEvent",
              "EventKey": "ExplodeDamage"
            }
          ]
        },
        {
          "$type": "SendEventToViewObjectAction",
          "EventName": "OnDestructionDestroy",
          "Predicates": [
            {
              "$type": "ByCustomEvent",
              "EventKey": "DestroyDevice"
            }
          ]
        },
        {
          "Tag": "HACMecha_Destroy_Dead",
          "$type": "PushHitColliderEnable",
          "Target": "Self",
          "Predicates": [
            {
              "$type": "ByCustomEvent",
              "EventKey": "DestroyDevice"
            }
          ],
          "HitColliderEnable": false
        },
        {
          "$type": "DeadHandlerAction",
          "Predicates": [
            {
              "$type": "ByCustomEvent",
              "EventKey": "DestroyDevice"
            }
          ]
        }
      ]
    }
  },
  "AbilityName": "HACMecha_Destroy_Effect",
  "AbilitySpecials": {
    "Destruction_Effect_Scale": {
      "Value": 1
    },
    "Destruction_BeHit_AudioPattern": {
      "Value": "",
      "ValueType": "String"
    },
    "Destruction_BeHit_EffectPattern": {
      "Value": "",
      "ValueType": "String"
    },
    "Destruction_Explode_DamageValue": {
      "Value": 50
    },
    "Destruction_Destroy_AudioPattern": {
      "Value": "",
      "ValueType": "String"
    },
    "Destruction_Destroy_EffectPattern": {
      "Value": "",
      "ValueType": "String"
    },
    "Destruction_Explode_BossPercentage": {
      "Value": 1
    },
    "Destruction_Explode_ElitePercentage": {
      "Value": 1
    },
    "Destruction_Explode_AvatarPercentage": {
      "Value": 0.05
    },
    "Destruction_Explode_NormalPercentage": {
      "Value": 1.2
    }
  },
  "AbilityStacking": "Unique",
  "DefaultModifier": {
    "OnAdded": [
      {
        "$type": "ApplyModifier",
        "Target": "Self",
        "ModifierName": "DestroyEffectModifier"
      }
    ]
  }
}
format
json
displayName
HACMecha_Destroy_Effect