Difference between revisions of "Attribute"

From NetHackWiki
Jump to navigation Jump to search
(add constitution exercise/abuse)
(clarify a couple of things)
Line 276: Line 276:
 
Constitution is exercised by:
 
Constitution is exercised by:
 
* Having a hunger status of "Not hungry"<ref>[[attrib.c#line324]]</ref>
 
* Having a hunger status of "Not hungry"<ref>[[attrib.c#line324]]</ref>
* Eating a non-cursed [[flint stone]] (but this is impossible in Vanilla NetHack)<ref>[[attrib.c#line1640]]</ref>
 
 
* Being healed by a [[nurse]] (one in three chance)<ref>[[mhitu.c#line1406]]</ref>
 
* Being healed by a [[nurse]] (one in three chance)<ref>[[mhitu.c#line1406]]</ref>
 
* Consorting with a [[foocubus]] and getting the "You feel raised to your full potential"<ref>[[mhitu.c#line2327]]</ref> or "You feel good enough to do it again"<ref>[[mhitu.c#line2332]]</ref> message
 
* Consorting with a [[foocubus]] and getting the "You feel raised to your full potential"<ref>[[mhitu.c#line2327]]</ref> or "You feel good enough to do it again"<ref>[[mhitu.c#line2332]]</ref> message
Line 284: Line 283:
 
* Reading a non-cursed [[scroll of enchant armor]] while not wearing armor<ref>[[read.c#line679]]</ref>
 
* Reading a non-cursed [[scroll of enchant armor]] while not wearing armor<ref>[[read.c#line679]]</ref>
 
* Digesting a monster (other than a [[green slime]])<ref>[[uhitm.c#line1827]]</ref>
 
* Digesting a monster (other than a [[green slime]])<ref>[[uhitm.c#line1827]]</ref>
 +
* Eating a non-cursed [[flint stone]] (but this is impossible in Vanilla NetHack)<ref>[[attrib.c#line1640]]</ref>
  
 
Constitution is abused by:
 
Constitution is abused by:
 
* Having a nutrition status of "[[Fainting]]" or "Fainted" (once every ten turns)<ref>[[attrib.c#line330]]</ref>
 
* Having a nutrition status of "[[Fainting]]" or "Fainted" (once every ten turns)<ref>[[attrib.c#line330]]</ref>
 
* Being [[overtaxed]] (once every ten turns)<ref>[[attrib.c#line342]]</ref>
 
* Being [[overtaxed]] (once every ten turns)<ref>[[attrib.c#line342]]</ref>
* Being [[sickness|sick]] (from illness or food poisoning) or [[vomiting]]<ref>[[attrib.c#line356]]</ref><ref>[[timeout.c#line72]]</ref>
+
* Being [[sickness|sick]], including both fatal illness and food poisoning, and non-fatal [[vomiting]] (once every five turns)<ref>[[attrib.c#line356]]</ref>
 +
* Vomiting (every turn, in addition to the abuse from the previous item)<ref>[[timeout.c#line72]]</ref>
 
* Being unable to move while encumbered and with low hit points<ref>[[hack.c#line891]]</ref>
 
* Being unable to move while encumbered and with low hit points<ref>[[hack.c#line891]]</ref>
 
* Passing out from exertion when heavily encumbered<ref>[[attrib.c#line356]]</ref><ref>[[hack.c#line1086]]</ref>
 
* Passing out from exertion when heavily encumbered<ref>[[attrib.c#line356]]</ref><ref>[[hack.c#line1086]]</ref>
Line 306: Line 307:
 
* Drinking a [[potion of acid]] (unless acid resistant)<ref>[[potion.c#line890]]</ref>
 
* Drinking a [[potion of acid]] (unless acid resistant)<ref>[[potion.c#line890]]</ref>
 
* Breathing the vapors of a potion of sickness (as a non-Healer),<ref>[[potion.c#line1234]]</ref> or a [[potion of polymorph]]<ref>[[potion.c#line1299]]</ref>
 
* Breathing the vapors of a potion of sickness (as a non-Healer),<ref>[[potion.c#line1234]]</ref> or a [[potion of polymorph]]<ref>[[potion.c#line1299]]</ref>
* Being turned back to your natural form, while [[pray]]ing to a non-chaotic god while polymorphed into an undead<ref>[[potion.c#line1611]]</ref>
+
* Being turned back to your natural form, by [[pray]]ing to a non-chaotic god while polymorphed into an undead<ref>[[potion.c#line1611]]</ref>
 
* Reading a cursed [[scroll of enchant armor]] while not wearing armor<ref>[[read.c#line679]]</ref>
 
* Reading a cursed [[scroll of enchant armor]] while not wearing armor<ref>[[read.c#line679]]</ref>
 
* Reading a [[scroll of destroy armor]] while not wearing armor, if you are [[confusion|confused]]<ref>[[read.c#line790]]</ref>, or the scroll is non-cursed<ref>[[read.c#line801]]</ref>
 
* Reading a [[scroll of destroy armor]] while not wearing armor, if you are [[confusion|confused]]<ref>[[read.c#line790]]</ref>, or the scroll is non-cursed<ref>[[read.c#line801]]</ref>

Revision as of 01:58, 31 May 2012

An attribute shows some capability of the player.

There are six basic attributes, as in Dungeons & Dragons.

Strength

Strength corresponds to the ability to have more weight in your inventory. Also, the stronger you are the more damage you do in melee combat and the farther you can throw objects.

Like all attributes, strength ranges between 3 and 25. However, as in early editions of Dungeons and Dragons, strength has the unique property that values between 18 and 19 are given in percentage terms rather than jumping straight from 18 to 19 as with other attributes. For example, a strength of 18/35 means roughly that one is 35% of the way between 18 strength and 19 strength. Depending on race, characters can attain a maximum strength of 18, 18/50 or 18/** (which stands for 18/100) in their natural form, and need Gauntlets of power or a Ring of gain strength to increase strength to 19 or more. However, for gameplay purposes, there are not very many differences between a strength of 18/** and a strength of 25. Specifically, increasing your strength from 18/** to 25 will increase your carrying capacity (but only if your Constitution is less than 17), make objects thrown or kicked by you travel further, and allow you to throw Mjollnir if you have it.

Uses of strength

Strength is required for the following activities:

  • To cast spells, you need strength of at least 4.
  • To jump or do self-teleportation, you need strength of at least 6.
  • To break a wand, you need strength of at least 10.
  • To throw Mjollnir, you need strength of 25.

Strength is helpful for the following activities:

  • Strength of at least 18 speeds escape from a bear trap.
  • Greater strength usually allows you to carry more inventory without being encumbered.
  • Greater strength speeds escape from a web.
  • Greater strength allows better accuracy when fighting and increases damage per hit, as shown by the following table:
strength to-hit damage
3–5 -2 -1
6–7 -1 0
8–15 0 0
16 0 +1
17 +1 +1
18 +1 +2
18/01–18/50 +1 +3
18/51–18/75 +2 +3
18/76–18/90 +2 +4
18/91–18/99 +2 +5
18/**–25 +3 +6

Reference: Weapon.c#line695.

The to-hit adjustment only applies to wielded weapons. The damage adjustment affects wielded and thrown weapons.

Strength in game formulas

Some of the game formulas require Strength to be an integer between 3 and 25 (without percentages). When that is needed, NetHack will map strengths between 18/01 and 21 as follows:

A Strength of... maps to...
18/01–18/31 19
18/32–18/81 20
18/82–21 21

This mapping is used for:

For example, the maximum range of a thrown dagger is Str/2 squares. Thus, if your strength is 18/31, you can throw a dagger 9 squares (19/2 rounded down), but if your strength is 18/32, you can throw it 10 squares (20/2 rounded down).

Events that alter strength

Strength may increase when:

Strength may decrease when:

  • you become hungry to the point of being weak
  • you are hit by certain monsters' attacks
  • you are poisoned
  • you eat cursed royal jelly or spinach

There are many ways to exercise your strength. One popular way is to push boulders around. (One possibility: whenever you need to heal, spend your time pushing a boulder back and forth at one of the higher dungeon levels.)

Messages

When you gain a point in strength by exercising, it will say:

You feel strong! You must have been exercising.

When you lose a point in strength by exercising, it will say:

You feel weak! You must have been abusing your body.

Exercising and abusing strength

Strength is exercised by:

Strength is abused by:

Dexterity

Dexterity has a multitude of effects, of which the most significant is probably that it affects your chance of hitting monsters, whether in melee combat or with a missile or spell.

There is no direct way to increase your intrinsic dexterity apart from drinking a blessed potion of gain ability (or the corresponding fountain effect) which increases all stats by one. However, there are ways to exercise it, for example repeatedly picking locks. It is also exercised by fighting monsters, disarming traps, and reading a non-cursed Scroll of enchant weapon while not wielding a weapon.

Be aware that dexterity is easy to abuse. If you are trying to train it up, avoid being satiated and do not allow yourself to become strained or overtaxed. Being stunned, paralyzed, or having wounded legs is also bad for dexterity.

A pair of gauntlets of dexterity magically increases (or decreases) your dexterity by the amount of its enchantment, to a maximum of 25.

dexterity to-hit
3 -3
4-5 -2
6-7 -1
8-14 0
15 +1
16 +2
17 +3
18 +4
19 +5
20 +6
21 +7
22 +8
23 +9
24 +10
25 +11

Reference: Dothrow.c#line1200,Weapon.c#line705.

Messages

When your dexterity changes through exercise or abuse you will receive the message:

You feel agile! You must have been working on your reflexes.

If it goes up, and:

You feel clumsy! You haven't been working on your reflexes.

if it goes down.

Exercising and abusing dexterity

Dexterity is exercised by:

  • Successfully kicking a monster[52]
  • Uncovering or opening a secret door by kicking[53]
  • Uncovering a secret corridor by kicking[54]
  • Destroying a throne by kicking it[55]
  • Kicking an altar (which is a bad idea)[56]
  • Kicking a fountain[57]
  • Kicking a sink without hurting your leg[58][59][60][61]
  • Kicking fruit out of a tree[62]
  • Kicking a closed or locked door[63]
  • Successfully catching a returning boomerang[64]
  • Hitting a monster by throwing a weapon, weapon-tool, gem[65], heavy iron ball[66] or boulder[67]
  • Trying to move without levitation or flying on the Plane of Air, failing, and getting the "It's hard to walk in thin air" message[68]
  • Using an unlocking tool to try to lock or unlock a closed door, box or chest, whether or not you succeed[69][70]
  • Trying to force a lock using a bladed weapon, whether or not you succeed, even if the weapon breaks (using a blunt weapon exercises strength)[71][72][73]
  • Playing a flute or harp (magic or wooden)[74][75][76][77]
  • Spinning a web, when polymorphed into a spider[78]
  • Casting the haste self spell or quaffing a potion of speed[79], or breathing the potion's vapors[80]
  • Gaining intrinsic speed from a wand of speed monster[81]
  • Attempting to disarm a container[82] or door[83] trap (whether or not you succeed)
  • Hitting a monster in melee, unless you are engulfed and would have missed if you had not been engulfed[84]
  • Stealing gold from a monster, when polymorphed into a leprechaun[85]
  • Reading a non-cursed scroll of enchant weapon, while not wielding a weapon or weapon-tool[86]

Dexterity is abused by:

Constitution

Having a high constitution increases your healing rate and the number of HP you gain when levelling up and allows you to carry more weight in your inventory.

Constitution is exercised by keeping from being hungry and is increased when you sleep with a foocubus and "feel good enough to do it again."

Constitution hp/level bonus
3 -2
4-6 -1
7-14 0
15-16 +1
17 +2
18 +3
>18 +4

Reference: Attrib.c#line649.

Above level 9, higher constitution can also help you regenerate more HP every 3 turns.

Constitution is one of the easier stats to exercise; the easiest way is simply to have a hunger status of "Not Hungry".

Messages

When you gain a point in constitution by exercising, it will say:

You feel tough! You must be leading a healthy life-style.[111]

When you lose a point in constitution by exercising, it will say:

You feel fragile! You haven't been watching your health.[112]

Exercising and abusing constitution

Constitution is exercised by:

Constitution is abused by:

  • Having a nutrition status of "Fainting" or "Fainted" (once every ten turns)[126]
  • Being overtaxed (once every ten turns)[127]
  • Being sick, including both fatal illness and food poisoning, and non-fatal vomiting (once every five turns)[128]
  • Vomiting (every turn, in addition to the abuse from the previous item)[129]
  • Being unable to move while encumbered and with low hit points[130]
  • Passing out from exertion when heavily encumbered[131][132]
  • Having an object "drop from your grasp" when attempting to throw it while encumbered and with low hit points[133]
  • Choking from overnutrition (even if you have magical breathing)[134]
  • Drinking from a fountain and getting one of the following effects: contaminated water (without poison resistance)[135], curse items ("this water's no good!")[136]
  • Falling onto a sink, if there is a weapon or weapon-tool on the sink[137]
  • Being hit by a monster attack that causes lycanthropy,[138], or by Famine's hunger-inducing attack[139]
  • Consorting with a foocubus and getting the "You feel drained of energy"[140] or "You are down in the dumps"[141] message
  • Being hit by a silver object thrown at you by a monster, while polymorphed into a silver hater[142]
  • Suffering a system shock when attempting to polymorph[143]
  • Polymorphing[144]
  • Becoming deathly sick, or making your sickness worse, or only partly curing your sickness[145]
  • Drinking holy water, as a chaotic hero, or polymorphed into an undead or demon[146]
  • Drinking unholy water, as a non-chaotic hero, unless polymorphed into an undead or demon[147]
  • Drinking a non-blessed potion of sickness, as a non-Healer[148]
  • Drinking a potion of acid (unless acid resistant)[149]
  • Breathing the vapors of a potion of sickness (as a non-Healer),[150] or a potion of polymorph[151]
  • Being turned back to your natural form, by praying to a non-chaotic god while polymorphed into an undead[152]
  • Reading a cursed scroll of enchant armor while not wearing armor[153]
  • Reading a scroll of destroy armor while not wearing armor, if you are confused[154], or the scroll is non-cursed[155]
  • Sitting on a throne and getting the electric shock effect[156]
  • Being caught in a poison gas[157] or poison needle[158] container trap, or by a booby trapped door or tin[159]
  • Being zapped by a wand of lightning, either by yourself[160] or by a monster[161], while not shock resistant

Intelligence

Intelligence is useful for reading spellbooks, for spellcasting (unless you are a Healer, Knight, Monk, Priest or Valkyrie, in which case it is wisdom that affects your chances of successfully casting a spell) and for encounters with foocubi. Mind flayers have a brain-eating attack that can drain your intelligence; if you are hit by a successful brain-eating attack when your base intelligence is already 3, you die of brainlessness.

Intelligence cannot be exercised but can be increased by drinking a blessed potion of enlightenment or a potion of gain ability. It can also be increased by wearing a helm of brilliance. If you eat a mind flayer corpse, there is a 50% chance your intellegence will be increased by one point (you will get the message "For some reason, that tasted bland." if your intelligence is already at maximum.)

Wisdom

A Healer, Knight, Monk, Priest or Valkyrie requires wisdom to cast spells. Wisdom is not particularly important to other classes, though it affects how fast your power regenerates (hence is fairly important for wizards) and how much power you gain when levelling up.

Wisdom is one of the easiest stats to maximize. Many activities exercise it, including engraving Elbereth and successful searching. It can also be increased by sleeping with a foocubus and getting the "You will always remember the foocubus" message.

Messages

When your wisdom changes through exercise or abuse you will receive the message:

You feel wise!  You must have been very observant.

If it goes up, and:

You feel foolish!  You haven't been paying attention.

if it goes down.

Exercising and abusing Wisdom

Wisdom is exercised by:

Wisdom is abused by:

Charisma

Charisma is mostly useful for obtaining better prices at shops. It also helps with foocubus encounters, both by increasing the chance of a positive result and by giving more control over whether they remove your armor.

Charisma is a difficult stat to increase, as it cannot be exercised. You can gain charisma by triggering a magic trap, so some players deliberately trigger magic traps until they explode, a strategy known as the "magic trap boogie". However, this can be dangerous - many monsters will be summoned, and the towers of flame will reduce your maximum HP unless you have fire resistance.

Charisma Price
3-5 ×2
6-7 ×1.5
8-10 ×1.33
11-15 ×1
16-17 ×0.75
18 ×0.67
19-25 ×0.5

Reference: Shk.c#line1910.

Maximum attributes

You can increase strength, dexterity, constitution and wisdom through exercise, and adjust all six stats through other means such as potions of gain ability. Some magic items, like the helm of brilliance, gauntlets of power and gauntlets of dexterity, allow you to exceed these maximums. In fact, such items are common in ascension kits.

The maximum stats for each race are:

Race Strength Dexterity Constitution Intelligence Wisdom Charisma
Human 18/** 18 18 18 18 18
Elf 18 18 16 20 20 18
Dwarf 18/** 20 20 16 16 16
Gnome 18/50 18 18 19 18 18
Orc 18/50 18 18 16 16 16

Reference: role.c#line405.

NetHack brass

You can ignore this section unless you play the variant called NetHack brass.

NetHack brass implements different maximum attributes per role. Find your maximum attributes by looking for your role in the next table, then applying the racial modifiers. Humans have +2 to strength. All heroes have a minimum of 3 for each attribute. The entries with the exclamation marks are the spellcasting stats for each role.

Role Strength Dexterity Constitution Intelligence Wisdom Charisma
Archeologist 16 10 17 19! 18 19
Barbarian 18/** 18 20 12! 16 10
Caveman 18/** 18 20 14! 16 15
Healer 12 19 19 19 19! 18
Knight 18/50 13 18 17 19! 19
Monk 10 20 20 18 20! 18
Priest 18 15 18 17 20! 18
Ranger 17 21 13 19! 16 19
Rogue 18 20 17 17! 17 16
Samurai 18/50 20 19 15! 15 15
Tourist 17 15 18 19! 19 19
Valkyrie 18/** 16 20 12 17! 16
Wizard 10 19 16 20! 20 18

Reference: src/role.c in NetHack brass 040923.

Racial modifiers

To find your maximum attributes in NetHack brass, after finding your role in the above table, you must apply the racial modifiers of the below table. These racial modifiers apply only to the maximum attributes of each player, not the initial attributes.

An elven Ranger of NetHack brass, for example, can reach 19+1 = 20 in charisma by increasing charisma one more time after a human Ranger would have maxed at 19.

For strength modifiers only, a +1 raises 18 to 18/50, while a +2 raises 18 to 18/** or 17 to 18/50.

Race Strength Dexterity Constitution Intelligence Wisdom Charisma
Human +2 0 0 0 0 0
Elf 0 0 -2 +2 +2 +1
Dwarf +2 +2 +2 -2 -2 -2
Gnome +1 0 0 +1 0 0
Orc +2 0 0 -2 -2 -3

Wizard mode

The wizard mode of NetHack brass supplies the #rrllududab extended command, a code that gives your maximum attributes to you, a reference to the Konami code.

SLASH'EM

You can ignore this section unless you play SLASH'EM.

SLASH'EM, mainly due to the changed behaviour of the Gauntlets of power, handles strength between 18/** and 25 differently than vanilla NetHack.

strength to-hit damage
3-5 -2 -1
6-7 -1 0
8-15 0 0
16 0 +1
17 +1 +1
18 +1 +2
18/01-18/99 +1 +3
18/** +2 +4
19 +2 +5
20 +3 +6
21 +3 +7
22 +4 +8
23 +4 +9
24 +5 +10
25 +5 +11

Reference: SLASH'EM 0.0.7E7F2/weapon.c#line900.

Other traits of the player

These are important, though you might choose to avoid calling them attributes.

Source code references

  1. attrib.c#line338
  2. attrib.c#line339
  3. attrib.c#line354
  4. dokick.c#line1056
  5. dokick.c#line1060
  6. dokick.c#line1090
  7. dothrow.c#line1348
  8. dothrow.c#line1362
  9. hack.c#line237
  10. lock.c#line142
  11. lock.c#line207
  12. lock.c#line576
  13. lock.c#line692
  14. mhitu.c#line1405
  15. mhitu.c#line2347
  16. polyself.c#line1291
  17. potion.c#line813
  18. read.c#line680
  19. uhitm.c#line379
  20. attrib.c#line325
  21. ball.c#line777
  22. ball.c#line784
  23. dokick.c#line1003
  24. dokick.c#line1031
  25. dokick.c#line1051
  26. explode.c#line364
  27. trap.c#line3686
  28. trap.c#line3855
  29. potion.c#line1671
  30. zap.c#line1841
  31. zap.c#line3940
  32. mhitu.c#line930
  33. mhitu.c#line960
  34. mhitu.c#line1175
  35. mhitu.c#line1458
  36. mhitu.c#line1175
  37. zap.c#line3175
  38. uhitm.c#line2176
  39. mhitu.c#line1713
  40. mhitu.c#line1727
  41. mhitu.c#line2314
  42. polyself.c#line579
  43. read.c#line680
  44. read.c#line789
  45. read.c#line800
  46. sit.c#line83
  47. timeout.c#line108
  48. trap.c#line726
  49. trap.c#line938
  50. zap.c#line1895
  51. zap.c#line3082
  52. dokick.c#line84
  53. dokick.c#line798
  54. dokick.c#line818
  55. dokick.c#line841
  56. dokick.c#line872
  57. dokick.c#line885
  58. dokick.c#line953
  59. dokick.c#line964
  60. dokick.c#line976
  61. dokick.c#line987
  62. dokick.c#line917
  63. dokick.c#line1044
  64. dothrow.c#line932
  65. dothrow.c#line1316
  66. dothrow.c#line1352
  67. dothrow.c#line1364
  68. hack.c#line914
  69. lock.c#line102
  70. lock.c#line125
  71. lock.c#line142
  72. lock.c#line157
  73. lock.c#line207
  74. music.c#line391
  75. lock.c#line398
  76. music.c#line437
  77. lock.c#line445
  78. polyself.c#line841
  79. polyself.c#line746
  80. potion.c#line1275
  81. zap.c#line2020
  82. trap.c#line3512
  83. trap.c#line3574
  84. uhitm.c#line480
  85. uhitm.c#line1425
  86. wield.c#line701
  87. attrib.c#line320
  88. attrib.c#line340
  89. attrib.c#line341
  90. attrib.c#line362
  91. dokick.c#line173
  92. dokick.c#line1002
  93. dokick.c#line1025
  94. hack.c#line468
  95. hack.c#line608
  96. hack.c#line908
  97. mhitu.c#line144
  98. mhitu.c#line1126
  99. uhitm.c#line2283
  100. mhitu.c#line1176
  101. potion.c#line608
  102. potion.c#line1260
  103. potion.c#line1269
  104. timeout.c#line39
  105. timeout.c#line142
  106. trap.c#line779
  107. trap.c#line939
  108. trap.c#line3745
  109. trap.c#line1151
  110. wield.c#line701
  111. attrib.c#line435
  112. attrib.c#line436
  113. attrib.c#line324
  114. mhitu.c#line1406
  115. mhitu.c#line2327
  116. mhitu.c#line2332
  117. potion.c#line481
  118. potion.c#line474
  119. potion.c#line1224
  120. potion.c#line791
  121. potion.c#line799
  122. potion.c#line814
  123. read.c#line679
  124. uhitm.c#line1827
  125. attrib.c#line1640
  126. attrib.c#line330
  127. attrib.c#line342
  128. attrib.c#line356
  129. timeout.c#line72
  130. hack.c#line891
  131. attrib.c#line356
  132. hack.c#line1086
  133. dothrow.c#line896
  134. eat.c#line238
  135. fountain.c#line267
  136. fountain.c#line284
  137. hack.c#line474
  138. mhitu.c#line1262
  139. mhitu.c#line1520
  140. mhitu.c#line2290
  141. mhitu.c#line2295
  142. mthrowu.c#line76
  143. polyself.c#line239
  144. polyself.c#line564
  145. potion.c#line136
  146. potion.c#line461
  147. potion.c#line493
  148. potion.c#line688
  149. potion.c#line890
  150. potion.c#line1234
  151. potion.c#line1299
  152. potion.c#line1611
  153. read.c#line679
  154. read.c#line790
  155. read.c#line801
  156. sit.c#line177
  157. trap.c#line3706
  158. trap.c#line3714
  159. trap.c#line3856
  160. trap.c#line1904
  161. trap.c#line3161
  162. spell.c#line336
  163. spell.c#line355
  164. spell.c#line808
  165. priest.c#line472
  166. priest.c#line493
  167. attrib.c#line327
  168. attrib.c#line353
  169. zap.c#line1862
  170. spell.c#line859
  171. spell.c#line869
  172. zap.c#line2454
  173. zap.c#line1802
  174. polyself.c#line340
  175. polyself.c#line565
  176. polyself.c#line918
  177. quest.c#line90
  178. quest.c#line249
  179. quest.c#line261
  180. quest.c#line266
  181. trap.c#line3504
  182. trap.c#line3570
  183. potion.c#line480
  184. potion.c#line529
  185. fountain.c#line243
  186. potion.c#line647
  187. potion.c#line653
  188. detect.c#line282
  189. detect.c#line384
  190. detect.c#line951
  191. potion.c#line858
  192. potion.c#line878
  193. potion.c#line1824
  194. potion.c#line1855
  195. rumors.c#line129
  196. rumors.c#line170
  197. rumors.c#line373
  198. dokick.c#line918
  199. dokick.c#line988
  200. fountain.c#line561
  201. write.c#line179
  202. o_init.c#line319
  203. shk.c#line3919
  204. read.c#line655
  205. mhitu.c#line2342
  206. pray.c#line1116
  207. pray.c#line1170
  208. pray.c#line1383
  209. pray.c#line1481
  210. fountain.c#line384
  211. pray.c#line1690
  212. uhitm.c#line1180
  213. uhitm.c#line1560
  214. fountain.c#line145
  215. fountain.c#line487
  216. fountain.c#line225
  217. fountain.c#line305
  218. fountain.c#line311
  219. teleport.c#line536
  220. engrave.c#line373
  221. music.c#line541
  222. detect.c#line1136
  223. detect.c#line1232
  224. detect.c#line1193
  225. detect.c#line1203
  226. detect.c#line1211
  227. eat.c#line1635
  228. spell.c#line989
  229. spell.c#line1017
  230. priest.c#line661
  231. attrib.c#line322
  232. attrib.c#line357
  233. steed.c#line93
  234. sit.c#line75
  235. trap.c#line3066
  236. potion.c#line508
  237. potion.c#line519
  238. potion.c#line878
  239. potion.c#line1824
  240. potion.c#line1838
  241. rumors.c#line373
  242. write.c#line105
  243. read.c#line1119
  244. mhitu.c#line1114
  245. mhitu.c#line2300
  246. artifact.c#line545
  247. pray.c#line1173
  248. pray.c#line1407
  249. pray.c#line1680
  250. uhitm.c#line799
  251. fountain.c#line373
  252. fountain.c#line450
  253. fountain.c#line469
  254. dig.c#line770
  255. engrave.c#line541
  256. pickup.c#line1324
  257. music.c#line424
  258. music.c#line429
  259. music.c#line462
  260. rumors.c#line129

See Also

  • Drain for gain involves manipulating your attributes, and the article discusses how to do so.


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.