Appearance
sdk.combat_shapes
Exact affected-tile resolution for player spells, runes and direct attacks.
lua
local M = require("sdk.combat_shapes")Constants
Lua 5.4 has no enums — these are integer (or string) fields on the module.
| Name | Value | Summary |
|---|---|---|
rotate | rotate | Rotate a shape by a facing. |
resolve
function · resolve(action)
Resolve a named official combat shape.
affected_tiles
function · affected_tiles(action, context)
Tiles a shape would hit from an origin and direction.
registry
function · registry()
Loaded combat-shape registry.