Originally Posted by
derfred
Nope still doesnt work, same problem that he casts raise dead before waiting for 10 stacks
This is what ive tried now
local bUS = UnitBuffID("player", 53365)
local bPoF = UnitBuffID("player",51271)
local _,_,_,count = UnitBuffID("player",107966)
if count and count == 10 and bUS ~= nil and bPoF ~= nil then
return true
end
end
end
but still doesnt work
which version of the trinket do u have?
Code:
local EoU = { 109748, 107966, 109750 } -- LFR, Normal, Heroic
local bUS = UnitBuffID("player", 53365)
local bPoF = UnitBuffID("player",51271)
local TrinketType = nil
local hasTrinket = false
for i=13, 14 do
-- We're checking both possible Trinket Slots for the trinket
local ItemSlotID = GetInventoryItemID("player", i)
-- We're going to find out which trinket you have (LFR, Normal, Heroic) and save that number to run our checks on)
for y=1, 3 do
if ItemSlotID == EoU[y] then
hasTrinket = true
TrinketType = y
end
end
end
--We're checking that hasTrinket is no longer false, and TrinketType is not nil
if hasTrinket and TrinketType then
-- We're checking if we currently have Titanic Strength buff on us
if UnitBuffID("player", EoU[TrinketType]) then
-- If we have the Buff, now we're checking if the count number is 10 or higher (I always do greater than or equal to for bugs sakes)
if select(4, UnitBuffID("player", EoU[TrinketType])) >= 10 then
-- Now we're checking if Unholy Strength and Pillar of Frost are both up
if bUS and bPoF then
-- If everything works out, it should cast properly
return true
end
end
end
end
Not even remotely tested...... but maybe that would work?
*edit* as you can see i'm home now, so willing to write out some more experimental code for u to try XD
If this doesn't cause an error, but still casts before u reach your 10 count and buffs on...... somewhere in your profile there is something else casting it.....