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

108 lines
2.6 KiB
JSON

{
"AbilityMixins": [
{
"$type": "AttachStateWithModifierMixin",
"ConfigList": [
{
"AnimatorStateName": "Born",
"FrameCountHigh": 0,
"FrameCountLow": 12,
"IsLoop": false,
"LayerIndex": 0,
"MaxFrameCountHigh": true,
"MaxFrameCountLow": false,
"ModifierNameList": [
"EffectModifier"
]
},
{
"AnimatorStateName": "Idle",
"FrameCountHigh": 0,
"FrameCountLow": 0,
"IsLoop": true,
"LayerIndex": 0,
"MaxFrameCountHigh": true,
"MaxFrameCountLow": false,
"ModifierNameList": [
"EffectModifier"
]
},
{
"AnimatorStateName": "Death",
"FrameCountHigh": 4,
"FrameCountLow": 0,
"IsLoop": false,
"LayerIndex": 0,
"MaxFrameCountHigh": false,
"MaxFrameCountLow": false,
"ModifierNameList": [
"EffectModifier"
]
}
]
}
],
"AbilityName": "SwitchItem_01_Default",
"AbilityStacking": "Unique",
"Modifiers": {
"EffectModifier": {
"Duration": -1,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "AttachEffect",
"AttachEffectPosRot": {
"CoordsOption": "ReferTarget",
"Offset": {
"AngleOffset": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"IsUseRotationXZ": true,
"IsUseRotationY": true,
"PositionOffset": {
"x": 0,
"y": 0,
"z": 0
}
},
"TargetOption": {
"$type": "ConfigPosRotReferTarget",
"AttachPoint": "ItemPoint",
"IsUseAttachPointPos": true,
"IsUseAttachPointRotation": true,
"OffsetReferTarget": "Self"
}
},
"EffectPattern": "Eff_InLevelItem_Prop_SwitchItem_01_Light",
"Target": "Self"
}
]
}
},
"OnAbilityStart": [
{
"$type": "ModifyPerfectSwitchChargeValueAction",
"Amount": 720,
"ModifyFunction": "Add"
},
{
"$type": "FireEffect",
"EffectPattern": "Eff_InLevelItem_Prop_SwitchItem_01_AddSwitch",
"Predicates": [
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByInBlackCurtain",
"Target": "Self"
}
],
"Target": "Self"
}
],
"Target": "LocalAvatar"
}
]
}