Огнем и Мечем | Страж Смерти

Среда, 30.07.2025, 00:37
Приветствую Вас Гость
Главная

Регистрация

Вход

RSS

Каталог файлов


Главная » Файлы » Мои файлы

Аддон для ДКП
[ Скачать с сервера (32.9 Kb) ] 16.05.2008, 11:51
HoB_DKP is fully independant WoW addon for calculating items DKP value based on their stats.
It can accurately calculate the DKP value of a mixed-class/class-specific items and as extra effect the addon suggests which class should use the item.
Epic sets tier1 and tier2 have same DKP value for all classes (tier1 = 110-113DKP, tier2 = 122-125DKP, tier2.5 = 90-93DKP), so every class needs same dkp to fully equip itself with a certain set. Fair :)

How to use
Simply install the addon to your WoW addons folder. No additional libraries/mods required.
After installing click over an item link or mouse over an item. The field 'DKP Value' will appear at the bottom of items tooltip, showing the value and the item class suggestion.
* Holding the Shift key while clicking over item links will produce DKP sum of that items.
* Holding the CTRL key suppresses the DKP output
* Change the 'Multiplier' and 'Period' values ingame by using commands '/hdkp multi [value]' and '/hdkp period [value]', so the mod will multiply the output DKP value by Multiplier and round it to Period.

You can use 3 command line options
/hdkp [help] - showing help and mod version
/hdkp debug [level] - switches on/off debug mode
/hdkp item_id [enchant_id] - will produce item tooltip for item_id with enchant_id (if supplied). Example '/hdkp 18534 2568'
/hdkp multi [value] - changes the multiplier of the reported DKP value
/hdkp period [value] - changes the period of the reported DKP value

DKP weights can be changed in HoB_DKP_Data.lua file. I strongly recommend leaving this file untouched. DKP weights are ballanced for every class and messing the values can produce inaccurate DKP results.

See the changes log for more details

For developers
Any external addon can get the DKP of a certain item using the function HDKP_GetDKP(itemid, [enchantid, subid, extra])
The only required parameter is itemid of course.
The function won't produce any tooltips, it will only return the result.
Also you can change ingame the Multiplier and Period values by changing the values in the HDKP_Settings array. The structure is HDKP_Settings[UnitName("player")]["Multiplier"] and HDKP_Settings[UnitName("player")]["Period"]. All settings are saved

Files
HoB_DKP.lua - main engine
HoB_DKP_Data.lua - weights, values, resources
HoB_DKP_Localization.lua - default localization
HoB_DKP_Localization-DE.lua - DE localization
HoB_DKP_Localization-FR.lua - FR localization
HoB_Tooltip.lua - modified EnhTooltip 1.0.7

-----------------------------
M. Stoyanov aka Screamerka aka Madwitch
DND @ EU Dragonmaw
ex Heroes Of Beer @ EU Dragonmaw
Based on Nurfed_DKP v1.1 (nurfed.com) and EnhTooltip v1.0.7 (auctioneeraddon.com)
Категория: Мои файлы | Добавил: Bogumir | Автор: Bogumir
Просмотров: 12979 | Загрузок: 859 | Комментарии: 4 | Рейтинг: 0.0/0 |
Всего комментариев: 2
2 Марьяна  
0
пасибо

1 Babuka  
0
хорошо )

Добавлять комментарии могут только зарегистрированные пользователи.
[ Регистрация | Вход ]
Категории каталога
Мои файлы [18]
Форма входа
Поиск
Друзья сайта
Статистика

Онлайн всего: 1
Гостей: 1
Пользователей: 0
Мини-чат
200