Difference between revisions of "Talk:Alchemy smock"

From NetHackWiki
Jump to navigation Jump to search
(Thanks, I understand)
 
Line 2: Line 2:
  
 
:In [[do_wear.c#line236]]. --[[User:ZeroOne|ZeroOne]] 12:20, 15 September 2006 (UTC)
 
:In [[do_wear.c#line236]]. --[[User:ZeroOne|ZeroOne]] 12:20, 15 September 2006 (UTC)
 +
 +
::Oh, I see--<code>oc_oprop</code> can only hold one property, so objects with multiple properties need special-case code in <code>do_wear.c</code>.  Thanks. --[[User:Killian|Killian]] 12:45, 15 September 2006 (UTC)

Latest revision as of 12:45, 15 September 2006

The spoilers claim that an alchemy smock confers acid resistance, and a quick wiztest seemed to confirm this, but I can't find where this is specified in the source. objects.c#line423 seems to suggest that it only grants poison resistance. --Killian 11:33, 15 September 2006 (UTC)

In do_wear.c#line236. --ZeroOne 12:20, 15 September 2006 (UTC)
Oh, I see--oc_oprop can only hold one property, so objects with multiple properties need special-case code in do_wear.c. Thanks. --Killian 12:45, 15 September 2006 (UTC)