ZenlessData/Data/HeavyMachineBase_Part_BRLeg.json

205 lines
5.6 KiB
JSON
Raw Normal View History

{
"AbilityMixins": [
{
"$type": "MultiPartMixin",
"BindHitColliderList": [
"HitCollider_BRLeg"
],
"CanHitAfterDestroyed": true,
"IsUseHitFlowOnDestroyed": true,
"MaxPartHP": "%MaxPartHP",
"OnPartDestroy": [
{
"$type": "SetAnimCtrlerParamAction",
"IntVal": 4,
"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_BRLeg",
"ParamType": 2,
"Target": "Self"
},
{
"$type": "PushRenderVisibleAction",
"Paths": [
"Base_02_02_P"
],
"Tag": "Base_02_02_P",
"Visible": false
},
{
"$type": "ApplyModifier",
"ModifierName": "HeavyMachineBase_Part_BRLeg_DestroyedEffect",
"Target": "Self"
},
{
"$type": "DamageByAttackPropertyAction",
"AnimEventID": "Monster_HeavyMachineBase_PartDestroyed_Leg_Attackproperty_01",
"AttachPoint": "Skn_BR_Leg_04",
"Target": "Self"
}
],
"OnPartHit": [
{
"$type": "SetAnimCtrlerParamAction",
"IntVal": 4,
"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_BRLeg"
}
],
"AbilityName": "HeavyMachineBase_Part_BRLeg",
"AbilitySpecials": {
"AS_MaxPartHP_Ratio": {
"Value": 0.1
},
"HpReduceAmount": {
"Value": 1
},
"MaxPartHP": {
"Value": 1
}
},
"AbilityStacking": "Unique",
"Modifiers": {
"HeavyMachineBase_Part_BRLeg_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_BR_Leg_04",
"IsUseAttachPointPos": true,
"IsUseAttachPointRotation": true,
"OffsetReferTarget": "Self"
}
},
"Target": "Self"
},
{
"$type": "ModifyMaterialPropertyAction",
"ApplyAllRenderers": false,
"RendererList": [
{
"ApplyAllMaterials": true,
"RenderPath": "Base_02_02"
}
],
"Tag": "Monster_BoringMachine_MA_BRLeg_Break_MainMaps_01",
"Target": "Self",
"key": "Monster_BoringMachine_MA_BRLeg_Break_MainMaps_01"
},
{
"$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_BR_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_BR_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"
}
]
}