PDA

View Full Version : [Lich] scrollbuff - Automates casting defensive spells from scrolls



SulienWaggles
05-10-2017, 01:23 AM
I just completed and uploaded:

scrollbuff.lic v0.0.1

Automates the process of RUMMAGing through your scroll container and casting defensive spells (if they are not running or have less than 90 minutes left). You specify one (and only one) container using: ;vars set scrollsack=backpack

The script will not cast any spell that is not defensive.

Usage: ;scrollbuff 101 107 "Strength" ... (up to 30 spells)

You can specify spell names or numbers, but the names have to match the Lich spell database, which is not always 100% exactly the same as the in-game name for the spell. When in doubt, use numbers or setup aliases with the ;alias command.

RUMMAGEs through your scrollsack, and if a scroll is found the desired spell is INVOKE'd and CAST twice. It's a bit dumb and does not check for success or failed casts. If folks have trouble I'm happy to make it smarter.

;repo download scrollbuff
;scrollbuff help

Donquix
05-10-2017, 03:08 PM
Good idea. I'm lazy and and just have an alias that rummages, casts, stores, etc. for one spell at a time but is dumb. Adding the check for the spells already being up, duration, list arg, etc. is a nice touch.

Fallen
05-10-2017, 05:40 PM
Very nice. I'll have to add this to the useful lich scripts thread.