ZenlessData/Data/HeavyMachineBase_Part_FLLeg.json

197 lines
5.4 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": "HeavyMachineBase_Part_FLLeg_DestroyedEffect",
"Target": "Self"
},
{
"$type": "DamageByAttackPropertyAction",
"AnimEventID": "Monster_HeavyMachineBase_PartDestroyed_Leg_Attackproperty_01",
"AttachPoint": "Skn_FL_Leg_04",
"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": "%MaxPartHP",
"PartName": "HeavyMachineBase_FLLeg"
}
],
"AbilityName": "HeavyMachineBase_Part_FLLeg",
"AbilitySpecials": {
"AS_MaxPartHP_Ratio": {
"Value": 0.1
},
"HpReduceAmount": {
"Value": 1
},
"MaxPartHP": {
"Value": 1
}
},
"AbilityStacking": "Unique",
"Modifiers": {
"HeavyMachineBase_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,
"RendererList": [
{
"ApplyAllMaterials": true,
"RenderPath": "Base_02_04"
}
],
"Tag": "Monster_BoringMachine_MA_FLLeg_Break_MainMaps_01",
"Target": "Self",
"key": "Monster_BoringMachine_MA_FLLeg_Break_MainMaps_01"
},
{
"$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"
}
]
}