Edit: tested it and it works wonders. It pummels at 90% of the cast. hope you guys can use it
Code:
local buff = { 118,116,61305,28271,28272,61780,61721,2637,33786,5185,8936,50464,19750,82326,2061,605,331,8004,51505,77472,51514,5782 }
local castingSpell, _, _, _, _, endTime = UnitCastingInfo("target")
for i,v in ipairs(buff) do
if IsSpellInRange("Pummel", "target") == 1 and PQR_IsOutOfSight("target") == false and castingSpell == GetSpellInfo(v) and endTime/1000 - GetTime() < 0.5 then
if not UnitBuffID("target", 31821) and not UnitBuffID("target", 105876) and not UnitBuffID("target", 89485) then
return true
end
end
end