Originally Posted by
derfred
Im trying to force the profile to wait with raise dead until ive got 10 stacks of titanic strength from the trinket eye of unmaking. This is what i came up with but it doesnt seem to work, anyone care to shed some light over this?
local bUS = UnitBuffID("player", 53365)
local bPoF = UnitBuffID("player",51271)
local _,_,_,count = UnitBuffID("player",107966)
if count = 10 and bUS ~= nil and bPoF ~= nil then CastSpellByID(13165
return true
end
end
Code:
local bUS = UnitBuffID("player", 53365)
local bPoF = UnitBuffID("player",51271)
local _,_,_,count = UnitBuffID("player",107966)
if count == 10 and bUS ~= nil and bPoF ~= nil then
CastSpellByID(13165)
end
try that count was missing a '= ' and your castspellid was missing ')'. also in your case using castspellbyid you shouldn't need to return true so you can drop that and you can set the spellid to 0.