Warning on melee attack with weapon?


Ask fellow adventurers how to stay alive in the deep, dark, dangerous dungeon below, or share your own accumulated wisdom.

Shoals Surfer

Posts: 259

Joined: Saturday, 7th February 2015, 14:46

Post Sunday, 28th May 2017, 17:54

Warning on melee attack with weapon?

Is there anything I can put in my RC file to warn me when I attack with a particular weapon?

(In this case, my character sometimes wields a staff of energy, but also beats things up unarmed in Statue Form)
http://crawl.akrasiac.org/scoring/players/odds

Won my last species (Mummy) on 17/01/2016.
Won my last background (Arcane Marksman) on 06/09/2016.

Ziggurat Zagger

Posts: 6454

Joined: Tuesday, 30th October 2012, 19:06

Post Sunday, 28th May 2017, 17:57

Re: Warning on melee attack with weapon?

You can inscribe a weapon to prevent yourself from attacking with it, (!a), no RC file modification required.

See ?5 for more information about inscriptions.
Spoiler: show
This high quality signature has been hidden for your protection. To unlock it's secret, send 3 easy payments of $9.99 to me, by way of your nearest theta band or ley line. Complete your transmission by midnight tonight for a special free gift!

For this message the author Siegurt has received thanks:
Odds

Slime Squisher

Posts: 368

Joined: Thursday, 11th April 2013, 21:07

Post Sunday, 28th May 2017, 19:34

Re: Warning on melee attack with weapon?

Siegurt wrote:You can inscribe a weapon to prevent yourself from attacking with it, (!a), no RC file modification required.

Of course, you can always add an autoinscribe line to your rc to save yourself the time of inscribing things manually.

Something like this should work, to prevent attacking with enhancer staves in general:
  Code:
autoinscribe += staff of:!a

See https://github.com/crawl/crawl/blob/mas ... .txt#L1755 for autoinscribe details.

For this message the author Implojin has received thanks:
Cimanyd

Ziggurat Zagger

Posts: 5382

Joined: Friday, 25th November 2011, 07:36

Post Wednesday, 31st May 2017, 00:40

Re: Warning on melee attack with weapon?

Note that sometimes you might want to attack with some of the enhancer staves, so you'd need to be a big more specific if that's your plan.
User avatar

Snake Sneak

Posts: 92

Joined: Thursday, 28th July 2016, 04:11

Post Thursday, 1st June 2017, 23:13

Re: Warning on melee attack with weapon?

  Code:
autoinscribe += staff of (energy|power|wizardry|conjuration|summoning):!a
remove Siegurt's signature

Return to Dungeon Crawling Advice

Who is online

Users browsing this forum: No registered users and 16 guests

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.