Charge Holy Weapon Settings - elanthia-online/dr-scripts GitHub Wiki
Description
Paladins: recharges your holy weapon when it's running low. It looks at the weapon to estimate the charges left, and below about 200 it does the recharge ritual, either at the Chadatru altar in Crossing or Shard, or in a room of your choosing with a holy icon. Then it renews the weapon with GLYPH RENEW.
Paladins only. For anyone else it stops straight away, without a message.
There's a long cooldown between recharges, and the original notes warn it can go badly at low circle and Charisma. It's best run on its own by lower-circle Paladins.
Settings
YAML Settings
holy_weapon:
weapon_name: serrated khopesh
icon_name: shark icon
icon_container: rucksack
icon_room: 2866
hometown: Crossing
| Setting | Default | Purpose |
|---|---|---|
| holy_weapon | Required. Holds the settings below. Without it: "No Paladin settings found, please check your YAML. Exiting..." | |
| weapon_name | Required. The weapon. It must match a gear entry exactly, as for weapon_training. |
|
| icon_name | Your holy icon. Leave it out to use the altar instead. | |
| icon_container | Where the icon is kept. Needed with an icon. | |
| icon_room | Room to do the ritual in with the icon. Needed with an icon. | |
| hometown | Without an icon, the town whose altar to use. |
Without an icon, your hometown must be Crossing or Shard, the towns with an altar it knows. Anywhere else it doesn't walk to an altar.
What a run does
There are no settings for these; this is what to expect.
- Wields the weapon and looks at it. Unless the glow is barely detectable or flickering, it says roughly how many charges remain (200, 350, 500, 1000 or 1500), puts the weapon away and stops.
- At the altar: walks there and prays to Chadatru. If you're not ready yet, it says "You're not ready to recharge yet, exiting!" Otherwise it waits for the prayer to finish (up to about 2 minutes).
- With an icon: walks to
icon_room, gets the icon fromicon_container("Icon not found! Exiting..." if it can't), cleans it three times, hugs, focuses on and prays to it, stands up and puts it away. - Wields the weapon, uses GLYPH RENEW on it, and puts it away.
Argument Settings
| Argument | Purpose |
|---|---|
| force | Skip the charge check and do the ritual anyway. f works too. |
Usage
;charge-holy-weapon
;charge-holy-weapon force
You can run it before or after a hunt, or in a subsection of T2.
Hunting Buddy
hunting_info:
- :zone:
- goblin_shaman
- goblins
:duration: 20
args:
- d0
before:
- charge-holy-weapon
T2
- skill: Large Edged
start: 12
scripts:
- charge-holy-weapon
- pray-chadatru
- get2 buffroom
- buff pre
- hunting-buddy setup
- safe-room
- sell-loot Shard
- restock