{ "AbilityMixins": [ { "$type": "AttachStateWithModifierMixin", "ConfigList": [ { "AnimatorStateName": "Idle_AFK_01", "FrameCountHigh": 99, "FrameCountLow": 0, "IsLoop": false, "LayerIndex": 0, "MaxFrameCountHigh": true, "MaxFrameCountLow": false, "ModifierNameList": [ "Aria_RandomAFK_Modifier" ], "Target": "Caster" }, { "AnimatorStateName": "Idle_AFK_02", "FrameCountLow": 0, "IsLoop": true, "LayerIndex": 0, "MaxFrameCountHigh": true, "MaxFrameCountLow": false, "ModifierNameList": [ "Aria_RandomAFK_Modifier", "IdolTeam_Modifier" ], "Target": "Caster" } ], "IsSeam": false } ], "AbilityName": "Aria_AfkManager", "AbilitySpecials": { "AS_NangongInTeam": { "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": { "Aria_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" } ] }, "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_Summer_FindSummer", "SyncTargetting": "Custom" } ], "ModifierStacking": "Unique", "OnAdded": [ { "$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" }, { "$type": "ByNot", "Predicates": [ { "$type": "ByObstacle", "CheckShape": "FanCollision", "FanAngleMax": 40, "FanAngleMin": 160, "FanDistanceMax": 2, "FanDistanceMin": 0, "IsFanSymmetric": false, "Target": "Self" } ] } ], "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": "BranchOperator", "Conditions": [ { "$type": "ByIsLocalAvatar", "IsLocalAvatar": true, "Target": "Caster" }, { "$type": "ByAbilitySpecial", "CompareType": "Equal", "Param": 1, "ParamName": "AS_NangongInTeam", "ParamType": "Integer" } ], "SuccessActions": [ { "$type": "CoAttackStartAction", "SwitchInIndex": 1500, "TargetAvatarID": 1511, "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": "SendCustomEvent", "EventKey": "Idol_Dance_In", "IsGlobal": true, "Target": "TeamEntity" } ], "OnRemoved": [ { "$type": "SetAnimCtrlerParamAction", "BoolVal": false, "ParamName": "Bool_IsCoAttackActive", "ParamType": 2 }, { "$type": "CoAttackFinishAction", "SwitchOutIndex": 2, "TargetAvatarID": 1491 }, { "$type": "CoAttackFinishAction", "SwitchOutIndex": 2, "TargetAvatarID": 1511 }, { "$type": "SendCustomEvent", "EventKey": "Idol_Dance_Out", "IsGlobal": true, "Target": "TeamEntity" }, { "$type": "RemoveModifier", "ModifierName": "IdolDanceModifier", "Target": "TeamAvatars" } ] }, "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_NangongInTeam", "ParamType": "Integer", "Predicates": [ { "$type": "ByEntityTemplateID", "EntityType": "Avatar", "Target": "Self", "TemplateID": 1511 } ], "Target": "Caster" } ] } } }