DeadZone Community Packages
    Preparing search index...
    • Uses the given spell on the target item with optional delay. Must be called on the ClientThread or it will silently error

      Parameters

      • spellName: string

        the name of the spell

      • itemID: number

        the ID of the item to use the spell on

      • Optionaldelay: number

        optional delay, if one isn't supplied it'll execute the first action after API delay

      Returns number

      • a number which is equivalent to the delay used to complete all actions