Function UnitBuff has two param (no one) and I have fixed small others bug in lua code.
In FightClass [Ohren]Beast Mastery Hunter replace
name, rank, icon, count, debuffType, duration, expirationTime, unitCaster, isStealable, shouldConsolidate, spellId = UnitBuff("target");if (duration <= 3000) then retV = "1";else retV = "0";end
by
retV = "0"; local name, rank, icon, cost, isFunnel, powerType, castTime, minRange, maxRange = GetSpellInfo(1978) ; if (name) then local name, rank, icon, count, debuffType, duration, expirationTime, unitCaster, isStealable, shouldConsolidate, spellId = UnitBuff("target", "Serpent Sting"); if (name and duration <= 3000) then retV = "1"; end end
(the best way is to contact the creator of the fightclass.)