-
Notifications
You must be signed in to change notification settings - Fork 73
Open
Labels
Description
The method signature takes a spellComponent: number but nothing tells you what number to use. You have to dig through test files to find that Wind Strike = 1152. The test file imports from a Spells constant, but that's not exported from the SDK.
Wish: Either export a Spells enum from the SDK (import { Spells } from 'sdk'), or accept a spell name string (bot.castSpellOnNpc(target, 'Wind Strike')), or at minimum document the component IDs in API.md.
Reactions are currently unavailable