Difference between revisions of "Polyself bug"

From NetHackWiki
Jump to navigation Jump to search
m (Text replace - "<ref> *\[\[([a-zA-Z][a-zA-Z]*\.c)#[Ll]ine([0-9][0-9]*)\]\] *<\/ref>" to "{{refsrc|$1|$2}}")
m (link to individual bug)
Line 1: Line 1:
The '''polyself bug''' is a fairly serious flaw in the handling of a self-[[polymorph]] by an [[experience level]] one [[hero|character]].  It is [[Bugs in NetHack 3.4.3|listed]] as SC343-10:
+
The '''polyself bug''' is a fairly serious flaw in the handling of a self-[[polymorph]] by an [[experience level]] one [[hero|character]].  It is [[Bugs in NetHack 3.4.3#SC343-10|listed]] as SC343-10:
  
 
  SC343-10: Player can raise HP and Pw by dancing with vampires.
 
  SC343-10: Player can raise HP and Pw by dancing with vampires.

Revision as of 08:05, 9 March 2013

The polyself bug is a fairly serious flaw in the handling of a self-polymorph by an experience level one character. It is listed as SC343-10:

SC343-10: Player can raise HP and Pw by dancing with vampires.

To exploit this bug, a player would need to drain life themselves to reach experience level one, whether by the spell, by throwing a level-draining weapon upwards, by the attack of a level-draining monster, such as a wraith or vampire (as alluded to in the official description of the bug), by praying repeatedly, or by using any other method of level loss.

Once this is done, the act of self-polymorph has a chance of adjusting a player's experience level. If self-polymorph increases the player's level, his hit points and power are approximately doubled or tripled[1], which is not offset by the act of draining this level. Therefore, by repeatedly polymorphing and draining level back to one, a player's hit points and power can be increased to the limit of (usually) a 32-bit signed integer.

The act of self-polymorph also has a chance of killing the player if his level drops to zero; therefore, in order to obtain a significant amount of HP and power, a handful of amulets of life saving is recommended. Pudding farming is often used to acquire a healthy quantity.

References

This page may need to be updated for the current version of NetHack.

It may contain text specific to NetHack 3.4.3. Information on this page may be out of date.

Editors: After reviewing this page and making necessary edits, please change the {{nethack-343}} tag to the current version's tag or {{noversion}} as appropriate.