Sol.data.skills.UnitDeBuffIndex

Sol.data.skills.UnitDeBuffIndex = function(unit, debuffName)
Get the index of the specified debuff on the unit
Parameters:
+ unit - standard unit string ("player", "target", etc)
+ buffName - name of the debuff to look for
Returns:
+ index in the debuff list that the specified debuff is at, or -1 if not found