ZenlessData/Data/Device_Prop_HollowChest_Interact.json

288 lines
7.6 KiB
JSON
Raw Normal View History

{
"AbilityMixins": [
{
"$type": "AddInteractMixin",
"InteractKey": "TreasureCar_Interact",
"InteractTag": "TreasureCar_Interact",
"IsMonopolize": false,
"OnInteract": [
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": true,
"ParamName": "Trigger_Open",
"ParamType": 1,
"Target": "Self"
},
{
"$type": "ApplyModifier",
"ModifierName": "InvisibleModifier",
"Target": "Self"
},
{
"$type": "AttachEffect",
"AttachEffectPosRot": {
"CoordsOption": "ReferTarget",
"Offset": {
"AngleOffset": {
"x": 0,
"y": 0,
"z": 0
},
"IsUseRotationXZ": true,
"IsUseRotationY": true,
"PositionOffset": {
"x": 0,
"y": 0.5,
"z": 0
}
},
"TargetOption": {
"$type": "ConfigPosRotReferTarget",
"AttachPoint": "Root",
"IsUseAttachPointPos": true,
"IsUseAttachPointRotation": true,
"OffsetReferTarget": "Self"
}
},
"EffectPattern": "Eff_Device_Prop_HollowChest_01_01_Flare",
"Predicates": [
{
"$type": "ByTags",
"TagList": [
"RareA"
],
"Target": "Self"
}
],
"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": "Ctr_B_Rot",
"IsUseAttachPointPos": true,
"IsUseAttachPointRotation": true,
"OffsetReferTarget": "Self"
}
},
"EffectPattern": "Eff_Device_Prop_HollowChest_01_02_Mod",
"Predicates": [
{
"$type": "ByTags",
"TagList": [
"RareA"
],
"Target": "Self"
}
],
"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": "Ctr_F_Rot",
"IsUseAttachPointPos": true,
"IsUseAttachPointRotation": true,
"OffsetReferTarget": "Self"
}
},
"EffectPattern": "Eff_Device_Prop_HollowChest_01_03_Mod",
"Predicates": [
{
"$type": "ByTags",
"TagList": [
"RareA"
],
"Target": "Self"
}
],
"Target": "Self"
},
{
"$type": "AttachEffect",
"AttachEffectPosRot": {
"CoordsOption": "ReferTarget",
"Offset": {
"AngleOffset": {
"x": 0,
"y": 0,
"z": 0
},
"IsUseRotationXZ": true,
"IsUseRotationY": true,
"PositionOffset": {
"x": 0,
"y": 0.5,
"z": 0
}
},
"TargetOption": {
"$type": "ConfigPosRotReferTarget",
"AttachPoint": "Root",
"IsUseAttachPointPos": true,
"IsUseAttachPointRotation": true,
"OffsetReferTarget": "Self"
}
},
"EffectPattern": "Eff_Device_Prop_HollowChest_02_01_Flare",
"Predicates": [
{
"$type": "ByTags",
"TagList": [
"RareS"
],
"Target": "Self"
}
],
"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": "Ctr_B_Rot",
"IsUseAttachPointPos": true,
"IsUseAttachPointRotation": true,
"OffsetReferTarget": "Self"
}
},
"EffectPattern": "Eff_Device_Prop_HollowChest_02_02_Mod",
"Predicates": [
{
"$type": "ByTags",
"TagList": [
"RareS"
],
"Target": "Self"
}
],
"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": "Ctr_F_Rot",
"IsUseAttachPointPos": true,
"IsUseAttachPointRotation": true,
"OffsetReferTarget": "Self"
}
},
"EffectPattern": "Eff_Device_Prop_HollowChest_02_03_Mod",
"Predicates": [
{
"$type": "ByTags",
"TagList": [
"RareS"
],
"Target": "Self"
}
],
"Target": "Self"
}
],
"OnInteractForbidden": [
],
"OnInteractRemove": [
]
}
],
"AbilityName": "Device_Prop_HollowChest_Interact",
"AbilityStacking": "Unique",
"Modifiers": {
"FadeOutModifier": {
"Duration": 0.5,
"IgnoreTimeScale": false,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "PushPointGameObjectControlAction",
"AttachPointNameList": [
"Mesh",
"Proxy"
],
"IsActive": false,
"Tag": "ChestMesh_invisible"
}
]
},
"InvisibleModifier": {
"Duration": 1.5,
"IgnoreTimeScale": false,
"ModifierStacking": "Unique",
"OnRemoved": [
{
"$type": "ApplyModifier",
"ModifierName": "FadeOutModifier",
"Target": "Self"
}
]
}
}
}