WoW:TradeSkillLink: Difference between revisions

Added section to convert bitsets to spell IDs.
(added example link)
(Added section to convert bitsets to spell IDs.)
Line 44: Line 44:


TODO: Document bitfield ordering, perhaps by looking at [http://www.wowinterface.com/downloads/info10316-TradeLinks.html Maldivia's TradeLinks addon]
TODO: Document bitfield ordering, perhaps by looking at [http://www.wowinterface.com/downloads/info10316-TradeLinks.html Maldivia's TradeLinks addon]
== Bitsets to Spell IDs ==
To convert a bitset to a list of known skill spell IDs, look in [http://wiki.nibbits.com/wiki/SkillLineAbility.dbc SkillLineAbility.dbc]. Get the lines for your given SkillLineID (column 2), then sort numerically by minSkillLineRank (column 8) ascending, then by SkillLineAbilityID (column 1) ascending. Your spell IDs are in order in column 3, and a set bit in your bitstring corresponds to knowing the spell ID in that position. Column positions are accurate as of this writing (Patch 3.3.3) but may change in future patches.


== Bit Maps ==
== Bit Maps ==
Anonymous user