1
0
ZenlessData/Data/Astra_Branch.json

499 lines
14 KiB
JSON
Raw Normal View History

{
"AbilityMixins": [
{
"$type": "ActwithStateFrameMixin",
"ConfigList": [
{
"ActionList": [
{
"$type": "ApplyModifier",
"ModifierName": "ReleaseAttackModifier",
"Target": "Self"
}
],
"AnimatorStateName": "Attack_Branch_01_Release",
"ForceTriggerOnTransitionIn": false,
"ForceTriggerOnTransitionOut": false,
"Frame": 33,
"IsLoop": false,
"LayerIndex": 0
},
{
"ActionList": [
{
"$type": "ApplyModifier",
"ModifierName": "ReleaseAttackModifier",
"Target": "Self"
}
],
"AnimatorStateName": "Attack_Branch_01_Hold_Release",
"ForceTriggerOnTransitionIn": false,
"ForceTriggerOnTransitionOut": false,
"Frame": 33,
"IsLoop": false,
"LayerIndex": 0
},
{
"ActionList": [
{
"$type": "ApplyModifier",
"ModifierName": "ReleaseAttackModifier",
"Target": "Self"
}
],
"AnimatorStateName": "Attack_Branch_02_Release",
"ForceTriggerOnTransitionIn": false,
"ForceTriggerOnTransitionOut": false,
"Frame": 38,
"IsLoop": false,
"LayerIndex": 0
},
{
"ActionList": [
{
"$type": "ApplyModifier",
"ModifierName": "ReleaseAttackModifier",
"Target": "Self"
}
],
"AnimatorStateName": "Attack_Branch_02_Hold_Release",
"ForceTriggerOnTransitionIn": false,
"ForceTriggerOnTransitionOut": false,
"Frame": 33,
"IsLoop": false,
"LayerIndex": 0
}
]
},
{
"$type": "AttachStateWithModifierMixin",
"ConfigList": [
{
"AnimatorStateName": "Attack_Branch_01_Hold",
"FrameCountHigh": 0,
"FrameCountLow": 1,
"IsLoop": false,
"LayerIndex": 0,
"MaxFrameCountHigh": true,
"MaxFrameCountLow": false,
"ModifierNameList": [
"AttachPointModifier",
"ChargeModifier"
]
},
{
"AnimatorStateName": "Attack_Branch_01_Hold_Release",
"FrameCountHigh": 32,
"FrameCountLow": 0,
"IsLoop": false,
"LayerIndex": 0,
"MaxFrameCountHigh": false,
"MaxFrameCountLow": false,
"ModifierNameList": [
"AttachPointModifier",
"ChargeModifier"
]
},
{
"AnimatorStateName": "Attack_Branch_02_Hold",
"FrameCountHigh": 0,
"FrameCountLow": 1,
"IsLoop": false,
"LayerIndex": 0,
"MaxFrameCountHigh": true,
"MaxFrameCountLow": false,
"ModifierNameList": [
"AttachPointModifier",
"ChargeModifier"
]
},
{
"AnimatorStateName": "Attack_Branch_02_Hold_Release",
"FrameCountHigh": 32,
"FrameCountLow": 0,
"IsLoop": false,
"LayerIndex": 0,
"MaxFrameCountHigh": false,
"MaxFrameCountLow": false,
"ModifierNameList": [
"AttachPointModifier",
"ChargeModifier"
]
}
]
}
],
"AbilityName": "Astra_Branch",
"AbilitySpecials": {
"AS_HoldChargeTimes": {
"Value": 0,
"ValueType": "Integer"
},
"AS_HoldChargeTimes_Cache": {
"Value": 0,
"ValueType": "Integer"
}
},
"AbilityStacking": "Unique",
"Modifiers": {
"AttachPointModifier": {
"Duration": -1,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "ProcessAttachPointAction",
"AttachPointName": "Astra_Branch_Singing",
"HierarchyType": "World",
"PosRot": {
"CoordsOption": "Relative",
"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": 1
}
},
"RaycastGroundOffset": 1,
"TargetOption": {
"$type": "ConfigPosRotReferTarget",
"BackupOffsetReferTarget": "Self",
"FeaturePointFirst": true,
"IsUseAttachPointPos": true,
"IsUseAttachPointRotation": false,
"OffsetReferTarget": "SelfAttackTarget"
}
},
"ProcessType": "Create",
"Target": "Self"
}
]
},
"ChargeModifier": {
"Duration": -1,
"ModifierMixins": [
{
"$type": "WindFieldMixin",
"BaseVelocity": 5,
"IsFollow": true,
"WindDetectID": "Avatar_Astra_WindField_Branch"
}
],
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "AttachEffect",
"AttachPointName": "Astra_Branch_Singing",
"EffectPattern": "Eff_Astra_Common_36_Aura",
"Target": "Self"
}
]
},
"MaxHoldReleaseModifier": {
"Duration": 1,
"IgnoreTimeScale": false,
"ModifierStacking": "Replace",
"NotIgnoreList": [
"World",
"Owner"
],
"OnAdded": [
{
"$type": "TriggerAbilityAction",
"AbilityName": "Astra_Branch_Combo_03",
"Target": "Self"
},
{
"$type": "AttackCameraShakeAction",
"ShakeConfigKey": "Astra_Attack_Branch_Combo_CamShake_E_01",
"Target": "Self"
},
{
"$type": "GamepadRumbleAction",
"GamepadRumbleKey": "Astra_GamepadRumble_E_Branch_Combo_01"
}
]
},
"MultipleSingleReleaseModifier": {
"DelayHandlers": [
{
"DelayTime": 0.15,
"TimeUpActions": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByAbilitySpecial",
"CompareType": "GreaterEqual",
"Param": 2,
"ParamName": "AS_HoldChargeTimes_Cache",
"ParamType": "Integer",
"Target": "Caster"
}
],
"FailureActions": [
{
"$type": "FireEffect",
"AttachPointName": "AstraBranchPoint",
"EffectPattern": "Eff_Astra_Attack_AssaultAid_03_ShockWave",
"Target": "Self"
},
{
"$type": "HandleAnimEvent",
"AnimEventID": "Astra_Attack_Branch_Single_AttackProperty_01",
"Target": "Self"
},
{
"$type": "AttackCameraShakeAction",
"ShakeConfigKey": "Astra_Attack_Branch_Single_CamShake_E_01",
"Target": "Self"
},
{
"$type": "GamepadRumbleAction",
"GamepadRumbleKey": "Astra_GamepadRumble_E_Branch_Single_01"
}
],
"SuccessActions": [
{
"$type": "TriggerAbilityAction",
"AbilityName": "Astra_Branch_Combo_02",
"Target": "Self"
},
{
"$type": "AttackCameraShakeAction",
"ShakeConfigKey": "Astra_Attack_Branch_Combo_CamShake_E_02",
"Target": "Self"
},
{
"$type": "GamepadRumbleAction",
"GamepadRumbleKey": "Astra_GamepadRumble_E_Branch_Combo_02"
}
]
}
]
},
{
"DelayTime": 0.3,
"TimeUpActions": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByAbilitySpecial",
"CompareType": "GreaterEqual",
"Param": 2,
"ParamName": "AS_HoldChargeTimes_Cache",
"ParamType": "Integer",
"Target": "Caster"
}
],
"SuccessActions": [
{
"$type": "TriggerAbilityAction",
"AbilityName": "Astra_Branch_Single_Thunder",
"Target": "Self"
},
{
"$type": "AttackCameraShakeAction",
"ShakeConfigKey": "Astra_Attack_Branch_Single_CamShake_E_01",
"Target": "Self"
},
{
"$type": "GamepadRumbleAction",
"GamepadRumbleKey": "Astra_GamepadRumble_E_Branch_Single_01"
}
]
}
]
}
],
"Duration": 1,
"IgnoreTimeScale": false,
"ModifierStacking": "Replace",
"NotIgnoreList": [
"World",
"Owner"
],
"OnAdded": [
{
"$type": "TriggerAbilityAction",
"AbilityName": "Astra_Branch_Combo_01",
"Target": "Self"
},
{
"$type": "AttackCameraShakeAction",
"ShakeConfigKey": "Astra_Attack_Branch_Combo_CamShake_E_01",
"Target": "Self"
},
{
"$type": "GamepadRumbleAction",
"GamepadRumbleKey": "Astra_GamepadRumble_E_Branch_Combo_01"
}
]
},
"ReleaseAttackModifier": {
"Duration": 1,
"ModifierStacking": "Replace",
"OnAdded": [
{
"$type": "TriggerAbilityAction",
"AbilityName": "Astra_Branch_Singing",
"Target": "Self"
},
{
"$type": "ProcessAttachPointAction",
"AttachPointName": "AstraBranchPoint",
"HierarchyType": "World",
"PosRot": {
"CoordsOption": "ReferTarget",
"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
}
},
"TargetOption": {
"$type": "ConfigPosRotReferTarget",
"BackupOffsetReferTarget": "Self",
"IsUseAttachPointPos": true,
"IsUseAttachPointRotation": false,
"OffsetReferTarget": "LastSelfAttackTarget"
}
},
"Target": "Self"
},
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": "%AS_HoldChargeTimes",
"ParamName": "AS_HoldChargeTimes_Cache",
"ParamType": "Integer",
"Target": "Caster"
},
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": 0,
"ParamName": "AS_HoldChargeTimes",
"ParamType": "Integer",
"Target": "Caster"
},
{
"$type": "ApplyModifier",
"ModifierName": "SingleReleaseAttackModifier",
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "Less",
"Param": 1,
"ParamName": "AS_HoldChargeTimes_Cache",
"ParamType": "Integer",
"Target": "Caster"
}
],
"Target": "Self"
},
{
"$type": "ApplyModifier",
"ModifierName": "MultipleSingleReleaseModifier",
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "GreaterEqual",
"Param": 1,
"ParamName": "AS_HoldChargeTimes_Cache",
"ParamType": "Integer",
"Target": "Caster"
},
{
"$type": "ByAbilitySpecial",
"CompareType": "Less",
"Param": 3,
"ParamName": "AS_HoldChargeTimes_Cache",
"ParamType": "Integer",
"Target": "Caster"
}
],
"Target": "Self"
},
{
"$type": "ApplyModifier",
"ModifierName": "MaxHoldReleaseModifier",
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "GreaterEqual",
"Param": 3,
"ParamName": "AS_HoldChargeTimes_Cache",
"ParamType": "Integer",
"Target": "Caster"
}
],
"Target": "Self"
}
]
},
"SingleReleaseAttackModifier": {
"Duration": 1,
"ModifierStacking": "Replace",
"OnAdded": [
{
"$type": "TriggerAbilityAction",
"AbilityName": "Astra_Branch_Single_Thunder",
"Target": "Self"
},
{
"$type": "AttackCameraShakeAction",
"ShakeConfigKey": "Astra_Attack_Branch_Single_CamShake_E_01",
"Target": "Self"
},
{
"$type": "GamepadRumbleAction",
"GamepadRumbleKey": "Astra_GamepadRumble_E_Branch_Single_01"
}
]
}
},
"OnAbilityStart": [
{
"$type": "SendCustomEvent",
"EventKey": "Astra_HoldAddCharge",
"IsGlobal": false,
"Target": "Caster"
},
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Add",
"Param": 1,
"ParamName": "AS_HoldChargeTimes",
"ParamType": "Integer",
"Target": "Caster"
}
]
}