Skip to content
Jay Ryan edited this page Jun 24, 2018 · 14 revisions

Buff spells to use while hunting.

It is assumed that your cambrinth can be used while worn.

Supported options:

  • abbrev: The spell abbreviation, or spell name if it does not have an abbreviation
  • recast: The time remaining on a buff before recasting it; -1 means to let it fade
  • recast_every: The spell will be cast every # seconds
  • mana: The amount to harness (via attunement)
  • cambrinth: An array of charge amounts (each number indicating one use of charge)
  • cyclic: Whether or not the spell is a cyclic (use -1 for recast)
  • expire: Text which will trigger recasting the spell (use -1 for recast)
  • cast: Custom action to output instead of 'cast'
  • use_auto_mana: Uses discern to decide on the mana and cambrinth options.
  • before: actions used before casting, they require matching
  • after: actions used after casting, they require matching
  • pet_type: name of pet goes here; specifies the spell is for a pet, only 1 buff per pet is supported at this time; requires a recast_every timer as well

Basic examples

This would prep Instinct (INST) with 10 mana harnessed, charge your cambrinth with 5 mana, and then charge your cambrinth a second time with 5 mana. The spell would only be recast when the spell has 1 minute left.

Instinct:
  abbrev: INST
  recast: 1
  mana: 10
  cambrinth:
  - 5
  - 5

This would discern Instinct (INST) and prep it at appropriate harness followed by up to four charges of cambrinth. The spell would only be recast when the spell has 1 minute left.

Instinct:
  abbrev: INST
  recast: 1
  use_auto_mana: true

Recast when an expiration message is seen

This would prep Ethereal Fissure (ETF) with 20 mana harnessed, charge your cambrinth with 10 mana, and then charge your cambrinth a second time with 5 mana. Once fully prepared, the script would use cast fire instead of the default, cast. The spell would only be recast when fissure collapses in on itself, winking out of existence is seen.

Ethereal Fissure:
  abbrev: ETF
  recast: -1
  mana: 20
  cambrinth:
  - 10
  - 5
  expire: fissure collapses in on itself, winking out of existence
  cast: cast fire

Cyclic buff spell

This would prep Phoenix's Pyre (PYRE) with 5 mana harnessed. The spell would not be cast again since it is marked as a cyclic.

Phoenix's Pyre:
  abbrev: PYRE
  recast: -1
  mana: 5
  cyclic: true
  expire: this is a cyclic

Pet buff spell

This would prep Vigor and cast it on the pet warrior.

vigpet:
  Vigor:
    pet_type: warrior
    recast_every: 2100 # 35 minutes
    cast: cast warrior
    mana: 20
    cambrinth:
    - 20
    - 20
    - 20

base-spells.yaml

Please note that a lot of settings are in the base-spells.yaml. This means a lot of spells can just be listed with their name. Please check the lich/scripts/data/base-spells.yaml file for all the spells that are supported and what they have as default values. As with all settings, you can override any of them by including it in your YAMLs.

Vigor:
  mana: 20
  cambrinth:
  - 20
  - 20
  - 20
  - 20
Clone this wiki locally