I'll look into adding a flag to the UnitDebuffID function to force an ID match, in a way that will not break old functionality (I believe it should be possible.)
The original purpose of the UnitDebuffID function was just to simplify the use of UnitDebuff or UnitBuff which only accepts a name, so that you didn't have to do a:
Code:
local spellName = GetSpellInfo(ID)
local unitDebuff = UnitDebuff("player", spellName)
Every time you want to check if a debuff is up. It also prevented localization issues from those that would be lazy and just hardcode the english name into the script.
I'll look into it.
---------- Post added at 10:06 AM ---------- Previous post was at 10:04 AM ----------
Originally Posted by
phantom325
Blizz might be on to us. When I run PQR I get this in-game an error in game that says a bunch of stuff with some of the text including:
PQR_Rotationbot
priorityTable
among other things.
That is a Lua error. The profile you are using has syntax errors.