Commit Graph
6 Commits
Author SHA1 Message Date
shaga 04de23b2c9 Fix totem casts erroring when the item cache is empty
ScanTotems reads each totem's element from the "Tools: <Element> Totem"
tooltip line. That line names the totem item, so it stays incomplete until
the item is in the client's item cache (WDB). The OctoWoW launcher clears
WDB on every launch by default, so the login scan left every element empty
and casting any totem failed in SetPendingTotem with
"COE_TotemLogic.lua:645: attempt to index field '?' (a nil value)".

- Fall back to a table of the English totem names when the tooltip gives
  no element.
- Leave out spells that only have "Totem" in their name and no element
  (e.g. "Change Appearance: Mark of the Grim Totem"); they were treated as
  totems and hit the same error even with a warm cache.
- SetPendingTotem skips a totem without a known element instead of erroring.
2026-10-05 19:29:10 +00:00
MDGitHubRepo 8d904ad02d Updated pending totem logic
Pending totem logic was only storing the latest pending totem. Refactored it to have a pending totem for each element type so that they do not overwrite when using throwset.
2024-12-14 14:04:16 -05:00
MDGitHubRepo 8f135ba494 Formatting changes 2024-12-14 13:38:00 -05:00
MDGitHubRepo f68fb493a4 Rewrote totemic recall trigger to a different event.
Rewrote the totemic recall trigger logic and removed resent message in method.
2024-12-02 16:37:49 -05:00
MDGitHubRepo e109bf4bfd Fixed totemic recall reset logic.
Totemic recall needs to reset totem timers.
2024-12-01 16:05:15 -05:00
MDGitHubRepo 233acdbaaa Add files via upload
Updated totemdata.lua to ignore spellname "Totemic Recall" when building the totems.
2024-11-29 13:25:01 -05:00