Ghost

Game resources

DubiousHero Part

game_resourceIntrinsic/flexbuffers-json/DubiousHero_Part

Properties

3
Source evidence
Path
Intrinsic/flexbuffers-json/DubiousHero_Part.json
data
{
  "Modifiers": {
    "PartDestroyedModifier": {
      "OnAdded": [
        {
          "Tag": "Monster_DubiousHero_Break",
          "$type": "PushRenderVisibleAction",
          "Paths": [
            "Monster_DubiousHero_Break"
          ],
          "Visible": false
        },
        {
          "$type": "HandleAnimatorZoneTagsAction",
          "IsAdd": false,
          "Target": "Self",
          "AnimatorStateTags": [
            "HasPart"
          ]
        },
        {
          "$type": "SetAnimCtrlerParamAction",
          "Target": "Self",
          "BoolVal": true,
          "ParamName": "Trigger_PartDestroy",
          "ParamType": 1,
          "MpExecMode": "MpTotallyLocal"
        },
        {
          "$type": "SetAnimCtrlerParamAction",
          "Target": "Self",
          "BoolVal": true,
          "ParamName": "Trigger_Hit",
          "ParamType": 1,
          "MpExecMode": "MpTotallyLocal"
        },
        {
          "$type": "DamageByAttackPropertyAction",
          "Target": "Self",
          "MpExecMode": "AuthorityOnly",
          "AnimEventID": "Monster_DubiousHero_PartDestroyed_Attackproperty_01",
          "AttachPoint": "Bip001 L Hand"
        }
      ],
      "Duration": 1,
      "IgnoreTimeScale": true,
      "ModifierStacking": "Replace"
    }
  },
  "AbilityName": "DubiousHero_Part",
  "AbilityMixins": [
    {
      "$type": "MultiPartMixin",
      "MaxHP": "%MaxPartHP",
      "PartHP": "%MaxPartHP",
      "PartName": "DubiousHero_Part",
      "OnPartDestroy": [
        {
          "$type": "ApplyModifier",
          "Target": "Self",
          "ModifierName": "PartDestroyedModifier"
        }
      ],
      "BindHitColliderList": [
        "HitCollider_LArm"
      ],
      "PartDamageTakeRatio": 0,
      "OwnerDamagetakeRatio": 0,
      "IsUseHitFlowOnDestroyed": true
    },
    {
      "$type": "ActionsOnPropertyChangeMixin",
      "PropertyActions": [
        {
          "PropertyType": "Custom",
          "IsUsePercentage": false,
          "ValueRangeActions": [
            {
              "Val": 2,
              "LowToValueActions": [
                {
                  "$type": "ApplyModifier",
                  "Target": "Self",
                  "ModifierName": "PartDestroyedModifier"
                }
              ]
            }
          ],
          "CustomPropertyType": "PartDestroyPoint"
        }
      ]
    }
  ],
  "AbilitySpecials": {
    "MaxPartHP": {
      "Value": 50
    },
    "HpReduceAmount": {
      "Value": 0
    },
    "AS_MaxPartHP_Ratio": {
      "Value": 0.4
    },
    "AS_PartDestroy_HPPercentage": {
      "Value": 0
    }
  },
  "AbilityStacking": "Unique",
  "DefaultModifier": {
    "OnAdded": [
      {
        "$type": "SetAbilitySpecialByExpression",
        "Target": "Self",
        "DoRefresh": true,
        "ParamName": "MaxPartHP",
        "ValueType": "Float",
        "Expression": "property(MaxHP)*specials(AS_MaxPartHP_Ratio)",
        "MpExecMode": "MpTotallyLocal"
      },
      {
        "$type": "HandleAnimatorZoneTagsAction",
        "IsAdd": true,
        "Target": "Self",
        "AnimatorStateTags": [
          "HasPart"
        ]
      },
      {
        "$type": "SetAbilitySpecialByExpression",
        "DoRefresh": true,
        "ParamName": "HpReduceAmount",
        "ValueType": "Float",
        "Expression": "specials(AS_PartDestroy_HPPercentage)*property(MaxHP)",
        "MpExecMode": "MpTotallyLocal"
      }
    ],
    "OnBeingHit": [
      {
        "$type": "ReplaceDamageAction",
        "Predicates": [
          {
            "$type": "ByAnimEventIDs",
            "Target": "Self",
            "AnimEventIDs": [
              "Monster_DubiousHero_PartDestroyed_Attackproperty_01"
            ]
          }
        ],
        "TargetDamage": "%HpReduceAmount"
      }
    ]
  }
}
format
json
displayName
DubiousHero_Part