999445c78be17e5385514f8055506d75d99fc785
GetTotemDurationAndHealth reads the totem description from tooltip line 5. When that line was empty it returned only duration and health, so the three-value assignment in ScanTotems left the rank's Cooldown nil, and dropping that totem failed in ActivateTotem with "COE_TotemLogic.lua:776: attempt to compare number with nil". - Always return duration, health and cooldown. - When line 5 is empty, read the description from the last tooltip line. It moves up when the tooltip is shorter, e.g. without the "Tools:" line while the totem item is not in the item cache. - Clear line 5 before SetSpell so a shorter tooltip cannot reuse the previous totem's text.
turtle-wow-call-of-elements
Shaman totem addon for turtle wow. Based on https://github.com/laytya/CallOfElements, using an older version for vanilla client.
To use the addon:
- download repo or release
- extract folder named "turtle-wow-call-of-elements-xxxx" from zip to turtle wow Interface/Addons folder path
- rename folder to "CallOfElements", make sure files are in CallOfElements folder
Dependencies:
- COE requires the addon Chronos. It can be found in this repository of addons https://github.com/refaim/Vanilla-WoW-1.12-Addon-Development-Libraries-Archive. Download the repository and copy the "Chronos" file into the addons folder located at turtle_wow_folder\Interface\AddOns.
Languages
Lua
100%