Playsoundfile and some macro question

Hi all
So I muted some ingame sound via mutannoyingsound addon. And then I made this macro.
#showtooltip
/cast Blood Boil
/run PlaySoundFile(“568473”)
so whenever I cast Bloodboil the official sound is muted by me but it will play another Bloodboil sfx… All was working fine until I spam the macro. Is there a way to only cast it if the spell go through ? Or limit the number of times or something?

I’m guessing you could do it in Weak Auras.

can u guide me please?

Let me play with it a bit. I’ll get back to you. Shouldn’t take me more than an hour (including “I’m not quite awake yet” time).

https://wago.io/nVkFW06U0

Note: Link expires on or about 2022-12-15.

Heavy caveats here.

  1. You’ll need to change the spell name from Serpent Sting to Blood Boil
  2. I couldn’t actually get it to work with the sound kit ID - if you change the sound to a selection from the drop-down it does work. That might be because of some oddity with sound kits related to the fact that I’m not testing this on a druid (I have no clue on this - it might also be a bug in Weak Auras).

But that’s the basic structure.

Aura Type: Text
Aura Text Display: A one-character string with just a space in it (essentially it’ll be invisible).
Trigger: Combat Log > Spell > Cast Success
Spell Name: Currently Serpent Sting - need to change that to Blood Boil before trying it.
Conditions: If Trigger 1 Active == True Then Play Sound Kit 568473 into the Sound Effects Channel.

If you don’t get a sound out of that, change the Sound Channel > Sound By Kit ID to Sound Channel > (pick something from the drop down).

If it doesn’t work via sound kit ID and does work via a pick from the drop down, hit up the Weak Auras Discord and seek help there for what appears to be a bug.

Thanks!

1 Like

Thank u for this! But is this kind possible to macro it up without the use of WA tho?

The problem with doing this in a macro is that if it’s a combat activity, running the macro will be difficult and if you’re interested in only doing it when your spell succeeds, you can’t fit the necessary event handling in there.

At least I couldn’t.