WoWInterface SVN BonusScannerContinued

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 39 to Rev 40
    Reverse comparison

Rev 39 → Rev 40

trunk/BonusScanner/BonusScanner.lua
1,5 → 1,5
--------------------------------------------------
-- BonusScanner Continued v5.1
-- BonusScanner Continued v5.2
-- Originally developed by Crowley <crowley@headshot.de>
-- performance improvements by Archarodim
-- Updated for WoW 2.0 by jmlsteele
15,7 → 15,7
local _G = getfenv(0);
 
-- Initialize locals/tables
local BONUSSCANNER_VERSION = "5.1";
local BONUSSCANNER_VERSION = "5.2";
 
-- Patterns
local BONUSSCANNER_PATTERN_SETNAME = "^(.*) %(%d/%d%)$";
174,8 → 174,8
local BaseRatings = {
{ effect = "EXPERTISE", baseval = 2.5},
{ effect = "DEFENSE", baseval = 1.5},
{ effect = "DODGE", baseval = 12},
{ effect = "PARRY", baseval = 15},
{ effect = "DODGE", baseval = 13.8}, -- 3.2 Dodge Rating: The amount of dodge rating required per percentage of dodge has been increased by 15%.
{ effect = "PARRY", baseval = 13.8}, -- 3.2 Parry Rating: The amount of parry rating required per percentage of parry has been reduced by 8%.
{ effect = "BLOCK", baseval = 5},
{ effect = "TOHIT", baseval = 10},
{ effect = "CRIT", baseval = 14},
186,7 → 186,7
{ effect = "SPELLCRIT", baseval = 14},
{ effect = "HOLYCRIT", baseval = 14},
{ effect = "SPELLH", baseval = 10},
{ effect = "RESILIENCE", baseval = 25},
{ effect = "RESILIENCE", baseval = 28.75}, -- 3.2 Resilience: The amount of resilience needed to reduce critical strike chance, critical strike damage and overall damage has been increased by 15%.
{ effect = "ARMORPEN", baseval = 3.756097412109376} -- 3.1 Armor Penetration Rating: All classes now receive 25% more benefit from Armor Penetration Rating.
}
 
280,7 → 280,7
level = 34
end
if level < 10 then
return 52 / (10 - 8)
return 52 / 2
elseif level <= 60 then
return 52 / (level - 8)
elseif level <= 70 then
1017,13 → 1017,13
if not value then
_, _, token, value = string.find(tmpStr, BONUSSCANNER_PATTERN_GENERIC_SUFFIX2)
end
 
 
if token and value then
-- trim token
token = string.gsub( token, "^%s+", "" )
token = string.gsub( token, "%s+$", "" )
token = string.gsub( token, "%.$", "" )
token = string.gsub( token, "|r", "" )
token = string.gsub( token, "|r", "" )
 
if self:CheckToken(token,value) then
found = true
1066,7 → 1066,7
-- Last fallback for non generic/special enchants/effects, like "Mana Regen x per 5 sec."
function BonusScanner:CheckOther(line)
local i, p, value, start, found
 
 
for i,p in pairs(L["BONUSSCANNER_PATTERNS_OTHER"]) do
start, _, value = string.find(line, "^" .. p.pattern)
if start then
trunk/BonusScanner/BonusScanner.toc
1,6 → 1,6
## Interface: 30200
## Title: BonusScanner Continued |cff00aa005.1|r
## Version: 5.1
## Title: BonusScanner Continued |cff00aa005.2|r
## Version: 5.2
## Notes: Scans your Equipment for cumulative item bonuses and sums them up. Currently maintained and updated by Tristanian.
## Notes-deDE: Durchsucht die Ausrüstung nach Gegenstandboni und zählt diese zusammen.
## Author: Tristanian (tristanian@live.com)
trunk/BonusScanner/Changelog.txt
1,3 → 1,10
5.2 Tristanian 2009.08.09
- Updated libraries.
- Updated base ratings for 3.2, in accordance with the following changes:
Dodge Rating: The amount of dodge rating required per percentage of dodge has been increased by 15%.
Parry Rating: The amount of parry rating required per percentage of parry has been reduced by 8%.
Resilience: The amount of resilience needed to reduce critical strike chance, critical strike damage and overall damage has been increased by 15%.
------------------------------------------------
5.1 Tristanian 2009.08.04
- Major update.
- Updated toc for 30200 (WoW 3.2).
trunk/BonusScanner/libs/LibTipHooker-1.1/LibTipHooker-1.1.lua
1,18 → 1,24
--[[
Name: LibTipHooker-1.1.lua
Description: A Library for hooking tooltips.
Revision: $Revision: 5 $
Revision: $Revision: 7 $
Author: Whitetooth
Email: hotdogee [at] gmail [dot] com
LastUpdate: $Date: 2009-07-08 10:06:02 +0000 (Wed, 08 Jul 2009) $
LastUpdate: $Date: 2009-08-09 17:24:10 +0000 (Sun, 09 Aug 2009) $
Website:
Documentation:
SVN: $URL $
License: LGPL v3
]]
 
-- This library is still in early development
 
