ZenlessData/Data/MaterialHandler_Part_FRLeg.json
2024-08-13 22:59:23 -03:00

372 lines
10 KiB
JSON

{
"AbilityMixins": [
{
"$type": "MultiPartMixin",
"BindHitColliderList": [
"HitCollider_FRLeg"
],
"CanHitAfterDestroyed": true,
"IsUseHitFlowOnDestroyed": true,
"MaxPartHP": "%MaxPartHP",
"OnPartDestroy": [
{
"$type": "SetAnimCtrlerParamAction",
"IntVal": 2,
"ParamName": "Int_HitPartIndex",
"ParamType": 3,
"Target": "Self"
},
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": true,
"ParamName": "Trigger_OnPartDestroyed",
"ParamType": 1,
"Target": "Self"
},
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": true,
"ParamName": "Bool_PartDestroyed_FRLeg",
"ParamType": 2,
"Target": "Self"
},
{
"$type": "ApplyModifier",
"ModifierName": "MaterialHandler_Part_FRLeg_DestroyedEffect",
"Target": "Self"
},
{
"$type": "DamageByAttackPropertyAction",
"AnimEventID": "Monster_MaterialHandler_PartDestroyed_Leg_Attackproperty_01",
"AttachPoint": "Skn_FR_Leg_04",
"Target": "Self"
},
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "specials(AS_PartDestroy_StunPercentage)*property(MaxStun)",
"ParamName": "StunRecoverAmount",
"ValueType": "Float"
},
{
"$type": "RecoverStunAction",
"Amount": "%StunRecoverAmount",
"Percentage": 0,
"Target": "Self"
},
{
"$type": "ModifyPartParamAction",
"Amount": "%RecoverPartHP",
"ModifyFunction": "Add",
"ParamType": "PartHP",
"PartName": "MaterialHandler_FLLeg",
"Predicates": [
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByPartDestroy",
"PartName": "MaterialHandler_FLLeg",
"Target": "Self"
}
]
}
],
"Target": "Self"
},
{
"$type": "ModifyPartParamAction",
"Amount": "%RecoverPartHP",
"ModifyFunction": "Add",
"ParamType": "PartHP",
"PartName": "MaterialHandler_BLLeg",
"Predicates": [
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByPartDestroy",
"PartName": "MaterialHandler_BLLeg",
"Target": "Self"
}
]
}
],
"Target": "Self"
},
{
"$type": "ModifyPartParamAction",
"Amount": "%RecoverPartHP",
"ModifyFunction": "Add",
"ParamType": "PartHP",
"PartName": "MaterialHandler_BRLeg",
"Predicates": [
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByPartDestroy",
"PartName": "MaterialHandler_BRLeg",
"Target": "Self"
}
]
}
],
"Target": "Self"
}
],
"OnPartHit": [
{
"$type": "SetAnimCtrlerParamAction",
"IntVal": 2,
"ParamName": "Int_HitPartIndex",
"ParamType": 3,
"Target": "Self"
},
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": true,
"ParamName": "Trigger_PartHit",
"ParamType": 1,
"Target": "Self"
}
],
"OwnerDamagetakeRatio": 0,
"PartDamageTakeRatio": 0,
"PartHP": "%InitPartHP",
"PartName": "MaterialHandler_FRLeg"
}
],
"AbilityName": "MaterialHandler_Part_FRLeg",
"AbilitySpecials": {
"AS_InitPartHP_Ratio": {
"Value": 0.1
},
"AS_MaxPartHP_Ratio": {
"Value": 0.1
},
"AS_PartDestroy_StunPercentage": {
"Value": 0.5
},
"AS_RecoverPartHP_Ratio": {
"Value": 0.1
},
"HpReduceAmount": {
"Value": 1
},
"InitPartHP": {
"Value": 1
},
"MaxPartHP": {
"Value": 1
},
"RecoverPartHP": {
"Value": 1
},
"StunRecoverAmount": {
"Value": 1
}
},
"AbilityStacking": "Unique",
"Modifiers": {
"MaterialHandler_Part_FRLeg_DestroyedEffect": {
"Duration": -1,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "FireEffect",
"EffectPattern": "Eff_Monster_BoringMachine_LegBreak_Dust_01",
"FireEffectPosRot": {
"CoordsOption": "ReferTarget",
"Offset": {
"AngleOffset": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"IsUseRotationXZ": true,
"IsUseRotationY": true,
"PositionOffset": {
"x": 0.0,
"y": 0.0,
"z": 0.0
}
},
"TargetOption": {
"$type": "ConfigPosRotReferTarget",
"AttachPoint": "Skn_FR_Leg_04",
"IsUseAttachPointPos": true,
"IsUseAttachPointRotation": true,
"OffsetReferTarget": "Self"
}
},
"Target": "Self"
},
{
"$type": "ModifyMaterialPropertyAction",
"ApplyAllRenderers": false,
"Predicates": [
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByOr",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"Red"
],
"Target": "Self"
},
{
"$type": "ByIsInZoneTags",
"Tags": [
"Purple"
],
"Target": "Self"
}
]
}
]
}
],
"RendererList": [
{
"ApplyAllMaterials": true,
"RenderPath": "Base_02_01"
}
],
"Tag": "Monster_MaterialHandler_MA_FRLeg_Break_MainMaps_01",
"Target": "Self",
"key": "Monster_MaterialHandler_MA_FRLeg_Break_MainMaps_01"
},
{
"$type": "ModifyMaterialPropertyAction",
"ApplyAllRenderers": false,
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"Red"
],
"Target": "Self"
}
],
"RendererList": [
{
"ApplyAllMaterials": true,
"RenderPath": "Base_02_01"
}
],
"Tag": "Monster_MaterialHandlerRed_MA_FRLeg_Break_MainMaps_01",
"Target": "Self",
"key": "Monster_MaterialHandlerRed_MA_FRLeg_Break_MainMaps_01"
},
{
"$type": "ModifyMaterialPropertyAction",
"ApplyAllRenderers": false,
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"Purple"
],
"Target": "Self"
}
],
"RendererList": [
{
"ApplyAllMaterials": true,
"RenderPath": "Base_02_01"
}
],
"Tag": "Monster_MaterialHandlerPurple_MA_Leg_Break_01_MainMaps_04",
"Target": "Self",
"key": "Monster_MaterialHandlerPurple_MA_Leg_Break_01_MainMaps_04"
},
{
"$type": "AttachEffect",
"AttachEffectPosRot": {
"CoordsOption": "ReferTarget",
"Offset": {
"AngleOffset": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"IsUseRotationXZ": true,
"IsUseRotationY": true,
"PositionOffset": {
"x": 0.0,
"y": 0.0,
"z": 0.0
}
},
"TargetOption": {
"$type": "ConfigPosRotReferTarget",
"AttachPoint": "Skn_FR_Leg_04",
"IsUseAttachPointPos": true,
"IsUseAttachPointRotation": true,
"OffsetReferTarget": "Self"
}
},
"EffectPattern": "Eff_Monster_BoringMachine_LegBreak_Lightning_01",
"Target": "Self"
},
{
"$type": "AttachEffect",
"AttachEffectPosRot": {
"CoordsOption": "ReferTarget",
"Offset": {
"AngleOffset": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"IsUseRotationXZ": true,
"IsUseRotationY": true,
"PositionOffset": {
"x": 0.0,
"y": 0.0,
"z": 0.0
}
},
"TargetOption": {
"$type": "ConfigPosRotReferTarget",
"AttachPoint": "Skn_FR_Leg_03",
"IsUseAttachPointPos": true,
"IsUseAttachPointRotation": true,
"OffsetReferTarget": "Self"
}
},
"EffectPattern": "Eff_Monster_BoringMachine_LegBreak_Lightning_02",
"Target": "Self"
}
]
}
},
"OnAdded": [
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "property(MaxHP)*specials(AS_MaxPartHP_Ratio)",
"ParamName": "MaxPartHP",
"ValueType": "Float"
},
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "property(MaxHP)*specials(AS_InitPartHP_Ratio)",
"ParamName": "InitPartHP",
"ValueType": "Float"
},
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "property(MaxHP)*specials(AS_RecoverPartHP_Ratio)",
"ParamName": "RecoverPartHP",
"ValueType": "Float"
}
]
}