LibBossIDs-1.0

LibBossIDs-1.0 provides a table that flags mobIDs true if the mob linked to the ID is a boss. Example: if LibStub("LibBossIDs-1.0).BossIDs[mobID] then print("Found a boss!") end

One can get the mobID from a GUID the following way: mobid = tonumber(GUID:sub(9, 12), 16)

You must login to post a comment. Don't have an account? Register to get one!

  • 1 comment
  • Avatar of jokeyrhyme jokeyrhyme Tue, 22 Dec 2009 20:01:45

    Just a heads up. I believe the 3.3 method of getting a MobID is now:

    mobid = tonumber(GUID:sub(7, 10), 16)
    

    I sourced this from the official 3.3 API Changes thread which states:

    Quote:

    The format of NPC GUId's has changed, the creature ID is now two hex digits (8 bits) to the left, e.g. Hogger (0x1C0) is now xF13001C0000005D2 (formerly xF1300001C00005D2)

  • 1 comment

Facts

Date created
12 Mar 2009
Category
Last update
03 Feb 2010
Development stage
Beta
License
Public Domain
Curse link
LibBossIDs-1.0
Reverse relationships
6
Recent files
  • A: r41 for 3.3.0 on 03 Feb 2010
  • A: r40 for 3.3.0 on 03 Feb 2010
  • A: r39 for 3.3.0 on 21 Jan 2010
  • A: r38 for 3.3.0 on 20 Jan 2010
  • A: r37 for 3.3.0 on 15 Jan 2010

Authors

Relationships

Embedded library
Ace3