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

714 lines
21 KiB
JSON

{
"AbilityMixins": [
{
"$type": "ActwithStateFrameMixin",
"ConfigList": [
{
"ActionList": [
{
"$type": "DitherFadeAction",
"DitherFadeKey": "Avatar_Astra_Singing_Dtiher_Fade_01",
"Tag": "Avatar_Astra_Singing_Dtiher_Fade_01",
"Target": "Caster"
},
{
"$type": "RandomOperator",
"Odds": 0.5,
"OnFailure": [
{
"$type": "ApplyLogicMoveAction",
"MovementConfig": {
"$type": "ConfigMovementTarget",
"DefaultOffset": {
"x": 0,
"y": 0,
"z": 5
},
"Duration": 0.3,
"Gravity": 0,
"HitNormalRatio": 1,
"HitTangentialRatio": 1,
"MoveType": {
"$type": "MovementTypeInstant",
"NeedRayCastCheck": true,
"NeedRayCastGround": true
},
"ReachTargetStop": true,
"TargetPosRot": {
"CoordsOption": "Camera",
"Offset": {
"AngleOffset": {
"x": 0,
"y": 0,
"z": 0
},
"IsClampOffsetDistance": false,
"PositionOffset": {
"x": -5,
"y": 0,
"z": 7.25
},
"RandomAngleRange": {
"x": 0,
"y": 0,
"z": 0
},
"RandomPositionRange": {
"x": 1.75,
"y": 0,
"z": 1.75
}
},
"TargetOption": {
"$type": "ConfigPosRotReferTarget",
"OffsetReferTarget": "LocalAvatar"
}
},
"TargetUpdateMode": "Always",
"TimesUpMoveOption": "Stop"
},
"RotationConfig": {
"$type": "ConfigRotationToTarget",
"Duration": 0.1,
"ReachTargetStop": true,
"RotateSpeed": 1,
"RotateType": "Instant",
"TargetPosRot": {
"CoordsOption": "ReferTarget",
"Offset": {
"AngleOffset": {
"x": 0,
"y": 0,
"z": 0
},
"PositionOffset": {
"x": 0,
"y": 0,
"z": 0
}
},
"TargetOption": {
"$type": "ConfigPosRotReferTarget",
"BackupOffsetReferTarget": "LocalAvatar",
"OffsetReferTarget": "LastLocalAvatarAttackTarget"
}
},
"TargetUpdateMode": "Always"
},
"Target": "Self"
}
],
"OnSuccess": [
{
"$type": "ApplyLogicMoveAction",
"MovementConfig": {
"$type": "ConfigMovementTarget",
"DefaultOffset": {
"x": 0,
"y": 0,
"z": 5
},
"Duration": 0.3,
"Gravity": 0,
"HitNormalRatio": 1,
"HitTangentialRatio": 1,
"MoveType": {
"$type": "MovementTypeInstant",
"NeedRayCastCheck": true,
"NeedRayCastGround": true
},
"ReachTargetStop": true,
"TargetPosRot": {
"CoordsOption": "Camera",
"Offset": {
"AngleOffset": {
"x": 0,
"y": 0,
"z": 0
},
"IsClampOffsetDistance": false,
"PositionOffset": {
"x": 5,
"y": 0,
"z": 7.25
},
"RandomAngleRange": {
"x": 0,
"y": 0,
"z": 0
},
"RandomPositionRange": {
"x": 1.75,
"y": 0,
"z": 1.75
}
},
"TargetOption": {
"$type": "ConfigPosRotReferTarget",
"OffsetReferTarget": "LocalAvatar"
}
},
"TargetUpdateMode": "Always",
"TimesUpMoveOption": "Stop"
},
"RotationConfig": {
"$type": "ConfigRotationToTarget",
"Duration": 0.1,
"ReachTargetStop": true,
"RotateSpeed": 1,
"RotateType": "Instant",
"TargetPosRot": {
"CoordsOption": "ReferTarget",
"Offset": {
"AngleOffset": {
"x": 0,
"y": 0,
"z": 0
},
"PositionOffset": {
"x": 0,
"y": 0,
"z": 0
}
},
"TargetOption": {
"$type": "ConfigPosRotReferTarget",
"BackupOffsetReferTarget": "LocalAvatar",
"OffsetReferTarget": "LastLocalAvatarAttackTarget"
}
},
"TargetUpdateMode": "Always"
},
"Target": "Self"
}
]
}
],
"AnimatorStateName": "Attack_Branch_02_Singing_BackStageAttack_02",
"ForceTriggerOnTransitionIn": true,
"ForceTriggerOnTransitionOut": false,
"Frame": 0,
"IsLoop": false,
"LayerIndex": 0
}
]
}
],
"AbilityName": "Astra_Branch_Bullet_Manager",
"AbilitySpecials": {
"AS_IsBackStage": {
"Value": 0,
"ValueType": "Integer"
},
"AS_ShouldExSP": {
"Value": 0,
"ValueType": "Integer"
},
"AS_ShouldStarAttack": {
"Value": 0,
"ValueType": "Integer"
},
"AS_StarAttackDuration": {
"Value": 0.03,
"ValueType": "Float"
},
"AS_StarAttackTimes": {
"Value": 0,
"ValueType": "Integer"
},
"AS_ThunderAttackDuration": {
"Value": 0.03,
"ValueType": "Float"
}
},
"AbilityStacking": "Unique",
"DefaultModifier": {
"OnHitOther": [
{
"$type": "ModifyAttackDataAction",
"Predicates": [
{
"$type": "ByAnimEventIDs",
"AnimEventIDs": [
"Astra_Attack_Branch_Thunder_AttackProperty_01",
"Astra_Attack_Branch_Bullet_AttackProperty_01"
]
}
],
"PropertyKey": "Actor_CanTriggerElementAbnormal",
"PropertyValue": 1,
"Target": "Caster"
}
]
},
"Modifiers": {
"BackStagetAttackCDModifier": {
"Duration": 1,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInsideCameraView",
"CheckDistance": 30,
"Target": "Caster"
}
]
},
{
"$type": "ByHasModifier",
"ModifierNameList": [
"TeleportAttackCDModifier"
],
"OperatorType": "Not"
}
],
"FailureActions": [
{
"$type": "ApplyModifier",
"ModifierName": "StayAttackAModifier",
"Target": "Caster"
}
],
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "GreaterEqual",
"Param": 1,
"ParamName": "AS_IsBackStage",
"ParamType": "Integer",
"Target": "Self"
}
],
"SuccessActions": [
{
"$type": "ApplyModifier",
"ModifierName": "TeleportAttackCDModifier",
"Target": "Caster"
}
]
}
]
},
"StarAttackModifier": {
"Duration": "%AS_StarAttackDuration",
"MaxStackingNumber": 21,
"ModifierStacking": "Multiple",
"OnAdded": [
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Add",
"Param": 0.2,
"ParamName": "AS_StarAttackDuration",
"ParamType": "Float"
}
],
"OnRemoved": [
{
"$type": "TriggerAbilityAction",
"AbilityName": "Astra_Branch_Bullet_01",
"PosRotConfig": {
"CoordsOption": "ReferTarget",
"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
},
"RandomPositionRange": {
"x": 1,
"y": 0,
"z": 1
}
},
"TargetOption": {
"$type": "ConfigPosRotReferTarget",
"AttachPoint": "MiddlePoint",
"BackupOffsetReferTarget": "Caster",
"CustomKey": "AbilityTarget_Astra_RandomEnemy",
"FeaturePointFirst": true,
"IsUseAttachPointPos": true,
"IsUseAttachPointRotation": false,
"OffsetReferTarget": "Custom"
}
},
"Target": "Self"
}
]
},
"StayAttackAModifier": {
"Duration": 0.47,
"ModifierStacking": "Replace",
"OnRemoved": [
{
"$type": "SetAnimCtrlerParamAction",
"ParamName": "Trigger_BackStageAttackA",
"ParamType": 1,
"Target": "Caster"
}
]
},
"TeleportAttackCDModifier": {
"Duration": 10,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "ApplyModifier",
"ModifierName": "TeleportAttackModifier",
"Target": "Caster"
}
]
},
"TeleportAttackModifier": {
"Duration": 0.47,
"ModifierStacking": "Replace",
"OnRemoved": [
{
"$type": "SetAnimCtrlerParamAction",
"ParamName": "Trigger_BackStageAttackB",
"ParamType": 1,
"Target": "Caster"
}
]
},
"ThunderModifier": {
"Duration": "%AS_ThunderAttackDuration",
"MaxStackingNumber": 12,
"ModifierStacking": "Multiple",
"OnAdded": [
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Add",
"Param": 1.7,
"ParamName": "AS_ThunderAttackDuration",
"ParamType": "Float"
}
],
"OnRemoved": [
{
"$type": "FireEffect",
"AttachPointName": "Ctr_Wpn_Laba",
"EffectPattern": "Eff_Astra_Attack_Branch_02_Singing_Attack_01_01_Weapon",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"Singing"
],
"Target": "Self"
}
],
"Target": "Self"
},
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": 0.2,
"ParamName": "AS_StarAttackDuration",
"ParamType": "Float"
},
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByAbilitySpecial",
"CompareType": "GreaterEqual",
"Param": 1,
"ParamName": "AS_StarAttackTimes",
"ParamType": "Integer",
"Target": "Self"
}
],
"SuccessActions": [
{
"$type": "ApplyModifier",
"ModifierName": "StarAttackModifier",
"Target": "Self"
},
{
"$type": "ApplyModifier",
"ModifierName": "StarAttackModifier",
"Target": "Self"
},
{
"$type": "ApplyModifier",
"ModifierName": "StarAttackModifier",
"Target": "Self"
},
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Add",
"Param": -1,
"ParamName": "AS_StarAttackTimes",
"ParamType": "Integer"
}
]
},
{
"$type": "ProcessAttachPointAction",
"AttachPointName": "AstraPassiveTargetPoint",
"HierarchyType": "World",
"PosRot": {
"CoordsOption": "Self",
"NeedRaycastGround": true,
"Offset": {
"AngleOffset": {
"x": 0,
"y": 0,
"z": 0
},
"BackupPositionOffset": {
"x": 0,
"y": 0,
"z": 6
},
"IsUseRotationXZ": true,
"IsUseRotationY": true,
"PositionOffset": {
"x": 0,
"y": 0,
"z": 0
},
"RandomPositionRange": {
"x": 1,
"y": 0,
"z": 1
}
},
"TargetOption": {
"$type": "ConfigPosRotReferTarget",
"BackupOffsetReferTarget": "Self",
"IsUseAttachPointPos": true,
"IsUseAttachPointRotation": false,
"OffsetReferTarget": "LastLocalAvatarAttackTarget"
}
},
"Target": "Self"
},
{
"$type": "TriggerAbilityAction",
"AbilityName": "Astra_Branch_Thunder_01",
"Target": "Self"
},
{
"$type": "AttackCameraShakeAction",
"ShakeConfigKey": "Astra_Attack_Branch_Thunder_CamShake_E_01",
"Target": "Self"
},
{
"$type": "GamepadRumbleAction",
"GamepadRumbleKey": "Astra_GamepadRumble_E_Branch_Thunder_01"
}
]
},
"ThunderModifier02": {
"Duration": "%AS_ThunderAttackDuration",
"MaxStackingNumber": 18,
"ModifierStacking": "Multiple",
"OnAdded": [
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Add",
"Param": 1.7,
"ParamName": "AS_ThunderAttackDuration",
"ParamType": "Float"
}
],
"OnRemoved": [
{
"$type": "FireEffect",
"AttachPointName": "Ctr_Wpn_Laba",
"EffectPattern": "Eff_Astra_Attack_Branch_02_Singing_Attack_01_01_Weapon",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"Singing"
],
"Target": "Self"
}
],
"Target": "Self"
},
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": 0.2,
"ParamName": "AS_StarAttackDuration",
"ParamType": "Float"
},
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByAbilitySpecial",
"CompareType": "GreaterEqual",
"Param": 1,
"ParamName": "AS_StarAttackTimes",
"ParamType": "Integer",
"Target": "Self"
}
],
"SuccessActions": [
{
"$type": "ApplyModifier",
"ModifierName": "StarAttackModifier",
"Target": "Self"
},
{
"$type": "ApplyModifier",
"ModifierName": "StarAttackModifier",
"Target": "Self"
},
{
"$type": "ApplyModifier",
"ModifierName": "StarAttackModifier",
"Target": "Self"
},
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Add",
"Param": -1,
"ParamName": "AS_StarAttackTimes",
"ParamType": "Integer"
}
]
},
{
"$type": "ProcessAttachPointAction",
"AttachPointName": "AstraPassiveTargetPoint",
"HierarchyType": "World",
"PosRot": {
"CoordsOption": "Self",
"NeedRaycastGround": true,
"Offset": {
"AngleOffset": {
"x": 0,
"y": 0,
"z": 0
},
"BackupPositionOffset": {
"x": 0,
"y": 0,
"z": 6
},
"IsUseRotationXZ": true,
"IsUseRotationY": true,
"PositionOffset": {
"x": 0,
"y": 0,
"z": 0
},
"RandomPositionRange": {
"x": 1,
"y": 0,
"z": 1
}
},
"TargetOption": {
"$type": "ConfigPosRotReferTarget",
"BackupOffsetReferTarget": "Self",
"IsUseAttachPointPos": true,
"IsUseAttachPointRotation": false,
"OffsetReferTarget": "LastLocalAvatarAttackTarget"
}
},
"Target": "Self"
},
{
"$type": "TriggerAbilityAction",
"AbilityName": "Astra_Branch_Thunder_02",
"Target": "Self"
},
{
"$type": "AttackCameraShakeAction",
"ShakeConfigKey": "Astra_Attack_Branch_Thunder_CamShake_E_01",
"Target": "Self"
},
{
"$type": "GamepadRumbleAction",
"GamepadRumbleKey": "Astra_GamepadRumble_E_Branch_Thunder_01"
}
]
}
},
"OnAbilityStart": [
{
"$type": "ApplyModifier",
"ModifierName": "ThunderModifier",
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "GreaterEqual",
"Param": 1,
"ParamName": "AS_ShouldExSP",
"ParamType": "Integer",
"Target": "Self"
}
],
"Target": "Self"
},
{
"$type": "ApplyModifier",
"ModifierName": "ThunderModifier02",
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "Less",
"Param": 1,
"ParamName": "AS_ShouldExSP",
"ParamType": "Integer",
"Target": "Self"
}
],
"Target": "Self"
},
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Add",
"Param": 1,
"ParamName": "AS_StarAttackTimes",
"ParamType": "Integer",
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "GreaterEqual",
"Param": 1,
"ParamName": "AS_ShouldStarAttack",
"ParamType": "Integer",
"Target": "Self"
}
]
},
{
"$type": "ApplyModifier",
"ModifierName": "BackStagetAttackCDModifier",
"Target": "Caster"
}
],
"OnAdded": [
{
"$type": "ApplyAbilityAction",
"AbilityName": "Astra_Branch_Bullet_01",
"IsAutoTrigger": false,
"Target": "Self"
}
]
}