--[[ Features
{
1. Why not use the OnTooltipSetItem script hook?
OnTooltipSetItem is bugged that it's called twice on proffesion patterns, once for the pattern and once for the item it makes.
2. Maintains support for most tooltip mods
3. Hooks dynamically created tooltips
}
--]]
--[[ Tips for using TipHooker
{
This library provides tooltip hooks, mainly for use with item tooltip modification, you can easily append or modify text in a tooltip with TipHookerLib.
26,7 → 32,7
 
 
local MAJOR = "LibTipHooker-1.1"
local MINOR = "$Revision: 5 $"
local MINOR = "$Revision: 7 $"
 
local TipHooker = LibStub:NewLibrary(MAJOR, MINOR)
if not TipHooker then return end
65,14 → 71,12
"ShoppingTooltip",
"ComparisonTooltip",-- EquipCompare
"EQCompareTooltip",-- EQCompare
"tekKompareTooltip",-- takKompare
--"IRR_",-- LinkWrangler
"tekKompareTooltip",-- tekKompare
"LinkWrangler",-- LinkWrangler
"LinksTooltip",-- Links
"AtlasLootTooltip",-- AtlasLoot
"ItemMagicTooltip",-- ItemMagic
"SniffTooltip",-- Sniff
--"LH_",-- LinkHeaven
"MirrorTooltip",-- Mirror
"TooltipExchange_TooltipShow",-- TooltipExchange
"AtlasQuestTooltip",-- AtlasQuest
106,8 → 110,6
"SetLootItem",
"SetLootRollItem",
-- crafting
"SetCraftSpell",
"SetCraftItem",
"SetTradeSkillItem",
"SetTrainerService",
-- mail
130,6 → 132,9
"SetHyperlinkCompareItem",
-- 2.3.0
"SetGuildBankItem",
-- 3.0
"SetCurrencyToken",
"SetBackpackToken",
},
buff = {
"SetPlayerBuff",
155,9 → 160,8
 
local HandlerList = TipHooker.HandlerList or {}
TipHooker.HandlerList = HandlerList
local origs = {}
local Set = {
item = function(tooltip)
item = function(tooltip, ...)
if not tooltip.GetItem then return end
local name, link = tooltip:GetItem()
if not name then return end -- Check if tooltip really has an item
trunk/Broker_BonusScanner/locale/locale-enUS.lua
2,7 → 2,6
 
L["(Updating...)"] = true
L["LDB data feed to display item bonuses, based on BonusScanner addon."] = true
L["Author"] = true
L["Show minimap button"] = true
L["Enables the minimap button, for users lacking a proper LDB display. This option will nullify button/block functionality."] = true
L["About"] = true
41,4 → 40,4
 
-- 1.1 locale
L["Hide watched bonuses"] = true
L["This option hides all bonus text from the button, leaving the icon as the only visual element."] = true
\ No newline at end of file +L["This option hides all bonus text from the button, leaving the icon as the only visual element."] = true
trunk/Broker_BonusScanner/locale/locale-zhTW.lua
1,9 → 1,8
local L = LibStub("AceLocale-3.0"):NewLocale("Broker_BonusScanner","zhTW")
local L = LibStub("AceLocale-3.0"):NewLocale("Broker_BonusScanner","zhTW")
if not L then return end
 
L["(Updating...)"] = "(更新中...)"
L["LDB data feed to display item bonuses, based on BonusScanner addon."] = "顯示裝備加成的LDB數據, 來自BonusScanner插件."
L["Author"] = "作者"
L["Show minimap button"] = "顯示小地圖按鈕"
L["Enables the minimap button, for users lacking a proper LDB display. This option will nullify button/block functionality."] = "啟用小地圖按鈕,能夠顯示LDB信息."
L["About"] = "關於"
42,4 → 41,4
 
-- 1.1 locale
L["Hide watched bonuses"] = "隱藏顯示的獎勵類型"
L["This option hides all bonus text from the button, leaving the icon as the only visual element."] = "這個選項會隱藏所有顯示的獎勵統計類型,只保留圖標顯示."
\ No newline at end of file +L["This option hides all bonus text from the button, leaving the icon as the only visual element."] = "這個選項會隱藏所有顯示的獎勵統計類型,只保留圖標顯示."
trunk/Broker_BonusScanner/locale/locale-esES.lua
3,10 → 3,10
 
L["(Updating...)"] = "(Actualizando...)"
L["LDB data feed to display item bonuses, based on BonusScanner addon."] = "Origen de datos LDB para mostrar mejoras de objetos, basado en el addon BonusScanner."
L["Author"] = "Autor"
L["Show minimap button"] = "Mostrar botón en el minimapa"
L["Enables the minimap button, for users lacking a proper LDB display. This option will nullify button/block functionality."] = "Activa el botón del minimapa, para usarios sin un adecuado visor LDB. Esta opción anulará la característica botón/panel"
L["About"] = "Acerca de"
L["Author"] = "Autor"
L["Version"] = "Versión"
L["Category"] = "Categoría"
L["Email"] = "Email"
trunk/Broker_BonusScanner/locale/locale-zhCN.lua
1,9 → 1,8
local L = LibStub("AceLocale-3.0"):NewLocale("Broker_BonusScanner","zhCN")
local L = LibStub("AceLocale-3.0"):NewLocale("Broker_BonusScanner","zhCN")
if not L then return end
 
L["(Updating...)"] = "(更新中...)"
L["LDB data feed to display item bonuses, based on BonusScanner addon."] = "显示装备加成的LDB数据, 来自BonusScanner插件."
L["Author"] = "作者"
L["Show minimap button"] = "显示小地图按钮"
L["Enables the minimap button, for users lacking a proper LDB display. This option will nullify button/block functionality."] = "启用小地图按钮,能够显示LDB信息."
L["About"] = "关于"
42,4 → 41,4
 
-- 1.1 locale
L["Hide watched bonuses"] = "隐藏显示的奖励类型"
L["This option hides all bonus text from the button, leaving the icon as the only visual element."] = "这个选项会隐藏所有显示的奖励统计类型,只保留图标显示."
\ No newline at end of file +L["This option hides all bonus text from the button, leaving the icon as the only visual element."] = "这个选项会隐藏所有显示的奖励统计类型,只保留图标显示."