WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Classic - AddOn Help/Support (https://www.wowinterface.com/forums/forumdisplay.php?f=179)
-   -   Fishing and UNIT_SPELLCAST_START (https://www.wowinterface.com/forums/showthread.php?t=58563)

Tranzalore 01-23-21 03:46 PM

Fishing and UNIT_SPELLCAST_START
 
I am making an addon that equips your gathering gear when you mouse over a harvistable node. As part of this I do not what it to try and change gear while the player is casting. I am currently tracking this with the UNIT_SPELLCAST_STOP and UNIT_SPELLCAST_START events. This works for Skinning, Minning and Herbalism but it is not being triggered when the fishing cast bar start/stops.

Is there an event I can track to know if the player is casting fishing?

Any help is appreciated.

Tranzalore 01-23-21 03:57 PM

I figured it out for fishing i need to track the UNIT_SPELLCAST_CHANNEL_STOP and UNIT_SPELLCAST_CHANNEL_START events insteat.

Lazare 01-23-21 11:35 PM

Check the scripting in the addon "Outfitter" as it has scripting for changing gear when certain things happen i.e. fishing, picking of herbs and mining.Cheers!


All times are GMT -6. The time now is 01:39 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI