Apply a wielded polearm with fire-command

Wield a polearm and use 'f'ire to automatically hit with it,
if there's a single valid target.
With fireassist-option, will swapweapon to a polearm.
This only applies if quiver is empty and autoquiver is off.
This commit is contained in:
Pasi Kallinen
2021-12-29 19:40:23 +02:00
parent 3536ede5bd
commit fa41d5fe66
6 changed files with 38 additions and 14 deletions

View File

@@ -799,6 +799,7 @@ If your wielded weapon has the throw-and-return property, your quiver
is empty, and
.op autoquiver
is false, you will throw that wielded weapon instead of filling the quiver.
This will also automatically use a polearm if wielded.
If
.op fireassist
is true, firing will automatically try to wield a launcher (for example,
@@ -1244,7 +1245,8 @@ You can set the
.op paranoid_confirmation:quit
option to require a response of \f(CRyes\fP instead.
.lp "#fire "
Fire ammunition from quiver, possibly autowielding a launcher.
Fire ammunition from quiver, possibly autowielding a launcher,
or hit with a wielded polearm.
Default key is \(oqf\(cq.
.lp "#force "
Force a lock.

View File

@@ -896,6 +896,7 @@ computer pick something appropriate if {\it autoquiver\/} is true.
If your wielded weapon has the throw-and-return property, your quiver
is empty, and {\it autoquiver\/}
is false, you will throw that wielded weapon instead of filling the quiver.
This will also automatically use a polearm if wielded.
If {\it fireassist\/} is true, firing will automatically try to wield a launcher
(for example, a bow or a sling) matching the ammo in the quiver; this might
take multiple turns, and get interrupted by a monster.
@@ -1348,7 +1349,8 @@ You can set the
option to require a response of ``{\tt yes}'' instead.
%.lp
\item[\tb{\#fire}]
Fire ammunition from quiver, possibly autowielding a launcher.
Fire ammunition from quiver, possibly autowielding a launcher,
or hit with a wielded polearm.
Default key is `{\tt f}'.
%.lp
\item[\tb{\#force}]

View File

@@ -725,6 +725,7 @@ apply runmode delay to multiturn actions, not just running
if a giant carrying a boulder was on ice that melted, it could be killed
twice, first by drowning, then by boulder filling the resulting pool
when it dropped inventory before being removed from the map
allow fire-command to automatically use a polearm, if wielding it
Fixes to 3.7.0-x Problems that Were Exposed Via git Repository