which version of the trinket do u have?
Code:
local EoU = { 109748, 107966, 109750 } -- LFR, Normal, Heroiclocal bUS = UnitBuffID("player", 53365)local bPoF = UnitBuffID("player",51271)local TrinketType = nillocal hasTrinket = falsefor 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 endend--We're checking that hasTrinket is no longer false, and TrinketType is not nilif 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 endend
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.....
Afraid to bring bad news again, doesnt work. However it doesnt cast raise dead at all now, so i guess thats some improvements =)
Oh and ive got the normal version of eye of unmaking (107966)
And i also dont want to have "Unholy Strength" as a requirement for casting raise dead, just want pillar of frost and synapse springs with 10 stacks of titanic strength from the trinket.
Thanks for the help!