wowkit API
    Preparing search index...

    Class SpellDetailsService

    Index
    • Cast time in milliseconds; 0 for an instant spell or when unknown.

      Parameters

      • spellId: number

      Returns number

    • The spell's description text; undefined until the client has loaded it.

      Parameters

      • spellId: number

      Returns string | undefined

    • The farthest the spell reaches, in yards; undefined when unknown. 0 is a melee spell.

      Parameters

      • spellId: number

      Returns number | undefined

    • Is the target within the range of the action in this bar slot? Undefined when the client does not say.

      Parameters

      • slot: number

      Returns boolean | undefined

    • An auto-repeat attack that is running now (Auto Shot, a wand's Shoot).

      Parameters

      • spellId: number

      Returns boolean

    • The client marks the spell as harmful (cast on enemies).

      Parameters

      • spellId: number

      Returns boolean

    • The client marks the spell as helpful (cast on friends).

      Parameters

      • spellId: number

      Returns boolean

    • Is the unit within the spell's range? Undefined when the client does not say.

      Parameters

      • spellId: number
      • unit: UnitToken

      Returns boolean | undefined

    • Is this error text the client's "you must be behind your target"?

      Parameters

      • message: string

      Returns boolean