event SPELL_AURA_APPLIED occurs on every loading screen
Hello,
I am playing a sound every time a player receives a buff but unfortunately this also occurs after each loading screen. Since the player has +5 buffs after a loading screen the sound multiplies 5 times. I would not like to play it after a loading screen. Lua Code:
Is there a possibility to detect if the buff is applied by a player or an other player as a spellcast? Or creating a variable that would reset itself after a loading screen after 3 seconds would be better? What would be a good way to approach this issue? |
I figured it out!
Lua Code:
Did the job. |
All times are GMT -6. The time now is 05:47 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI