{ "AbilityMixins": [ { "$type": "AttachStateWithModifierMixin", "ConfigList": [ { "AnimatorStateName": "Idle_AFK_01", "FrameCountHigh": 99, "FrameCountLow": 0, "IsLoop": false, "LayerIndex": 0, "MaxFrameCountHigh": true, "MaxFrameCountLow": false, "ModifierNameList": [ "NangongYu_RandomAFK_Modifier" ], "Target": "Caster" }, { "AnimatorStateName": "Idle_AFK_02", "FrameCountLow": 0, "IsLoop": true, "LayerIndex": 0, "MaxFrameCountHigh": true, "MaxFrameCountLow": false, "ModifierNameList": [ "NangongYu_RandomAFK_Modifier", "IdolTeam_Modifier" ], "Target": "Caster" }, { "AnimatorStateName": "Idle_AFK_02", "FrameCountLow": 42, "IsLoop": true, "LayerIndex": 0, "MaxFrameCountHigh": true, "MaxFrameCountLow": false, "ModifierNameList": [ "NangongYu_WeaponInvisibile" ], "Target": "Caster" } ], "IsSeam": false } ], "AbilityName": "NangongYu_AfkManager", "AbilitySpecials": { "AS_AriaInTeam": { "Value": 0, "ValueType": "Integer" }, "AS_SummerInTeam": { "Value": 0, "ValueType": "Integer" } }, "AbilityStacking": "Unique", "DefaultModifier": { "OnAdded": [ { "$type": "TriggerSoundAction", "Target": "TeamEntity", "soundActionKey": "SA_Aria_Idle_AFK_02_BGM_End" }, { "$type": "ApplyAbilityAction", "AbilityName": "Aria_IdolMusicManager", "Target": "TeamEntity" }, { "$type": "ApplyModifier", "ModifierName": "TeamIdolCheckModifier", "Target": "TeamAvatars" }, { "$type": "RandomOperator", "Odds": 0.5, "OnFailure": [ { "$type": "SetAnimCtrlerParamAction", "IntVal": 0, "ParamName": "Int_AFKType", "ParamType": 3, "Target": "Self" } ], "OnSuccess": [ { "$type": "SetAnimCtrlerParamAction", "IntVal": 1, "ParamName": "Int_AFKType", "ParamType": 3, "Target": "Self" } ], "Target": "Self" } ] }, "Modifiers": { "IdolDanceModifier": { "Duration": -1, "IgnoreTimeScale": true, "ModifierStacking": "Unique", "OnAdded": [ { "$type": "PushInvincibleAction", "Tag": "IdolDanceInvincible", "Target": "Self" } ], "OnRemoved": [ { "$type": "PopInvincibleAction", "Tag": "IdolDanceInvincible", "Target": "Self" } ] }, "IdolTeam_Modifier": { "Duration": -1, "IgnoreTimeScale": true, "ModifierMixins": [ { "$type": "FrameHaltSyncMixin", "CustomTargetKey": "AbilityTarget_Aria_FindAria", "SyncTargetting": "Custom" }, { "$type": "FrameHaltSyncMixin", "CustomTargetKey": "AbilityTarget_Summer_FindSummer", "SyncTargetting": "Custom" } ], "ModifierStacking": "Unique", "OnAdded": [ { "$type": "BranchOperator", "Conditions": [ { "$type": "ByAbilitySpecial", "CompareType": "Equal", "Param": 1, "ParamName": "AS_AriaInTeam", "ParamType": "Integer" }, { "$type": "ByAvatarIsOnStage", "CustomKey": "AbilityTarget_Aria_FindAria", "IsOnStage": false, "Target": "Custom" }, { "$type": "ByIsLocalAvatar", "IsLocalAvatar": true, "Target": "Caster" }, { "$type": "ByIsLocalAvatar", "CustomKey": "AbilityTarget_Aria_FindAria", "IsLocalAvatar": false, "Target": "Custom" }, { "$type": "ByAliveState", "AliveState": "Alive", "CustomKey": "AbilityTarget_Aria_FindAria", "Target": "Custom" } ], "SuccessActions": [ { "$type": "CoAttackStartAction", "SwitchInIndex": 1500, "TargetAvatarID": 1501, "TargetPosRot": { "CoordsOption": "ReferTarget", "NeedRaycastGround": true, "Offset": { "AngleOffset": { "x": 0, "y": 0, "z": 0 }, "BackupAngleOffset": { "x": 0, "y": 0, "z": 0 }, "BackupPositionOffset": { "x": 0, "y": 0, "z": 0 }, "IsClampOffsetDistance": false, "PositionOffset": { "x": 0.8, "y": 0, "z": -0.4 } }, "TargetOption": { "$type": "ConfigPosRotReferTarget", "OffsetReferTarget": "Self" } } }, { "$type": "ApplyModifier", "CustomKey": "AbilityTarget_Aria_FindAria", "ModifierName": "IdolDanceModifier", "Target": "Custom" } ] }, { "$type": "BranchOperator", "Conditions": [ { "$type": "ByIsLocalAvatar", "IsLocalAvatar": true, "Target": "Caster" }, { "$type": "ByAvatarIsOnStage", "CustomKey": "AbilityTarget_Summer_FindSummer", "IsOnStage": false, "Target": "Custom" }, { "$type": "ByAbilitySpecial", "CompareType": "Equal", "Param": 1, "ParamName": "AS_SummerInTeam", "ParamType": "Integer" }, { "$type": "ByIsLocalAvatar", "CustomKey": "AbilityTarget_Summer_FindSummer", "IsLocalAvatar": false, "Target": "Custom" }, { "$type": "ByAliveState", "AliveState": "Alive", "CustomKey": "AbilityTarget_Summer_FindSummer", "Target": "Custom" } ], "SuccessActions": [ { "$type": "CoAttackStartAction", "SwitchInIndex": 1500, "TargetAvatarID": 1491, "TargetPosRot": { "CoordsOption": "ReferTarget", "NeedRaycastGround": true, "Offset": { "AngleOffset": { "x": 0, "y": 0, "z": 0 }, "BackupAngleOffset": { "x": 0, "y": 0, "z": 0 }, "BackupPositionOffset": { "x": 0, "y": 0, "z": 0 }, "IsClampOffsetDistance": false, "PositionOffset": { "x": -0.8, "y": 0, "z": -0.4 } }, "TargetOption": { "$type": "ConfigPosRotReferTarget", "OffsetReferTarget": "Self" } } }, { "$type": "ApplyModifier", "CustomKey": "AbilityTarget_Summer_FindSummer", "ModifierName": "IdolDanceModifier", "Target": "Custom" } ] }, { "$type": "AttachEffect", "EffectPattern": "Eff_Summer_Idle_AFK_02_01_ShockWave", "IgnoreLocalAvatarLimit": true, "Target": "Self" }, { "$type": "SendCustomEvent", "EventKey": "Idol_Dance_In", "IsGlobal": true, "Target": "TeamEntity" } ], "OnRemoved": [ { "$type": "SetAnimCtrlerParamAction", "BoolVal": false, "ParamName": "Bool_IsCoAttackActive", "ParamType": 2 }, { "$type": "CoAttackFinishAction", "SwitchOutIndex": 2, "TargetAvatarID": 1501 }, { "$type": "CoAttackFinishAction", "SwitchOutIndex": 2, "TargetAvatarID": 1491 }, { "$type": "SendCustomEvent", "EventKey": "Idol_Dance_Out", "IsGlobal": true, "Target": "TeamEntity" }, { "$type": "RemoveModifier", "ModifierName": "IdolDanceModifier", "Target": "TeamAvatars" } ] }, "NangongYu_RandomAFK_Modifier": { "Duration": -1, "IgnoreTimeScale": true, "ModifierStacking": "Unique", "OnAdded": [ { "$type": "RandomOperator", "Odds": 0.5, "OnFailure": [ { "$type": "SetAnimCtrlerParamAction", "IntVal": 0, "ParamName": "Int_AFKType", "ParamType": 3, "Target": "Self" } ], "OnSuccess": [ { "$type": "SetAnimCtrlerParamAction", "IntVal": 1, "ParamName": "Int_AFKType", "ParamType": 3, "Target": "Self" } ], "Target": "Self" } ] }, "NangongYu_WeaponInvisibile": { "Duration": -1, "ModifierStacking": "Unique", "OnAdded": [ { "$type": "FireEffect", "EffectPattern": "Eff_NangongYu_Common_10_Weapon", "FireEffectPosRot": { "CoordsOption": "ReferTarget", "Offset": { "AngleOffset": { "x": 0, "y": 0, "z": 0 }, "IsUseRotationXZ": true, "IsUseRotationY": true, "PositionOffset": { "x": 0, "y": 0, "z": 0 } }, "TargetOption": { "$type": "ConfigPosRotReferTarget", "AttachPoint": "Ctr_R_Weapon_13", "IsUseAttachPointPos": true, "IsUseAttachPointRotation": true, "OffsetReferTarget": "Self" } }, "Target": "Self" }, { "$type": "FireEffect", "EffectPattern": "Eff_NangongYu_Common_10_Weapon", "FireEffectPosRot": { "CoordsOption": "ReferTarget", "Offset": { "AngleOffset": { "x": 0, "y": 0, "z": 0 }, "IsUseRotationXZ": true, "IsUseRotationY": true, "PositionOffset": { "x": 0, "y": 0, "z": 0 } }, "TargetOption": { "$type": "ConfigPosRotReferTarget", "AttachPoint": "Ctr_L_Weapon_13", "IsUseAttachPointPos": true, "IsUseAttachPointRotation": true, "OffsetReferTarget": "Self" } }, "Target": "Self" }, { "$type": "PushRenderVisibleAction", "ApplyAllRenderers": false, "Paths": [ "NangongYu_Weapon_01", "NangongYu_Weapon_02" ], "Tag": "NangongYu_Weapon_DisVisible", "Visible": false } ], "OnRemoved": [ { "$type": "PopRenderVisibleAction", "Tag": "NangongYu_Weapon_DisVisible", "Target": "Self" } ] }, "TeamIdolCheckModifier": { "Duration": 1, "ModifierStacking": "Replace", "OnAdded": [ { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Replace", "Param": 1, "ParamName": "AS_SummerInTeam", "ParamType": "Integer", "Predicates": [ { "$type": "ByEntityTemplateID", "EntityType": "Avatar", "Target": "Self", "TemplateID": 1491 } ], "Target": "Caster" }, { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Replace", "Param": 1, "ParamName": "AS_AriaInTeam", "ParamType": "Integer", "Predicates": [ { "$type": "ByEntityTemplateID", "EntityType": "Avatar", "Target": "Self", "TemplateID": 1501 } ], "Target": "Caster" } ] } } }