{ "AbilityName": "Aria_IdolMusicManager", "AbilitySpecials": { "AS_DanceIdol_Count": { "Value": 0, "ValueType": "Integer" } }, "AbilityStacking": "Unique", "DefaultModifier": { "OnAdded": [ { "$type": "TriggerSoundAction", "Target": "TeamEntity", "soundActionKey": "SA_Aria_Idle_AFK_02_BGM_End" } ], "OnCustomEventReceived": [ { "$type": "BranchOperator", "Conditions": [ { "$type": "ByCustomEvent", "EventKey": "Idol_Dance_In" } ], "SuccessActions": [ { "$type": "TriggerSoundAction", "Predicates": [ { "$type": "ByAbilitySpecial", "CompareType": "Equal", "Param": 0, "ParamName": "AS_DanceIdol_Count", "ParamType": "Integer" } ], "Target": "TeamEntity", "soundActionKey": "SA_Aria_Idle_AFK_02_BGM_Start" }, { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Add", "Param": 1, "ParamName": "AS_DanceIdol_Count", "ParamType": "Integer" } ] }, { "$type": "BranchOperator", "Conditions": [ { "$type": "ByCustomEvent", "EventKey": "Idol_Dance_Out" } ], "SuccessActions": [ { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Add", "Param": -1, "ParamName": "AS_DanceIdol_Count", "ParamType": "Integer" }, { "$type": "TriggerSoundAction", "Predicates": [ { "$type": "ByAbilitySpecial", "CompareType": "Equal", "Param": 0, "ParamName": "AS_DanceIdol_Count", "ParamType": "Integer" } ], "Target": "TeamEntity", "soundActionKey": "SA_Aria_Idle_AFK_02_BGM_End" } ] } ], "OnLevelEndNodeInvoke": [ { "$type": "TriggerSoundAction", "Target": "TeamEntity", "soundActionKey": "SA_Aria_Idle_AFK_02_BGM_End" } ] } }