Files
ClassicAPI/src/spell
Brues d1bab7a3a4 Add C_Spell.CastAtCursor / C_Item.UseAtCursor
Vanilla 1.12.1 requires a manual click on the AoE reticle to land a
ground-target spell. This pair of functions fires the cast (or
on-use item spell) and immediately commits placement at the
cursor's current world position, matching modern `[@cursor]`
semantics:

  C_Spell.CastAtCursor(spellID)
  C_Item.UseAtCursor(itemInfo)

Chains the engine's own primitives — name-resolver to spellbook
slot, cast dispatcher, then a screen→world raycast via the existing
mouseover machinery and the placement-commit function. Cancels
cleanly when the spell isn't ground-target or the cursor is over
UI / off-screen.

Also extracts the bag-search pattern (used by `UseAtCursor` and
existing by-name action APIs) into `Item::Location::FindByArgInBags`,
alongside the existing `FindByItemID` / `FindByGUID` family.
2026-06-03 14:04:12 -05:00
..
2026-05-14 14:32:44 -05:00
2026-05-21 14:06:34 -05:00
2026-05-12 15:31:24 -05:00
2026-05-25 23:49:29 -05:00
2026-05-26 00:12:47 -05:00
2026-05-21 14:27:31 -05:00
2026-05-26 00:05:43 -05:00
2026-05-14 14:32:44 -05:00
2026-05-25 23:58:10 -05:00
2026-05-26 00:02:04 -05:00
2026-05-10 10:34:42 -05:00