View Single Post
03/01/23, 10:43 AM   #7
mgsnakes
AddOn Author - Click to view addons
Join Date: Mar 2022
Posts: 5
Originally Posted by ExoY View Post
If you tried it withing CCA, can you send the code snipped for that specific ability?
Lua Code:
  1. elseif (result == ACTION_RESULT_EFFECT_GAINED and targetType == COMBAT_UNIT_TYPE_PLAYER and abilityId == CombatAlertsData.dsr.cinderShot) then
  2.         LCA.PlaySounds("FRIEND_INVITE_RECEIVED", 4, 125, "FRIEND_INVITE_RECEIVED", 3, 125, "FRIEND_INVITE_RECEIVED", 2)
  3.         CombatAlerts.Alert("DO NOT MOVE", GetAbilityName(CombatAlertsData.dsr.cinderShot), 0xFF3333FF)

As I am not a dev, I just added a line for the alert under the sound alert that already exists
  Reply With Quote