In the hunter rotation you suggested helping me out getting every information for different weapons.. What im trying to do with my feral code rn is to detect how many uses Manual Crowd Pummeler has and act accordingly. I assume you can help out?
Also any suggestions on how to track energy ticks inside the code?(same thing you did with the rais timer basically) I want to time my powershifting perfectly so i can always get 80 energy compared to 60 :D Thanks a bunch for even reading this!
Thanks a bunch.. will check it out right now! Sorry for rushing you :3
Oh I read it...but I'm afraid I'm at work and can't do much atm...
Here is how I find text in a tooltip--In this case, the word "Soulbound"
I actually create a tooltip frame, then look at the text in it.
So you would do something like:
function ItemCharges(itemlink)
local charges=0
local _,_,itemID = string.find(itemlink, "item:(%d+)")
FSMBtooltip:SetOwner(UIParent, "ANCHOR_NONE");
FSMBtooltip:ClearLines()
FSMBtooltip:SetHyperlink("item:"..itemID..":0:0:0");
FSMBtooltip:Show()
local index = 1
local ltext = getglobal("FSMBtooltipTextLeft"..index):GetText()
while ltext ~= nil do
ltext = getglobal("FSMBtooltipTextLeft"..index):GetText()
if ltext ~= nil then
if string.find(ltext,"Charges") then
charges=string.gsub(ltext," %S- ","")
end
end
end
index=index+1
end
end
On the energy question, no answer for now.