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.