Notes |
(0019582)
KiloByte (manager)
2012-08-17 12:03
|
I was unable to reproduce her switching weapons out of the staff. There's code to make her stick to it (upgrading only to Olgreb's), and I failed to get her to swap out of it in wizmode tests. She does pick up clubs, but only as a throwing weapon.
For the corpse, I asked the tile's artist for a variant without the staff, as it looks wrong as the staff is dropped separately. |
|
(0019591)
ajg_matebo (reporter)
2012-08-18 05:04
|
I tested it again on the latest build (0.11-a0-3198-g6e5327a) and was able to reproduce it.
Sometimes she simply picks up a club without switching to it, other times she drops the staff in favor of the club.
It seems to happen conditionally instead of randomly (for instance I tried with an Ogre Berserker and couldn't get it to reproduce, then I tried a Human Fighter and it always reproduced).
Message History
Arachne's staff shoots out a whitish beam.
The ensnaring beam misses you.
Arachne mumbles some strange words.
Arachne blinks!
You see here an orcish club.
You feel very sick.
You feel sick.
You feel sick.
You feel a little better.
You feel sick.
Arachne stares at you and mumbles some strange words.
The poison arrow misses you.
You feel very sick.
Things that are here:
a halberd; an orcish club
You pick your way through the web.
You feel very sick.
Arachne drops an uncursed staff of poison.
Arachne picks up an orcish club. Arachne wields an orcish club.
There is a web here.
..#
..#
#.#
#g#
#.#
#.#
#.#
#.###############
#....@H....).....
##.#######.......
#.# #...)..˜
#.# #....^.˜
#.# #####.....˜˜
#.............˜˜
#.. .........˜˜˜
##˜˜˜˜˜˜˜˜˜˜˜˜˜˜
..˜˜˜˜˜˜˜˜˜...
....˜˜˜˜˜˜˜..<
. ...˜˜˜˜....
.....˜˜..<. |
|
(0019628)
neil (administrator)
2012-08-20 08:53
edited on: 2012-08-20 09:21
|
This is because of the following code in monster.cc:
const bool dual_wielding = (mons_wields_two_weapons(this)
|| is_throwable(this, item));
and shortly later:
if (!_is_signature_weapon(this, item)
&& _is_signature_weapon(this, *weap)
&& !dual_wielding)
{
return false;
}
She'll only drop the staff the second time she picks up a club.
|
|
(0019630)
neil (administrator)
2012-08-20 10:48
|
The swapping issue is fixed in trunk (0.12-a0-118-g9cd3609) and prerelease (0.11-b1-34-g947441c). Not marking the bug as resolved, since the corpse tile still has a staff; but I think that's the only thing that remains. |
|
(0020039)
KiloByte (manager)
2012-09-09 01:01
|
A pre-generated corpse tile is of no use, fortunately white_noise submitted a staveless base tile (which also solves issues with shields and Xom).
Thanks for the report! |
|