{ "AbilityMixins": [ { "$type": "AttachStateWithModifierMixin", "ConfigList": [ { "AnimatorStateName": "Attack_Special_P1_01_Land", "FrameCountHigh": 0, "FrameCountLow": 0, "IsLoop": false, "LayerIndex": 0, "MaxFrameCountHigh": true, "MaxFrameCountLow": false, "ModifierNameList": [ "KeepMountingTargetModifier", "KeepSpecialHitModifier", "EffSwordModifier" ] }, { "AnimatorStateName": "Attack_Special_P1_01_Land", "FrameCountHigh": 12, "FrameCountLow": 0, "IsLoop": false, "LayerIndex": 0, "MaxFrameCountHigh": false, "MaxFrameCountLow": false, "ModifierNameList": [ "EffSwordModifier" ] }, { "AnimatorStateName": "Attack_ExSpecial_P1_01_Land", "FrameCountHigh": 0, "FrameCountLow": 0, "IsLoop": false, "LayerIndex": 0, "MaxFrameCountHigh": true, "MaxFrameCountLow": false, "ModifierNameList": [ "KeepMountingTargetModifier", "KeepSpecialHitModifier", "EffSwordModifier" ] }, { "AnimatorStateName": "Attack_Special_P1_01_Release", "FrameCountHigh": 19, "FrameCountLow": 0, "IsLoop": false, "LayerIndex": 0, "MaxFrameCountHigh": false, "MaxFrameCountLow": false, "ModifierNameList": [ "KeepMountingTargetModifier", "KeepSpecialHitModifier" ] }, { "AnimatorStateName": "Attack_Special_P1_01_Release", "FrameCountHigh": 17, "FrameCountLow": 0, "IsLoop": false, "LayerIndex": 0, "MaxFrameCountHigh": false, "MaxFrameCountLow": false, "ModifierNameList": [ "EffSwordModifier" ] }, { "AnimatorStateName": "Attack_Special_P1_01_Start", "FrameCountHigh": 0, "FrameCountLow": 0, "IsLoop": false, "LayerIndex": 0, "MaxFrameCountHigh": true, "MaxFrameCountLow": false, "ModifierNameList": [ "KeepSpecialHitModifier" ] }, { "AnimatorStateName": "Attack_ExSpecial_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": 10, "IsLoop": false, "LayerIndex": 0, "MaxFrameCountHigh": true, "MaxFrameCountLow": false, "ModifierNameList": [ "DitherModifier" ] }, { "AnimatorStateName": "Attack_ExSpecial_P1_01_Start", "FrameCountHigh": 0, "FrameCountLow": 10, "IsLoop": false, "LayerIndex": 0, "MaxFrameCountHigh": true, "MaxFrameCountLow": false, "ModifierNameList": [ "DitherModifier" ] } ] } ], "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" ], "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", "IsInstant": true } ], "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_P1_01_Release_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" } ] }, "EffSwordModifier": { "Duration": -1, "IgnoreTimeScale": false, "ModifierStacking": "Replace", "OnAdded": [ { "$type": "AttachEffect", "AttachEffectPosRot": { "CoordsOption": "ReferTarget", "Offset": { "AngleOffset": { "x": 90, "y": 0, "z": 0 }, "IsUseRotationXZ": true, "IsUseRotationY": true, "PositionOffset": { "x": 0, "y": 0, "z": 0 } }, "TargetOption": { "$type": "ConfigPosRotReferTarget", "AttachPoint": "Loc_B_Wpn_06", "IsUseAttachPointPos": true, "IsUseAttachPointRotation": true, "OffsetReferTarget": "Self" } }, "AttachPointName": "Loc_B_Wpn_06", "EffectPattern": "Eff_Zhenzhen_Attack_Normal_04_12_Weapon" } ] }, "KeepMountingTargetModifier": { "Duration": -1, "IgnoreTimeScale": false, "ModifierStacking": "Replace", "OnAdded": [ ], "OnRemoved": [ { "$type": "SendCustomEvent", "EventKey": "Zhenzhen_ClearMountingTag", "IsGlobal": true, "IsInstant": 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, "IsInstant": 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": "ApplyActionGroupAction", "GroupName": "CheckBranchEnable", "Target": "Caster" }, { "$type": "TriggerAbilityAction", "AbilityName": "Zhenzhen_Attack_Normal_05_Attack", "Target": "Caster" }, { "$type": "CallGraphEvent", "AbilityName": "Zhenzhen_Sword_Graph", "EventName": "Active" } ], "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" } ], "Target": "Self" } ], "Target": "Self" } ], "OnRemoved": [ { "$type": "CallGraphEvent", "AbilityName": "Zhenzhen_Sword_Graph", "EventName": "DestorySelf", "Target": "Self" }, { "$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" } ] } } }