From cb03c929d661594cd50328a1db54942dd330f122 Mon Sep 17 00:00:00 2001 From: Brues <5278969+brues-code@users.noreply.github.com> Date: Sun, 21 Jun 2026 02:28:12 -0500 Subject: [PATCH] Document @cursor token Add @cursor under Modifiers: engine-level ground-target placement via ClassicAPI (CastAtCursor / UseAtCursor), no reticle-click simulation. --- Conditionals.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Conditionals.md b/Conditionals.md index f28c631..9516632 100644 --- a/Conditionals.md +++ b/Conditionals.md @@ -278,3 +278,13 @@ When a spell or item brings up the ground-targeting circle (e.g., Flamestrike, B /use [mouseuse] Stratholme Holy Water -- Use Holy Water at cursor /cast [mouseuse,mod:shift] Blizzard; Frostbolt -- Shift: Blizzard at cursor, otherwise Frostbolt ``` + +### @cursor + +`[@cursor]` places a ground-target spell or on-use item at the cursor via ClassicAPI's engine-level placement (`C_Spell.CastAtCursor` / `C_Item.UseAtCursor`) — no reticle click is simulated, so there's no auto-attack side effect like `[mouseuse]` can have. For non-ground actions it falls back to a normal cast/use. Requires ClassicAPI. + +```lua +/cast [@cursor] Blizzard -- Cast Blizzard at cursor +/use [@cursor] Iron Grenade -- Throw Iron Grenade at cursor +/cast [@cursor,mod:shift] Flamestrike; Fireball -- Shift: Flamestrike at cursor, otherwise Fireball +```