ZenlessData/Data/MaterialHandler_Part_FLLeg.json

372 lines
10 KiB
JSON
Raw Normal View History

{
"AbilityMixins": [
{
"$type": "MultiPartMixin",
"BindHitColliderList": [
"HitCollider_FLLeg"
],
"CanHitAfterDestroyed": true,
"IsUseHitFlowOnDestroyed": true,
"MaxPartHP": "%MaxPartHP",
"OnPartDestroy": [
{
"$type": "SetAnimCtrlerParamAction",
"IntVal": 1,
"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_FLLeg",
"ParamType": 2,
"Target": "Self"
},
{
"$type": "ApplyModifier",
"ModifierName": "MaterialHandler_Part_FLLeg_DestroyedEffect",
"Target": "Self"
},
{
"$type": "DamageByAttackPropertyAction",
"AnimEventID": "Monster_MaterialHandler_PartDestroyed_Leg_Attackproperty_01",
"AttachPoint": "Skn_FL_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_FRLeg",
"Predicates": [
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByPartDestroy",
"PartName": "MaterialHandler_FRLeg",
"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": 1,
"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_FLLeg"
}
],
"AbilityName": "MaterialHandler_Part_FLLeg",
"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_FLLeg_DestroyedEffect": {
"Duration": -1,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "FireEffect",
"EffectPattern": "Eff_Monster_BoringMachine_LegBreak_Dust_01",
"FireEffectPosRot": {
"CoordsOption": "ReferTarget",
"Offset": {
"AngleOffset": {
"x": 0,
"y": 0,
"z": 0
},
"IsUseRotationXZ": true,
"IsUseRotationY": true,
"PositionOffset": {
"x": 0,
"y": 0,
"z": 0
}
},
"TargetOption": {
"$type": "ConfigPosRotReferTarget",
"AttachPoint": "Skn_FL_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_04"
}
],
"Tag": "Monster_MaterialHandler_MA_FLLeg_Break_MainMaps_01",
"Target": "Self",
"key": "Monster_MaterialHandler_MA_FLLeg_Break_MainMaps_01"
},
{
"$type": "ModifyMaterialPropertyAction",
"ApplyAllRenderers": false,
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"Red"
],
"Target": "Self"
}
],
"RendererList": [
{
"ApplyAllMaterials": true,
"RenderPath": "Base_02_04"
}
],
"Tag": "Monster_MaterialHandlerRed_MA_FLLeg_Break_MainMaps_01",
"Target": "Self",
"key": "Monster_MaterialHandlerRed_MA_FLLeg_Break_MainMaps_01"
},
{
"$type": "ModifyMaterialPropertyAction",
"ApplyAllRenderers": false,
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"Purple"
],
"Target": "Self"
}
],
"RendererList": [
{
"ApplyAllMaterials": true,
"RenderPath": "Base_02_04"
}
],
"Tag": "Monster_MaterialHandlerPurple_MA_Leg_Break_01_MainMaps_03",
"Target": "Self",
"key": "Monster_MaterialHandlerPurple_MA_Leg_Break_01_MainMaps_03"
},
{
"$type": "AttachEffect",
"AttachEffectPosRot": {
"CoordsOption": "ReferTarget",
"Offset": {
"AngleOffset": {
"x": 0,
"y": 0,
"z": 0
},
"IsUseRotationXZ": true,
"IsUseRotationY": true,
"PositionOffset": {
"x": 0,
"y": 0,
"z": 0
}
},
"TargetOption": {
"$type": "ConfigPosRotReferTarget",
"AttachPoint": "Skn_FL_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,
"y": 0,
"z": 0
},
"IsUseRotationXZ": true,
"IsUseRotationY": true,
"PositionOffset": {
"x": 0,
"y": 0,
"z": 0
}
},
"TargetOption": {
"$type": "ConfigPosRotReferTarget",
"AttachPoint": "Skn_FL_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"
}
]
}