Difference between revisions of "Talk:Spellbook of stone to flesh"
Jump to navigation
Jump to search
(I see, the statue gets polymorphed into a corpse) |
(→Bones Statues Stone-to-Flesh: new section) |
||
Line 3: | Line 3: | ||
: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) | :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) | ||
+ | |||
+ | == Bones Statues Stone-to-Flesh == | ||
+ | |||
+ | What would happen if you encountered a bones file, and the player was a statue and you casted stone to flesh on it? (Heh, that'd be cool if it became a co-op.)[[User:DemonSlayerThe3rd|- - DemonSlayerThe3 :: The Neutral Gnomish Wizard, with my kitten Ellinis!]] 03:37, September 2, 2010 (UTC) |
Revision as of 03:37, 2 September 2010
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)
Bones Statues Stone-to-Flesh
What would happen if you encountered a bones file, and the player was a statue and you casted stone to flesh on it? (Heh, that'd be cool if it became a co-op.)- - DemonSlayerThe3 :: The Neutral Gnomish Wizard, with my kitten Ellinis! 03:37, September 2, 2010 (UTC)