Thread Tools Display Modes
04-29-16, 10:19 AM   #1
morish
A Kobold Labourer
Join Date: Mar 2013
Posts: 1
I Need help with a pet battle turn counter.

I'm trying to make a pet battle turn counter but I do not have much experience with lua/developing addons so I'm trying currently create this as a weak aura.

I'm trying to use the CHAT_MSG_PET_BATTLE_COMBAT_LOG event :
http://wowprogramming.com/docs/event...TLE_COMBAT_LOG

This event should return the pet battle combat log which should contain a line saying what turn it currently is:
"[05:35] [Pet Battle Combat]: Round 1"

This is what I have got so far:

http://i.imgur.com/fBERYB1.jpg
and
http://i.imgur.com/ItHR6Gz.jpg

When in a pet battle the aura only displays "1.#INF", from what I understand this seems to be returned when there's some sort of exception.

Any help/tips would be greatly appreciated.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » I Need help with a pet battle turn counter.


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off