held artifacts evading your grasp (trunk only)
From a bug report, trying to invoke a wielded artifact after changing alignment resulted in "the <artifact> evades your grasp" but it remained wielded, contradicting the message. This adjusts the message in touch_artifact() if the object is already in inventory, and adds retouch_object() to handle cases where failing to be able to touch ought to force unwearing/unwielding.
This commit is contained in:
@@ -84,6 +84,7 @@ E boolean FDECL(artifact_has_invprop, (struct obj *,UCHAR_P));
|
||||
E long FDECL(arti_cost, (struct obj *));
|
||||
E struct obj *FDECL(what_gives, (long *));
|
||||
E void FDECL(Sting_effects, (int));
|
||||
E int FDECL(retouch_object, (struct obj **,BOOLEAN_P));
|
||||
|
||||
/* ### attrib.c ### */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user