Throw the whole totem set on one press

OctoWoW gives each totem element its own global cooldown category
(Fire 105, Earth 106, Water 107, Air 108), so one totem per element can
be cast at the same time. ThrowSet still stopped after the first totem
it cast, as it had to when all totems shared one global cooldown, so
"/coe throwset" dropped one totem per key press.

- ThrowSet casts every ready, not yet thrown totem of the active set.
- A second press within 1 second skips totems whose cast is not yet
  confirmed, so a double press does not drop them again.
  "/coe restartset" clears this.
- Each element gets its own pending timeout. They shared one name, so
  casting several at once replaced the earlier timeouts.
This commit is contained in:
2026-10-15 07:05:15 +00:00
parent 999445c78b
commit 72ab7c8aa5
2 changed files with 28 additions and 7 deletions
+8
View File
@@ -113,6 +113,14 @@ COE["TotemSets"] = {}
-------------------------------------------------------------------]]
COE["SetCycle"] = {Earth = false, Fire = false, Water = false, Air = false};
--[[ ----------------------------------------------------------------
COE.SetThrown stores when ThrowSet last cast each element, so a
second press does not recast a totem whose cast is still
unconfirmed. COE.SetThrowGuard is that window in seconds
-------------------------------------------------------------------]]
COE["SetThrown"] = {};
COE["SetThrowGuard"] = 1;
--[[ ----------------------------------------------------------------
COE.NoTotem is a placeholder for an empty anchor button
-------------------------------------------------------------------]]