Ghost

Game resources

MaterialHandler Part FLLeg

game_resourceIntrinsic/flexbuffers-json/MaterialHandler_Part_FLLeg

Properties

3
Source evidence
Path
Intrinsic/flexbuffers-json/MaterialHandler_Part_FLLeg.json
data
{
  "OnAdded": [
    {
      "$type": "SetAbilitySpecialByExpression",
      "DoRefresh": true,
      "ParamName": "MaxPartHP",
      "ValueType": "Float",
      "Expression": "property(MaxHP)*specials(AS_MaxPartHP_Ratio)"
    },
    {
      "$type": "SetAbilitySpecialByExpression",
      "DoRefresh": true,
      "ParamName": "InitPartHP",
      "ValueType": "Float",
      "Expression": "property(MaxHP)*specials(AS_InitPartHP_Ratio)"
    },
    {
      "$type": "SetAbilitySpecialByExpression",
      "DoRefresh": true,
      "ParamName": "RecoverPartHP",
      "ValueType": "Float",
      "Expression": "property(MaxHP)*specials(AS_RecoverPartHP_Ratio)"
    }
  ],
  "Modifiers": {
    "MaterialHandler_Part_FLLeg_DestroyedEffect": {
      "OnAdded": [
        {
          "$type": "FireEffect",
          "Target": "Self",
          "EffectPattern": "Eff_Monster_BoringMachine_LegBreak_Dust_01",
          "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": "Skn_FL_Leg_04",
              "OffsetReferTarget": "Self",
              "IsUseAttachPointPos": true,
              "IsUseAttachPointRotation": true
            }
          }
        },
        {
          "Tag": "Monster_MaterialHandler_MA_FLLeg_Break_MainMaps_01",
          "key": "Monster_MaterialHandler_MA_FLLeg_Break_MainMaps_01",
          "$type": "ModifyMaterialPropertyAction",
          "Target": "Self",
          "Predicates": [
            {
              "$type": "ByNot",
              "Predicates": [
                {
                  "$type": "ByOr",
                  "Predicates": [
                    {
                      "Tags": [
                        "Red"
                      ],
                      "$type": "ByIsInZoneTags",
                      "Target": "Self"
                    },
                    {
                      "Tags": [
                        "Purple"
                      ],
                      "$type": "ByIsInZoneTags",
                      "Target": "Self"
                    }
                  ]
                }
              ]
            }
          ],
          "RendererList": [
            {
              "RenderPath": "Base_02_04",
              "ApplyAllMaterials": true
            }
          ],
          "ApplyAllRenderers": false
        },
        {
          "Tag": "Monster_MaterialHandlerRed_MA_FLLeg_Break_MainMaps_01",
          "key": "Monster_MaterialHandlerRed_MA_FLLeg_Break_MainMaps_01",
          "$type": "ModifyMaterialPropertyAction",
          "Target": "Self",
          "Predicates": [
            {
              "Tags": [
                "Red"
              ],
              "$type": "ByIsInZoneTags",
              "Target": "Self"
            }
          ],
          "RendererList": [
            {
              "RenderPath": "Base_02_04",
              "ApplyAllMaterials": true
            }
          ],
          "ApplyAllRenderers": false
        },
        {
          "Tag": "Monster_MaterialHandlerPurple_MA_Leg_Break_01_MainMaps_03",
          "key": "Monster_MaterialHandlerPurple_MA_Leg_Break_01_MainMaps_03",
          "$type": "ModifyMaterialPropertyAction",
          "Target": "Self",
          "Predicates": [
            {
              "Tags": [
                "Purple"
              ],
              "$type": "ByIsInZoneTags",
              "Target": "Self"
            }
          ],
          "RendererList": [
            {
              "RenderPath": "Base_02_04",
              "ApplyAllMaterials": true
            }
          ],
          "ApplyAllRenderers": false
        },
        {
          "$type": "AttachEffect",
          "Target": "Self",
          "EffectPattern": "Eff_Monster_BoringMachine_LegBreak_Lightning_01",
          "AttachEffectPosRot": {
            "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": "Skn_FL_Leg_04",
              "OffsetReferTarget": "Self",
              "IsUseAttachPointPos": true,
              "IsUseAttachPointRotation": true
            }
          }
        },
        {
          "$type": "AttachEffect",
          "Target": "Self",
          "EffectPattern": "Eff_Monster_BoringMachine_LegBreak_Lightning_02",
          "AttachEffectPosRot": {
            "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": "Skn_FL_Leg_03",
              "OffsetReferTarget": "Self",
              "IsUseAttachPointPos": true,
              "IsUseAttachPointRotation": true
            }
          }
        }
      ],
      "Duration": -1,
      "ModifierStacking": "Unique"
    }
  },
  "AbilityName": "MaterialHandler_Part_FLLeg",
  "AbilityMixins": [
    {
      "$type": "MultiPartMixin",
      "PartHP": "%InitPartHP",
      "PartName": "MaterialHandler_FLLeg",
      "MaxPartHP": "%MaxPartHP",
      "OnPartHit": [
        {
          "$type": "SetAnimCtrlerParamAction",
          "IntVal": 1,
          "Target": "Self",
          "ParamName": "Int_HitPartIndex",
          "ParamType": 3
        },
        {
          "$type": "SetAnimCtrlerParamAction",
          "Target": "Self",
          "BoolVal": true,
          "ParamName": "Trigger_PartHit",
          "ParamType": 1
        }
      ],
      "OnPartDestroy": [
        {
          "$type": "SetAnimCtrlerParamAction",
          "IntVal": 1,
          "Target": "Self",
          "ParamName": "Int_HitPartIndex",
          "ParamType": 3
        },
        {
          "$type": "SetAnimCtrlerParamAction",
          "Target": "Self",
          "BoolVal": true,
          "ParamName": "Trigger_OnPartDestroyed",
          "ParamType": 1
        },
        {
          "$type": "SetAnimCtrlerParamAction",
          "Target": "Self",
          "BoolVal": true,
          "ParamName": "Bool_PartDestroyed_FLLeg",
          "ParamType": 2
        },
        {
          "$type": "ApplyModifier",
          "Target": "Self",
          "ModifierName": "MaterialHandler_Part_FLLeg_DestroyedEffect"
        },
        {
          "$type": "DamageByAttackPropertyAction",
          "Target": "Self",
          "AnimEventID": "Monster_MaterialHandler_PartDestroyed_Leg_Attackproperty_01",
          "AttachPoint": "Skn_FL_Leg_04"
        },
        {
          "$type": "SetAbilitySpecialByExpression",
          "DoRefresh": true,
          "ParamName": "StunRecoverAmount",
          "ValueType": "Float",
          "Expression": "specials(AS_PartDestroy_StunPercentage)*property(MaxStun)"
        },
        {
          "$type": "RecoverStunAction",
          "Amount": "%StunRecoverAmount",
          "Target": "Self",
          "Percentage": 0
        },
        {
          "$type": "ModifyPartParamAction",
          "Amount": "%RecoverPartHP",
          "Target": "Self",
          "PartName": "MaterialHandler_FRLeg",
          "ParamType": "PartHP",
          "Predicates": [
            {
              "$type": "ByNot",
              "Predicates": [
                {
                  "$type": "ByPartDestroy",
                  "Target": "Self",
                  "PartName": "MaterialHandler_FRLeg"
                }
              ]
            }
          ],
          "ModifyFunction": "Add"
        },
        {
          "$type": "ModifyPartParamAction",
          "Amount": "%RecoverPartHP",
          "Target": "Self",
          "PartName": "MaterialHandler_BLLeg",
          "ParamType": "PartHP",
          "Predicates": [
            {
              "$type": "ByNot",
              "Predicates": [
                {
                  "$type": "ByPartDestroy",
                  "Target": "Self",
                  "PartName": "MaterialHandler_BLLeg"
                }
              ]
            }
          ],
          "ModifyFunction": "Add"
        },
        {
          "$type": "ModifyPartParamAction",
          "Amount": "%RecoverPartHP",
          "Target": "Self",
          "PartName": "MaterialHandler_BRLeg",
          "ParamType": "PartHP",
          "Predicates": [
            {
              "$type": "ByNot",
              "Predicates": [
                {
                  "$type": "ByPartDestroy",
                  "Target": "Self",
                  "PartName": "MaterialHandler_BRLeg"
                }
              ]
            }
          ],
          "ModifyFunction": "Add"
        }
      ],
      "BindHitColliderList": [
        "HitCollider_FLLeg"
      ],
      "PartDamageTakeRatio": 0,
      "CanHitAfterDestroyed": true,
      "OwnerDamagetakeRatio": 0,
      "IsUseHitFlowOnDestroyed": true
    }
  ],
  "AbilitySpecials": {
    "MaxPartHP": {
      "Value": 1
    },
    "InitPartHP": {
      "Value": 1
    },
    "RecoverPartHP": {
      "Value": 1
    },
    "HpReduceAmount": {
      "Value": 1
    },
    "StunRecoverAmount": {
      "Value": 1
    },
    "AS_MaxPartHP_Ratio": {
      "Value": 0.1
    },
    "AS_InitPartHP_Ratio": {
      "Value": 0.1
    },
    "AS_RecoverPartHP_Ratio": {
      "Value": 0.1
    },
    "AS_PartDestroy_StunPercentage": {
      "Value": 0.5
    }
  },
  "AbilityStacking": "Unique"
}
format
json
displayName
MaterialHandler_Part_FLLeg