LibLocalizedEJBosses-1.0

Libraries Login to Add Favorites
  • 0 Likes
  • Project Manager: Maat
  • World of Warcraft
  • 29 Monthly Downloads
  • Supports: 4.2
  • 1,543 Total Downloads
  • Updated 11/29/2011 6:52:35 AM
  • Created 5/12/2011 8:02:16 AM
  • 0 Favorites
  • Project Site
  • Comments
  • Release Type: Release
  • License: GNU General Public License version 3 (GPLv3)
  • Newest File: 1.1
or

About LibLocalizedEJBosses-1.0

A library to get localized boss names from the Encounter Journal.

Could maybe be a partial replacement for Babble-Boss.

Usage:

local LEJB = LibStub:GetLibrary("LibLocalizedEJBosses-1.0")
local localizedBossName, localizedBossDescription, icon = GetEncounterInfoByBossName("enUSbossName")

or

local LEJB = LibStub:GetLibrary("LibLocalizedEJBosses-1.0")
local localizedBossName, localizedBossDescription, icon = GetEncounterInfoByBossId(bossId)

where bossId is a number you can look up at the API page

note: obviously only works in clients that are at least 4.2 old since thats when the Blizzard Encounter Journal got added

------------------------------------------------------------------------
r13 | maat | 2011-11-29 12:52:00 +0000 (Tue, 29 Nov 2011) | 1 line
Changed paths:
   A /tags/1.1 (from /trunk:12)

Tagging as 1.1
------------------------------------------------------------------------
r12 | Maat | 2011-11-07 12:33:12 +0000 (Mon, 07 Nov 2011) | 1 line
Changed paths:
   M /trunk/LibLocalizedEJBosses-1.0/LibLocalizedEJBosses-1.0.lua

apparently have to set difficulty after selecting instance now
------------------------------------------------------------------------
r11 | Maat | 2011-11-07 11:20:30 +0000 (Mon, 07 Nov 2011) | 1 line
Changed paths:
   M /trunk/LibLocalizedEJBosses-1.0/LibLocalizedEJBosses-1.0.lua

add the new bosses too
------------------------------------------------------------------------
r10 | Maat | 2011-11-07 11:15:48 +0000 (Mon, 07 Nov 2011) | 1 line
Changed paths:
   M /trunk/LibLocalizedEJBosses-1.0/LibLocalizedEJBosses-1.0.lua

be ready for 4.3
------------------------------------------------------------------------

Comments

  • #1
    The .toc tries to load a nonexistant file "LibStub.lua", when in fact that's been placed in a subfolder. This leads to errors in Logs/FrameXML.log and a slightly longer loading time.

    For that matter, LibStub should be surrounded by nolib tags, but that'd be optional.
  • To post a comment, please login or register a new account.
Learn how to disable ads
Learn how to disable ads
Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster addon downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

Diablo III Giveaway

Enter Now!