1
0
ZenlessData/Data/Astra_Attack_Normal_03_AttackPoint.json
2025-03-11 21:10:23 -03:00

312 lines
8.9 KiB
JSON

{
"AbilityMixins": [
{
"$type": "AttachStateWithModifierMixin",
"ConfigList": [
{
"AnimatorStateName": "Attack_Normal_03",
"FrameCountHigh": 0,
"FrameCountLow": 0,
"IsLoop": false,
"LayerIndex": 0,
"MaxFrameCountHigh": true,
"MaxFrameCountLow": false,
"ModifierNameList": [
"AttachPointModifier"
]
},
{
"AnimatorStateName": "Attack_Normal_03_Release",
"FrameCountHigh": 0,
"FrameCountLow": 0,
"IsLoop": false,
"LayerIndex": 0,
"MaxFrameCountHigh": true,
"MaxFrameCountLow": false,
"ModifierNameList": [
"AttachPointModifier"
]
},
{
"AnimatorStateName": "Attack_Normal_03",
"FrameCountHigh": 0,
"FrameCountLow": 15,
"IsLoop": false,
"LayerIndex": 0,
"MaxFrameCountHigh": true,
"MaxFrameCountLow": false,
"ModifierNameList": [
"ChargeModifier"
]
},
{
"AnimatorStateName": "Attack_Normal_03",
"FrameCountHigh": 0,
"FrameCountLow": 0,
"IsLoop": false,
"LayerIndex": 0,
"MaxFrameCountHigh": true,
"MaxFrameCountLow": false,
"ModifierNameList": [
"CameraModifier"
]
},
{
"AnimatorStateName": "Attack_Normal_03_Release",
"FrameCountHigh": 0,
"FrameCountLow": 0,
"IsLoop": false,
"LayerIndex": 0,
"MaxFrameCountHigh": true,
"MaxFrameCountLow": false,
"ModifierNameList": [
"CameraModifier"
]
}
]
},
{
"$type": "ActwithStateFrameMixin",
"ConfigList": [
{
"ActionList": [
{
"$type": "ApplyModifier",
"ModifierName": "DelayAttackModifier_Attack",
"Target": "Self"
}
],
"AnimatorStateName": "Attack_Normal_03_Release",
"ForceTriggerOnTransitionIn": false,
"ForceTriggerOnTransitionOut": false,
"Frame": 12,
"IsLoop": false,
"LayerIndex": 0
}
]
}
],
"AbilityName": "Astra_Attack_Normal_03_AttackPoint",
"AbilitySpecials": {
"AS_EffectScale": {
"Value": 0,
"ValueType": "Float"
},
"AS_HoldTime": {
"Value": 0,
"ValueType": "Float"
}
},
"AbilityStacking": "Unique",
"Modifiers": {
"AttachPointModifier": {
"Duration": -1,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "ProcessAttachPointAction",
"AttachPointName": "Attack_Normal_03_AttackPoint",
"HierarchyType": "World",
"PosRot": {
"CoordsOption": "Self",
"NeedRaycastGround": true,
"Offset": {
"AngleOffset": {
"x": 0,
"y": 0,
"z": 0
},
"BackupPositionOffset": {
"x": 0,
"y": 0,
"z": 6
},
"IsUseRotationXZ": false,
"IsUseRotationY": true,
"PositionOffset": {
"x": 0,
"y": 0,
"z": 0
}
},
"RaycastGroundOffset": 1,
"TargetOption": {
"$type": "ConfigPosRotReferTarget",
"BackupOffsetReferTarget": "Self",
"FeaturePointFirst": true,
"IsUseAttachPointPos": true,
"IsUseAttachPointRotation": false,
"OffsetReferTarget": "SelfAttackTarget"
}
},
"ProcessType": "Create",
"Target": "Self"
},
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": 0,
"ParamName": "AS_HoldTime",
"ParamType": "Float"
},
{
"$type": "ModifyProperty",
"Amount": "%AS_HoldTime",
"CustomPropertyType": "AttackNormal03",
"IsUsePercentage": false,
"Percentage": 0,
"PropertyModifyFunction": "Replace",
"PropertyType": "Custom",
"Target": "Caster"
}
]
},
"CameraModifier": {
"MaxStackingNumber": -1,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "CameraZoomAction",
"ZoomConfigKey": "Astra_Attack_Normal_03_CamZoom_01"
},
{
"$type": "CameraStretchAction",
"StretchConfigKey": "Astra_Attack_Normal_03_CamStretch_01"
}
],
"OnRemoved": [
{
"$type": "CameraZoomEndAction",
"EndCameraZoomKey": "Astra_Attack_Normal_03_CamZoom_01"
},
{
"$type": "CameraStretchEndAction",
"EndCameraStretchKey": "Astra_Attack_Normal_03_CamStretch_01"
}
]
},
"ChargeModifier": {
"Duration": -1,
"ModifierMixins": [
{
"$type": "SmoothBlendAbilitySpecialMixin",
"AbilitySpecial": "AS_HoldTime",
"BlendCurve": "Linear",
"BlendTime": 1,
"SourceValue": 0,
"TargetValue": 1
},
{
"$type": "WindFieldMixin",
"BaseVelocity": 5,
"IsFollow": true,
"WindDetectID": "Avatar_Astra_WindField_AttackNormal_03"
}
],
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "AttachEffect",
"AttachPointName": "Attack_Normal_03_AttackPoint",
"EffectPattern": "Eff_Astra_Attack_Normal_03_14_Warn",
"Target": "Self"
}
]
},
"DelayAttackModifier_Attack": {
"Duration": 1,
"ModifierStacking": "Replace",
"OnAdded": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByAbilitySpecial",
"CompareType": "Less",
"Param": 0.95,
"ParamName": "AS_HoldTime",
"ParamType": "Float",
"Target": "Self"
}
],
"FailureActions": [
{
"$type": "FireEffect",
"AttachPointName": "Attack_Normal_03_AttackPoint",
"EffectPattern": "Eff_Astra_Attack_Normal_03_15_ShockWave",
"Target": "Self"
},
{
"$type": "HandleAnimEvent",
"AnimEventID": "Astra_Attack_Normal_03_AttackProperty_02",
"Target": "Self"
},
{
"$type": "AttackCameraShakeAction",
"ShakeConfigKey": "Astra_Attack_Normal_03_CamShake_E_02",
"Target": "Self"
},
{
"$type": "GamepadRumbleAction",
"GamepadRumbleKey": "Astra_GamepadRumble_E_Normal_03_02"
}
],
"SuccessActions": [
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "min((max((0.6+specials(AS_HoldTime)*0.4),0.6)),1.0)",
"ParamName": "AS_EffectScale",
"Target": "Self",
"ValueType": "Float"
},
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "min((max((1+specials(AS_HoldTime)*1),0.5)),2)",
"ParamName": "AS_AttackRadius",
"Target": "Self",
"ValueType": "Float"
},
{
"$type": "ModifyProperty",
"Amount": "%AS_HoldTime",
"CustomPropertyType": "AttackNormal03",
"IsUsePercentage": false,
"Percentage": 0,
"PropertyModifyFunction": "Replace",
"PropertyType": "Custom",
"Target": "Caster"
},
{
"$type": "FireEffect",
"AttachPointName": "Attack_Normal_03_AttackPoint",
"EffectPattern": "Eff_Astra_Attack_Normal_03_17_ShockWave",
"EffectScale": {
"OverrideScaleX": "%AS_EffectScale",
"OverrideScaleY": 1,
"OverrideScaleZ": "%AS_EffectScale"
},
"Target": "Self"
},
{
"$type": "HandleAnimEvent",
"AnimEventID": "Astra_Attack_Normal_03_AttackProperty_01",
"OverrideRadius": "%AS_AttackRadius",
"Target": "Self"
},
{
"$type": "AttackCameraShakeAction",
"ShakeConfigKey": "Astra_Attack_Normal_03_CamShake_E_01",
"Target": "Self"
},
{
"$type": "GamepadRumbleAction",
"GamepadRumbleKey": "Astra_GamepadRumble_E_Normal_03_01"
}
]
}
]
}
}
}