Difference between revisions of "Talk:Spellbook of stone to flesh"
Jump to navigation
Jump to search
(here's where) |
(I see, the statue gets polymorphed into a corpse) |
||
Line 1: | Line 1: | ||
I was testing the behaviour of stone to flesh in [[wizard mode]] and I found that reanimating a statue of a genocided monster produces that monster's corpse. I've looked in [[zap.c#bhito]] and [[trap.c#animate_statue]], but I can't seem to find where in the source this is handled. Does anybody know? -- [[User:Killian|Killian]] 02:08, 14 October 2006 (UTC) | I was testing the behaviour of stone to flesh in [[wizard mode]] and I found that reanimating a statue of a genocided monster produces that monster's corpse. I've looked in [[zap.c#bhito]] and [[trap.c#animate_statue]], but I can't seem to find where in the source this is handled. Does anybody know? -- [[User:Killian|Killian]] 02:08, 14 October 2006 (UTC) | ||
*animate_statue is called from [[zap.c#line1627]] and if this fails it proceeds to create the corpse if possible. -- [[User:SGrunt|SGrunt]] 03:00, 14 October 2006 (UTC) | *animate_statue is called from [[zap.c#line1627]] and if this fails it proceeds to create the corpse if possible. -- [[User:SGrunt|SGrunt]] 03:00, 14 October 2006 (UTC) | ||
+ | |||
+ | :Thanks—I had skimmed that section, and saw the call to <code>animate_statue</code>, but I missed the call to <code>poly_obj(obj, CORPSE)</code>, which seems to be the bit that actually creates the corpse. -- [[User:Killian|Killian]] 03:47, 14 October 2006 (UTC) |
Revision as of 03:47, 14 October 2006
I was testing the behaviour of stone to flesh in wizard mode and I found that reanimating a statue of a genocided monster produces that monster's corpse. I've looked in zap.c#bhito and trap.c#animate_statue, but I can't seem to find where in the source this is handled. Does anybody know? -- Killian 02:08, 14 October 2006 (UTC)
- animate_statue is called from zap.c#line1627 and if this fails it proceeds to create the corpse if possible. -- SGrunt 03:00, 14 October 2006 (UTC)
- Thanks—I had skimmed that section, and saw the call to
animate_statue
, but I missed the call topoly_obj(obj, CORPSE)
, which seems to be the bit that actually creates the corpse. -- Killian 03:47, 14 October 2006 (UTC)