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

275 lines
7.7 KiB
JSON

{
"AbilityMixins": [
{
"$type": "AttachStateWithModifierMixin",
"ConfigList": [
{
"AnimatorStateName": "Attack_Branch_02_Singing_Attack_03_02",
"FrameCountHigh": 0,
"FrameCountLow": 0,
"IsLoop": false,
"LayerIndex": 0,
"MaxFrameCountHigh": true,
"MaxFrameCountLow": false,
"ModifierNameList": [
"ZoneTagModifier_Reset"
]
}
]
}
],
"AbilityName": "Astra_SingAttack_01",
"AbilitySpecials": {
"AS_AttackIndex": {
"Value": 0,
"ValueType": "Integer"
}
},
"AbilityStacking": "Unique",
"DefaultModifier": {
"OnAnimTransit": [
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"Astra_Attack_Branch_02_Singing_Evade_Perfect"
],
"IsAdd": true,
"Predicates": [
{
"$type": "ByOr",
"Predicates": [
{
"$type": "ByTransitionName",
"TransitionName": "Attack_Branch_02_Singing_Evade -> Attack_Branch_02_Singing_Attack_03_02"
},
{
"$type": "ByTransitionName",
"TransitionName": "Card_A_02_Perfect"
}
]
}
]
}
]
},
"Modifiers": {
"ThunderAttackModifier": {
"Duration": 1,
"ModifierStacking": "Replace",
"OnAdded": [
{
"$type": "FireEffect",
"AttachPointName": "Ctr_Wpn_Laba",
"EffectPattern": "Eff_Astra_Attack_Branch_02_Singing_Attack_01_01_Weapon",
"Target": "Self"
},
{
"$type": "ProcessAttachPointAction",
"AttachPointName": "AstraTargetPoint",
"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": "LastSelfAttackTarget"
}
},
"Target": "Self"
},
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByAbilitySpecial",
"CompareType": "Equal",
"Param": 1,
"ParamName": "AS_AttackIndex",
"ParamType": "Integer",
"Target": "Self"
}
],
"SuccessActions": [
{
"$type": "TriggerAbilityAction",
"AbilityName": "Astra_Branch_SingAttack_Single",
"Target": "Self"
},
{
"$type": "AttackCameraShakeAction",
"ShakeConfigKey": "Astra_Attack_Branch_SingAttack_Single_CamShake_E_01",
"Target": "Self"
},
{
"$type": "GamepadRumbleAction",
"GamepadRumbleKey": "Astra_GamepadRumble_E_SingAttack_Single_01"
}
]
},
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByAbilitySpecial",
"CompareType": "Equal",
"Param": 2,
"ParamName": "AS_AttackIndex",
"ParamType": "Integer",
"Target": "Self"
}
],
"SuccessActions": [
{
"$type": "TriggerAbilityAction",
"AbilityName": "Astra_Branch_SingAttack_Combo_01",
"Target": "Self"
},
{
"$type": "AttackCameraShakeAction",
"ShakeConfigKey": "Astra_Attack_Branch_SingAttack_Combo_CamShake_E_01",
"Target": "Self"
},
{
"$type": "GamepadRumbleAction",
"GamepadRumbleKey": "Astra_GamepadRumble_E_SingAttack_Combo_01"
}
]
},
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByAbilitySpecial",
"CompareType": "Equal",
"Param": 3,
"ParamName": "AS_AttackIndex",
"ParamType": "Integer",
"Target": "Self"
}
],
"SuccessActions": [
{
"$type": "TriggerAbilityAction",
"AbilityName": "Astra_Branch_SingAttack_Combo_02",
"Target": "Self"
},
{
"$type": "AttackCameraShakeAction",
"ShakeConfigKey": "Astra_Attack_Branch_SingAttack_Combo_CamShake_E_02",
"Target": "Self"
},
{
"$type": "GamepadRumbleAction",
"GamepadRumbleKey": "Astra_GamepadRumble_E_SingAttack_Combo_02"
}
]
},
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByAbilitySpecial",
"CompareType": "Equal",
"Param": 4,
"ParamName": "AS_AttackIndex",
"ParamType": "Integer",
"Target": "Self"
}
],
"SuccessActions": [
{
"$type": "TriggerAbilityAction",
"AbilityName": "Astra_Branch_SingAttack_Perfect_01",
"Target": "Self"
},
{
"$type": "AttackCameraShakeAction",
"ShakeConfigKey": "Astra_Attack_Branch_SingAttack_Perfect_CamShake_E_01",
"Target": "Self"
},
{
"$type": "GamepadRumbleAction",
"GamepadRumbleKey": "Astra_GamepadRumble_E_SingAttack_Perfect_01"
}
]
},
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByAbilitySpecial",
"CompareType": "Equal",
"Param": 5,
"ParamName": "AS_AttackIndex",
"ParamType": "Integer",
"Target": "Self"
}
],
"SuccessActions": [
{
"$type": "TriggerAbilityAction",
"AbilityName": "Astra_Branch_SingAttack_Perfect_02",
"Target": "Self"
},
{
"$type": "AttackCameraShakeAction",
"ShakeConfigKey": "Astra_Attack_Branch_SingAttack_Perfect_CamShake_E_02",
"Target": "Self"
},
{
"$type": "GamepadRumbleAction",
"GamepadRumbleKey": "Astra_GamepadRumble_E_SingAttack_Perfect_02"
}
]
}
]
},
"ZoneTagModifier_Reset": {
"Duration": -1,
"ModifierStacking": "Unique",
"OnRemoved": [
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"Astra_Attack_Branch_02_Singing_Evade_Perfect"
],
"IsAdd": false
}
]
}
},
"OnAbilityStart": [
{
"$type": "ApplyModifier",
"ModifierName": "ThunderAttackModifier",
"Target": "Self"
}
]
}