- Home
- Downloads
-
Addons & Mods
Featured
World of Warcraft
5,105 Addons
-
Popular Downloads
- Top World of Warcraft Addons
- Top Minecraft Server Mods
- Top Rift Addons
- Top Skyrim Mods
- Top World of Tanks WoT Mods
- Top Starcraft II Maps
- Top Terraria Maps
- Top Runes of Magic Addons
- Top Warhammer Online Addons
- Top Age of Conan Addons
-
- Curse Client
- Premium
- News
- Giveaways
- Videos
- Forums
LibReforgingInfo-1.0
- 0 Likes
- World of Warcraft
- 95 Monthly Downloads
- Supports: 4.3
- 7,198 Total Downloads
- Updated 11/29/2011 4:28:30 PM
- Created 10/15/2010 8:16:47 AM
- 5 Favorites
- Project Site
- Comments
- Release Type: Release
- License: GNU General Public License version 3 (GPLv3)
- Newest File: 1.0.6
About LibReforgingInfo-1.0
LibReforgingInfo-1.0 provides information about the reforging applied to items, i.e. which stat was converted into which stat.
LibReforgingInfo-1.0 API
:GetReforgeID(itemString)
Returns
The reforging ID applied to the item.
Arguments
- itemString
- Item string or item link
:IsItemReforged(itemString)
Returns
true if the item is reforged, false otherwise.
Arguments
- itemString
- Item string or item link
:GetReforgedStatIDs(id)
Returns
Returns nil, nil if the item is not reforged. Otherwise, returns two numbers for the changed stats. The first number is the ID of the stat which was decreased, the second number is the ID of the stat that was increased. See below for a list of stat ids.
Arguments
- id
- Reforging ID (obtained by GetReforgeID)
:GetReforgedStatNames(id)
Returns
Returns nil, nil if the item is not reforged. Otherwise, returns two strings - the first is the name of the stat which was decreased, the second string is the name of the stat that was increased. The stat names are automatically localized.
Arguments
- id
- Reforging ID (obtained by GetReforgeID)
:GetReforgedStatShortNames(id)
Returns
Same as GetReforgedStatNames, but shorter names (e.g. "Mastery" instead of "Mastery rating").
Arguments
- id
- Reforging ID (obtained by GetReforgeID)
Stat IDs
As returned by GetReforgedStatIDs.
| ID | Stat |
|---|---|
| 1 | Spirit |
| 2 | Dodge rating |
| 3 | Parry rating |
| 4 | Hit rating |
| 5 | Crit rating |
| 6 | Haste rating |
| 7 | Expertise rating |
| 8 | Mastery rating |
Usage example
local ReforgingInfo = LibStub("LibReforgingInfo-1.0") local item = GetInventoryItemLink("player", 1) if ReforgingInfo:IsItemReforged(item) then DEFAULT_CHAT_FRAME:AddMessage(item .. " is reforged:") local minus, plus = ReforgingInfo:GetReforgedStatNames(ReforgingInfo:GetReforgeID(item)) DEFAULT_CHAT_FRAME:AddMessage(minus .. " -> " .. plus) end
tag 1.0.6
0ffb2a19c51bf835daf84362db81485883245741
emelio <emelio.wow@gmail.com>
2011-11-29 23:26:39 +0100
LibReforgingInfo-1.0 1.0.6:
- TOC bump for 4.3
--------------------
emelio:
- TOC bump for 4.3
| File Name | Release Type | Game Version | Downloads | Date |
|---|---|---|---|---|
| 1.0.6 | Release | 4.3 | 3,811 | 11/29/2011 4:28:30 PM |
| 1.0.5 | Release | 4.2 | 1,262 | 6/27/2011 6:44:28 AM |
| 1.0.4 | Release | 4.1 | 887 | 4/27/2011 11:36:39 AM |
| 1.0.3 | Release | 4.0.3a | 1,155 | 11/24/2010 11:20:55 AM |
| 1.0.1-release | Release | 4.0.1 | 394 | 10/27/2010 10:15:14 AM |
| 1.0.1 | Release | 4.0.1 | 47 | 10/27/2010 10:15:13 AM |
| 1.0.0 | Release | 4.0.1 | 315 | 10/18/2010 9:29:03 AM |
Addon Packs Containing This...
Top Downloads
-
- Bagnon
- Bags & Inventory
- 380,324 Monthly Downloads
-
- Deadly Boss Mods
- Combat and Boss Encounters
- 302,560 Monthly Downloads
-
- Recount
- Combat
- 301,016 Monthly Downloads
-
- SpellFlash
- PvP, Buffs & Debuffs, Quests & Leveling, Action Bars, and Combat
- 282,737 Monthly Downloads
-
- GatherMate2_Data
- Achievements
- 210,508 Monthly Downloads
Comments