Page 1 of 1

How to get Skill-IDs?

Posted: Wed Jan 18, 2012 7:31 pm
by mortimer
Hi Guys,

today i tried to get skill-ids for the Mage-Warden eliteskills: "Earth Groaning Wind Blade" and "Earth Scepter"

for this i used

Code: Select all

/script SendSystemChat(tonumber(string.sub(GetSkillHyperLink("4", "24"), 8 , 12), 16));
but did not get any ID, after i mentioned that it tonumber should be in range of 9 to 13 i got values, but they did not match any in the skill-database(looked for known skills with that code above with different skill-numbers).

i'll be happy if some1 can tell me, how to get skill-ids from that game.

Thx & Best
Mort

Re: How to get Skill-IDs?

Posted: Wed Jan 18, 2012 7:38 pm
by lisa
http://romdata.getbuffed.com/skill/list/1#warden

Go to either runesdatabase or getbuffed, usually the url to the skill has the skill Id.

Re: How to get Skill-IDs?

Posted: Wed Jan 18, 2012 8:56 pm
by M4gm4
.....and how can i get a Buff ID ?

Buffs not listet on runesdatabase

edit:buffs with diffrent name as item/skill

Re: How to get Skill-IDs?

Posted: Wed Jan 18, 2012 9:33 pm
by rock5
You can use the ItemPreview addon. That shows buffs too.

Whats the name of the buff? I'll look it up for you if you like.

Edit: Or use this to get your buff Ids. You can save it to a macro for future use if you like.

Code: Select all

/script i=1 while UnitBuff( "player", i) ~= nil do name, __, __, ID = UnitBuff( "player", i) SendSystemChat(name.." "..ID) i = i + 1 end

Re: How to get Skill-IDs?

Posted: Thu Jan 19, 2012 4:55 am
by mortimer
is there nothing usable within micromacro or Romscript to get the ids?


----

for buffs i use "player.Buffs" like this:

Code: Select all

function viewBuffIds()
	for k,v in pairs(player.Buffs) do 
		if v.Id ~= 0 then 
			print(k, v.Id, v.Name) 
		end 
	end
end
You can save this in a userfunction and use it within CommandLine

Re: How to get Skill-IDs?

Posted: Thu Jan 19, 2012 5:39 am
by M4gm4
rock5 wrote:You can use the ItemPreview addon. That shows buffs too.

Whats the name of the buff? I'll look it up for you if you like.

Edit: Or use this to get your buff Ids. You can save it to a macro for future use if you like.

Code: Select all

/script i=1 while UnitBuff( "player", i) ~= nil do name, __, __, ID = UnitBuff( "player", i) SendSystemChat(name.." "..ID) i = i + 1 end

coool, works very nice, thank youuuu :D