Fixes #198 Watching a monster try to switch from a cursed weapon to some other weapon (of any bless/curse state) reported that the old weapon was welded to the monster's hand and wouldn't switch to the new one. But watching a monster try to wield a cursed weapon didn't say that it was becoming welded at the time. Report correctly pointed out that the weld-to-hand check wouldn't work unless the weapon was already flagged as wielded, and the code in question was deferring wielding so that the message wouldn't include "(weapon in hand)" in the formatted object description. There was also another problem: it was erroneously testing the monster's old weapon (if any, after unwielding it), instead of the new one being wielded. Also, Sunsword starting to emit light when first wielded by a monster only reported that it was shining if hero could see the monster. Give an alternate message if hero sees the location instead. (Just the monster's/Sunsword's location rather than any newly lit spot within Sunsword's radius.)
7.1 KiB
7.1 KiB