hello
prompt how to learn buffName For example: Potion: Unbridled Enthusiasm buffName = 506684 and how to learn buffName Hero Potion?
thanks in advance
BuffName
Re: BuffName
In chat to find buffid :
/run for i=1,100 do local n,_,_,id=UnitDebuff("target",i) if n then DEFAULT_CHAT_FRAME:AddMessage(n.." = "..id) else break end end
Hero potion (or Hero Magic Medicine) buff id is 501337
For the itemid to use I go to the runes database, search the item and take the item number from the url.
From your example:
edit - can't post links...
200277 is the the itemid for Hero's potion.
Then I have been using something like the below
if not player:hasBuff("501337") then
inventory:useItem(200277)
end
/run for i=1,100 do local n,_,_,id=UnitDebuff("target",i) if n then DEFAULT_CHAT_FRAME:AddMessage(n.." = "..id) else break end end
Hero potion (or Hero Magic Medicine) buff id is 501337
For the itemid to use I go to the runes database, search the item and take the item number from the url.
From your example:
edit - can't post links...
200277 is the the itemid for Hero's potion.
Then I have been using something like the below
if not player:hasBuff("501337") then
inventory:useItem(200277)
end
-
- Posts: 15
- Joined: Wed Jan 25, 2012 6:40 am
Re: BuffName
where it to write?runnpray wrote:In chat to find buffid :
/run for i=1,100 do local n,_,_,id=UnitDebuff("target",i) if n then DEFAULT_CHAT_FRAME:AddMessage(n.." = "..id) else break end end
Re: BuffName
Hit Enter and type or cut and paste into chat
-
- Posts: 15
- Joined: Wed Jan 25, 2012 6:40 am
Re: BuffName
I copied in a chat but doesn't work (runnpray wrote:Hit Enter and type or cut and paste into chat
Re: BuffName
ah, I see what I did. I gave you the script for DeBuff's not Buffs try
/run for i=1,100 do local n,_,_,id=UnitBuff("target",i) if n then DEFAULT_CHAT_FRAME:AddMessage(n.." = "..id) else break end end
/run for i=1,100 do local n,_,_,id=UnitBuff("target",i) if n then DEFAULT_CHAT_FRAME:AddMessage(n.." = "..id) else break end end
-
- Posts: 15
- Joined: Wed Jan 25, 2012 6:40 am
Re: BuffName
aa!!runnpray wrote:ah, I see what I did. I gave you the script for DeBuff's not Buffs try
/run for i=1,100 do local n,_,_,id=UnitBuff("target",i) if n then DEFAULT_CHAT_FRAME:AddMessage(n.." = "..id) else break end end
super
thx
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot] and 0 guests