Appearance
sdk.combat_rotation
@type library Ordered spell/rune combat rotation. Rule selection is deterministic; all execution is deferred through the global action broker and revalidated at send time against live creatures, inventory, tiles, cooldowns and safety.
lua
local M = require("sdk.combat_rotation")Constants
Lua 5.4 has no enums — these are integer (or string) fields on the module.
| Name | Value | Summary |
|---|---|---|
Rotation | Rotation | Combat rotation class. |
normalize_rule | normalize_rule | Normalize one rotation rule table. |
new
function · new(opts)
Create a spell/attack rotation evaluator.