|!LibTotemInfo-v1.0.4.zip release||11.11 KB||Dec 25, 2019||1.13.3||7,133||Download|
|!LibTotemInfo-v1.0.3.zip release||10.83 KB||Dec 24, 2019||1.13.3||333||Download|
|!LibTotemInfo-v1.0.2.zip release||10.76 KB||Dec 19, 2019||1.13.3||2,069||Download|
|!LibTotemInfo-v1.0.1.zip release||10.27 KB||Dec 17, 2019||1.13.3||1,133||Download|
|!LibTotemInfo-1.0.zip release||4.99 KB||Dec 13, 2019||1.13.3||1,040||Download|
A compatible implementation of
GetTotemInfo() API for WoW Classic 1.13.3.
I noticed that Wow Classic 1.13.4 has been added
So I don't think we need this addon anymore.
Please consider removing
!LibTotemInfo to see if the other addon is working well.
已废弃 (Discarded: zhCN)
You should know that Blizzard removed the totem information API from Wow Classic 1.13.3, which caused many totem timers to not work.
I created a simple addon and restored one of the APIs (
GetTotemInfo). In this way most totem timers can work normally.
The code from RotationMaster by PreZ and edited / fixed by SwimmingTiger.
Download it and put it in your
World of Warcraft\_classic_\Interface\Addons\!LibTotemInfo folder. Please note the leading
!, it is to make it load earlier than other addons. Don't rename it.
And, if you get the folder
LibTotemInfo-master, you can rename it to
!LibTotemInfo (This folder will appear when you download the repository ZIP directly. It is recommended to download the zip from AddonsWoW) or keep the current name. The latest version of the addon folder can be named under the following two names:
Then it should be in the addon list and displayed as
Lib: TotemInfo-1.0. Enable it, and your totem timer will work again.
Verified working addons without modification
- NugRunning (The latest version of NugRunning has LibTotemInfo embedded and no longer needs to be installed separately.)
Fix Totem Mods has features similar to LibTotemInfo. If LibTotemInfo does not meet your requirements or not works for your addons, you can try it.
For AddOn Developer
AddonsWoW's Markdown engine is disappointing. It is recommended to go to GitHub to read the documentation.
You can embed the project, just like this:
local GetTotemInfo = LibStub("LibTotemInfo-1.0").GetTotemInfo
for i =1, 4 do
The Global API
GetTotemInfo does not exist, the library will register
GetTotemInfo as its own implementation. So addons that rely on
GetTotemInfo can use this function directly, without having to instantiate it from LibStub.
Interfaces currently implemented:
— Added return value by the lib (not in Blizzard old interface):
— spellid – int, the totem's spell id.
— rank – int (1 to 8) or nil, the rank of the totem spell.
— nil indicates that there is no rank for this totem.
haveTotem, totemName, startTime, duration, icon, spellid, rank = GetTotemInfo(1 through 4)
timeLeft = GetTotemTimeLeft(1 through 4)
See details at https://wow.gamepedia.com/API_GetTotemInfo
Inherited the Apache License Version 2.0 from the Rotation Master project.