1
0
ZenlessData/Data/_unsorted/Zhenzhen_Branch.json
2025-11-26 05:56:27 +01:00

654 lines
17 KiB
JSON

{
"AbilityMixins": [
{
"$type": "AttachStateWithModifierMixin",
"ConfigList": [
{
"AnimatorStateName": "Attack_Special_P1_01_Land",
"FrameCountHigh": 0,
"FrameCountLow": 0,
"IsLoop": true,
"LayerIndex": 0,
"MaxFrameCountHigh": true,
"MaxFrameCountLow": false,
"ModifierNameList": [
"KeepMountingTargetModifier",
"KeepSpecialHitModifier"
]
},
{
"AnimatorStateName": "Attack_ExSpecial_01_Start",
"FrameCountHigh": 0,
"FrameCountLow": 0,
"IsLoop": false,
"LayerIndex": 0,
"MaxFrameCountHigh": true,
"MaxFrameCountLow": false,
"ModifierNameList": [
"KeepMountingTargetModifier",
"KeepSpecialHitModifier"
]
},
{
"AnimatorStateName": "Attack_Special_P1_01_Start",
"FrameCountHigh": 0,
"FrameCountLow": 0,
"IsLoop": false,
"LayerIndex": 0,
"MaxFrameCountHigh": true,
"MaxFrameCountLow": false,
"ModifierNameList": [
"KeepSpecialHitModifier"
]
},
{
"AnimatorStateName": "Attack_Special_P1_01_Start",
"FrameCountHigh": 0,
"FrameCountLow": 5,
"IsLoop": false,
"LayerIndex": 0,
"MaxFrameCountHigh": true,
"MaxFrameCountLow": false,
"ModifierNameList": [
"DitherModifier"
]
}
],
"IsSeam": true
},
{
"$type": "AttachStateWithModifierMixin",
"ConfigList": [
{
"AnimatorStateName": "Attack_Special_P2_01",
"FrameCountHigh": 0,
"FrameCountLow": 0,
"IsLoop": false,
"LayerIndex": 0,
"MaxFrameCountHigh": true,
"MaxFrameCountLow": false,
"ModifierNameList": [
"KeepSpecialHitModifier"
]
}
],
"IsSeam": true
}
],
"AbilityName": "Zhenzhen_Branch",
"AbilitySpecials": {
"AS_ActivedCount": {
"Value": 0,
"ValueType": "Integer"
},
"AS_SpecialHit": {
"Value": 0,
"ValueType": "Integer"
}
},
"AbilityStacking": "Unique",
"ActionGroups": [
{
"Actions": [
{
"$type": "ModifyProperty",
"Amount": "%AS_ActivedCount",
"CustomPropertyType": "ActiveCount",
"IsUsePercentage": false,
"Percentage": 0,
"PropertyModifyFunction": "Replace",
"PropertyType": "Custom"
}
],
"GroupName": "RefreshActivedSwordCount"
},
{
"Actions": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByIsInZoneTags",
"CustomKey": "AbilityTarget_Zhenzhen_Sword",
"Tags": [
"Zhenzhen_Sword"
],
"Target": "Custom"
}
],
"FailureActions": [
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": false,
"ParamName": "Bool_BranchEnable",
"ParamType": 2,
"Target": "Caster"
}
],
"SuccessActions": [
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": true,
"ParamName": "Bool_BranchEnable",
"ParamType": 2,
"Target": "Caster"
}
]
}
],
"GroupName": "CheckBranchEnable"
}
],
"DefaultModifier": {
"AttackDataCallbackRules": [
"MuteNormalCallBack"
],
"OnAnimTransit": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"Zhenzhen_Sword"
],
"Target": "LastSelfAttackTarget"
},
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"Zhenzhne_BranchHit"
],
"Target": "LastSelfAttackTarget"
}
],
"Target": "LastSelfAttackTarget"
}
],
"Predicates": [
{
"$type": "ByTransitionName",
"TransitionName": "TimeUp"
}
],
"SuccessActions": [
{
"$type": "ApplyModifier",
"ModifierName": "MountingTargetModifier",
"Target": "LastSelfAttackTarget"
}
]
}
],
"OnCustomEventReceived": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByOr",
"Predicates": [
{
"$type": "ByCustomEvent",
"EventKey": "Zhenzhen_Sword_LaunchSword"
},
{
"$type": "ByCustomEvent",
"EventKey": "Zhenzhen_Sword_ResetActiveCount"
}
]
}
],
"SuccessActions": [
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": 0,
"ParamName": "AS_ActivedCount",
"ParamType": "Integer",
"Target": "Self"
},
{
"$type": "ApplyActionGroupAction",
"GroupName": "RefreshActivedSwordCount",
"Target": "Self"
}
]
},
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByOr",
"Predicates": [
{
"$type": "ByCustomEvent",
"EventKey": "Zhenzhen_Sword_RefreshActiveCount"
}
]
}
],
"SuccessActions": [
{
"$type": "ApplyActionGroupAction",
"GroupName": "RefreshActivedSwordCount",
"Target": "Self"
}
]
},
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByIsInZoneTags",
"CustomKey": "AbilityTarget_Zhenzhen_Sword",
"Tags": [
"Zhenzhen_Sword"
],
"Target": "Custom"
}
],
"FailureActions": [
{
"$type": "SendCustomEvent",
"EventKey": "SpawnSwordOnEnemy"
}
],
"Predicates": [
{
"$type": "ByCustomEvent",
"EventKey": "Zhenzhen_SpawnSword_IfNoSword"
}
]
},
{
"$type": "ApplyActionGroupAction",
"GroupName": "CheckBranchEnable",
"Predicates": [
{
"$type": "ByCustomEvent",
"EventKey": "Zhenzhen_CheckBranchEnable"
}
],
"Target": "Self"
},
{
"$type": "ApplyModifier",
"ModifierName": "TargetSwordZoneTagModifier",
"Predicates": [
{
"$type": "ByCustomEvent",
"EventKey": "Zhenzhen_HandleTargetSwordZone"
}
],
"Target": "SelfAttackTarget"
}
],
"OnIndirectHitOther": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByAnimEventIDs",
"AnimEventIDs": [
"Zhenzhen_Attack_Special_P1_01_Start_AttackProperty_Ally",
"Zhenzhen_Attack_Special_P2_01_AttackProperty_Ally"
],
"Target": "Self"
},
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"Zhenzhen_Mounting"
],
"Target": "Other"
}
],
"Target": "Other"
},
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"Zhenzhen_BranchHit"
],
"Target": "Other"
}
],
"Target": "Other"
}
],
"SuccessActions": [
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": true,
"ParamName": "Trigger_HitSword",
"ParamType": 1,
"Target": "Self"
},
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": true,
"ParamName": "Trigger_Branch_Hit",
"ParamType": 1,
"Target": "Caster"
},
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByAbilitySpecial",
"CompareType": "LessEqual",
"Param": 0,
"ParamName": "AS_SpecialHit",
"ParamType": "Integer"
}
],
"SuccessActions": [
{
"$type": "ApplyModifier",
"ModifierName": "MountingTargetModifier",
"Target": "Target"
},
{
"$type": "CallGraphEvent",
"AbilityName": "Zhenzhen_SpawnSword_Graph",
"EventName": "SwitchNextSword",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"Zhenzhen_Sword_Next"
],
"Target": "Target"
}
],
"Target": "Caster"
},
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"Zhenzhen_Sword_Next"
],
"IsAdd": false,
"Target": "Target"
},
{
"$type": "ApplyModifier",
"ModifierName": "MountingModifier",
"Target": "Caster"
},
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": 1,
"ParamName": "AS_SpecialHit",
"ParamType": "Integer",
"Target": "Caster"
}
]
}
]
}
]
},
"Modifiers": {
"DitherModifier": {
"Duration": -1,
"IgnoreTimeScale": false,
"ModifierStacking": "Replace",
"OnAdded": [
{
"$type": "DitherFadeAction",
"DitherFadeKey": "Avatar_Zhenzhen_Special_Dtiher_Fade_01",
"Tag": "Avatar_Zhenzhen_Special_Dtiher_Fade_01",
"Target": "Self"
}
],
"OnRemoved": [
{
"$type": "InterruptDitherFadeAction",
"Tag": "Avatar_Zhenzhen_Special_Dtiher_Fade_01",
"Target": "Self"
}
]
},
"KeepMountingTargetModifier": {
"Duration": -1,
"IgnoreTimeScale": false,
"ModifierStacking": "Replace",
"OnAdded": [
],
"OnRemoved": [
{
"$type": "SendCustomEvent",
"EventKey": "Zhenzhen_ClearMountingTag",
"IsGlobal": true,
"Target": "Self"
},
{
"$type": "RemoveModifier",
"ModifierName": "MountingModifier",
"Target": "Self"
}
]
},
"KeepSpecialHitModifier": {
"Duration": -1,
"IgnoreTimeScale": false,
"ModifierStacking": "Replace",
"OnAdded": [
],
"OnRemoved": [
{
"$type": "SendCustomEvent",
"EventKey": "Zhenzhen_ClearBranchHitTag",
"IsGlobal": true,
"Target": "Self"
},
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": 0,
"ParamName": "AS_SpecialHit",
"ParamType": "Integer",
"Target": "Self"
}
]
},
"MountingModifier": {
"Duration": -1,
"IgnoreTimeScale": false,
"ModifierStacking": "Replace",
"OnAdded": [
],
"OnRemoved": [
]
},
"MountingTargetModifier": {
"Duration": -1,
"IgnoreTimeScale": false,
"ModifierStacking": "Replace",
"OnAdded": [
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Add",
"Param": 1,
"ParamName": "AS_ActivedCount",
"ParamType": "Integer",
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "Less",
"Param": 5,
"ParamName": "AS_ActivedCount",
"ParamType": "Integer"
}
],
"Target": "Caster"
},
{
"$type": "ApplyActionGroupAction",
"GroupName": "RefreshActivedSwordCount",
"Target": "Caster"
},
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": true,
"ParamName": "Trigger_Branch_Hit",
"ParamType": 1,
"Target": "Caster"
},
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"Zhenzhen_BranchHit",
"Zhenzhen_Sword_Actived"
],
"IsAdd": true,
"Target": "Self"
},
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"Zhenzhen_Mounting"
],
"IsAdd": true,
"Target": "Self"
},
{
"$type": "SendCustomEvent",
"EventKey": "Decrease_EnhanceAttackCD",
"IsGlobal": false,
"Target": "Caster"
},
{
"$type": "ApplyActionGroupAction",
"GroupName": "CheckBranchEnable",
"Target": "Caster"
},
{
"$type": "TriggerAbilityAction",
"AbilityName": "Zhenzhen_Attack_Normal_05_Attack",
"Target": "Caster"
},
{
"$type": "CallGraphEvent",
"AbilityName": "Zhenzhen_Sword_Graph",
"EventName": "DestorySelf"
}
],
"OnCustomEventReceived": [
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"Zhenzhen_Mounting"
],
"IsAdd": false,
"Predicates": [
{
"$type": "ByCustomEvent",
"EventKey": "Zhenzhen_ClearMountingTag"
}
],
"Target": "Self"
},
{
"$type": "RemoveModifier",
"ModifierName": "MountingTargetModifier",
"Predicates": [
{
"$type": "ByOr",
"Predicates": [
{
"$type": "ByCustomEvent",
"EventKey": "Zhenzhen_ClearBranchHitTag"
},
{
"$type": "ByCustomEvent",
"EventKey": "Zhenzhen_ClearMountingTag"
}
]
},
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"Zhenzhen_Mounting"
]
}
]
},
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"Zhenzhen_BranchHit"
]
}
]
}
],
"Target": "Self"
}
],
"OnRemoved": [
{
"$type": "CallGraphEvent",
"AbilityName": "Zhenzhen_Sword_Graph",
"EventName": "DestorySelf"
},
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"Zhenzhen_Mounting"
],
"IsAdd": false,
"Target": "Self"
}
]
},
"TargetSwordZoneTagModifier": {
"Duration": 1,
"IgnoreTimeScale": false,
"ModifierStacking": "Refresh",
"OnAdded": [
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"Zhenzhen_TargetSword"
],
"IsAdd": true,
"Target": "Self"
}
],
"OnRemoved": [
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"Zhenzhen_TargetSword"
],
"IsAdd": false,
"Target": "Self"
},
{
"$type": "CallGraphEvent",
"AbilityName": "Zhenzhen_Sword_Graph",
"EventName": "Attack05Launch",
"Target": "Self"
}
]
}
}
}