Registering instant spell cast event
Hi all!
I am trying to edit an existing addon. This addon creates a frame with currently active Shaman Totems. What I am trying to add is to reset the frame on a successful, instant spell cast. Spell is called "Totemic Recall" and costs 0 mana. The addon does reset the frame upon event of player death. I was wondering if I could copy that outcome and paste it for a mentioned above spell cast? If yes, could You give me a hint on how to do it? Can i add it as a statement for the existing funtion below or do I need a new function and checker of some sort? I have one week of lua experience but trying to improve. Here is the function with PLAYER_DEAD event: Code:
function TotemTimers_OnEvent(event) I would be very greatful for any tips. Thank You! |
That addon was written for a very old version of WoW and will not work in Wrath Classic, you'll have to do more changes than the recall addition to make it work. Shaman did not have a totem recall option in vanilla Classic.
If you are using this addon in a private server, this website will not help you. |
All times are GMT -6. The time now is 10:00 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI