Buff Settings - elanthia-online/dr-scripts GitHub Wiki

Description

Casts one of your waggle sets: spells, Thief khri or Barbarian abilities. Many scripts run it to cast the set they need, such as ;buff burgle or ;buff astrology, and each of those expects a set with that name. It casts once, then exits. To keep a set up in the background, use Buff Watcher.

It casts where you are, without walking anywhere. If you run it yourself, go somewhere safe first.
Clerics: if Osrel Meraud is up and below 90, it infuses it first (see Casting).

Settings

YAML Settings

Waggle sets

waggle_sets:
  default:
    Manifest Force:
      mana: 50
      cambrinth:
      - 50
    Centering:
      mana: 50
      cambrinth:
      - 50
  prebuff:
    Manifest Force:
      mana: 50
      cambrinth:
      - 50
    Veil of Ice:
      mana: 50
      cambrinth:
      - 50

Each set lists spells with their casting settings, in the same format every script uses; see Waggle Sets. Thieves list khri and Barbarians list abilities instead.

For spells:

  • A spell that's already active is skipped, unless it has a recast value and that many minutes or fewer left.
  • A spell with night: true is only cast at night, and one with day: true only by day, going by the sun data moonwatch keeps. With no sun data, neither is cast.
  • With use_auto_mana: true, the mana and cambrinth charges come from DISCERN.

Casting

waggle_force_cambrinth: true
waggle_spells_mana_threshold: 40
waggle_spells_concentration_threshold: 80
check_discern_timer_in_hours: 24
osrel_amount:
osrel_no_harness: false
Setting Default Purpose
waggle_force_cambrinth true Always charge cambrinth for spells that list it.
waggle_spells_mana_threshold 40 Before each spell, wait until you have at least this much mana...
waggle_spells_concentration_threshold 80 ...and at least this much concentration. It checks every 15 seconds.
check_discern_timer_in_hours 24 How often use_auto_mana spells are DISCERNed again.
osrel_amount Clerics: mana to infuse into Osrel Meraud when it's below 90. Blank: never infuse.
osrel_no_harness false Clerics: infuse without harnessing the mana first.

Argument Settings

Argument Purpose
set name The waggle set to cast. Without one, it casts default. If you have no set with that name, it says "No waggle set found for name: name" and exits.
force Recast the set's spells even if they're already active, unless one has more than 99 minutes left. Spell sets only: with a list of khri or abilities, force stops with an error.
strict Keep casting until everything in the set is active. It doesn't give up, so use it with care. Night or day spells that can't be cast now are left out.
list List your waggle sets, then exit.
set=name List the spells in that set, then exit.

Usage

;buff

;buff prebuff

;buff prebuff force

;buff list

;buff set=prebuff

Hunting Buddy

Run it before a hunt:

hunting_info:
- :zone:
  - zombie_stompers
  - mountain_giants
  :duration: 20
  args:
  - d0
  before:
  - go2 buffroom
  - buff prebuff

Hunting Buddy can also cast a set for you before each hunt, with prehunt_buff_waggle.

T2

Add it before your other scripts:

- skill: Athletics
  start: 10
  scripts:
  - go2 prebuff
  - buff athletics
  - athletics