Attribute

From NetHackWiki
Revision as of 17:13, 30 May 2018 by TK (talk | contribs) (Increasing attributes)
Jump to navigation Jump to search

An attribute shows some capability of the player. Alternatively, "attribute" may refer to properties divined through enlightenment or death.

There are six basic attributes, as in Dungeons & Dragons. A player's attributes can be increased by exercising them.

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:

Strength affects the following activities:

  • Greater strength usually allows you to carry more inventory without being encumbered.[6]
  • Greater strength speeds setting a bear trap.[7]
  • Greater strength speeds escape from a web.[8]
  • Greater strength increases digging speeds.[9][10]
  • Greater strength makes it more likely to kick open a door or secret corridor.[11][12][13][14]
  • Greater strength increases damage done to monsters when kicking them.[15]
  • Greater strength makes it more likely to successfully open or close a door.[16][17]
  • Greater strength makes a shopkeeper charge you more for destroying a shop wall.[18][19]
  • Greater strength increases the range for throwing objects.[20][21]
  • Greater strength speeds opening tins.[22]
  • Strength greater than 18 makes it possible to shatter a door when kicking it instead of just breaking it open.[23]
  • Greater strength allows better accuracy when fighting and increases damage per hit, as shown by the following table:[10][24]
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

The to-hit adjustment applies to all melee attacks.[25][26] The damage adjustment affects melee and thrown weapons unless attacking with mirrors that break,[27] eggs,[28] cream pies,[29] blinding venom,[29] or acid venom.[30] It does not affect items fired from a launcher.[31]

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:[32]

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

This mapping is used for:

  • Calculating carrying capacity[33]
  • Calculating the damage done by kicking[34]
  • Calculating the maximum distance traveled by thrown or kicked objects[35][36]
  • Calculating the chance of kicking down a door[37]
  • Calculating the time it takes to open a non-blessed tin by hand[38]
  • Calculating the chance of opening or closing an unlocked door[39][40]


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:

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

You feel strong!
You gained a point of strength.
You feel very strong!
You gained more than a point of strength.
You must have been exercising diligently.
In addition to the above, if the gain was due to exercise.
You feel weak!
You lost a point of strength.
You haven't been exercising properly.
In addition to the above, if the loss was due to abuse.

Exercising and abusing strength

Strength is exercised by the following:

Strength is abused by the following:

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, line 1200; weapon.c, line 705.

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 reflexes lately.

if it goes down.

Exercising and abusing dexterity

Dexterity is exercised by the following:

Dexterity is abused by the following:

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, line 649.

Above level 9, higher constitution can also help you regenerate more HP every 3 turns. Specifically, having 13 or more constitution regenerates a random amount of HP from 1 to your current constitution which is then capped by level - 9, so to gain more than 1 HP on these turns you must be at least level 11.[161]

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.[162]

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

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

Exercising and abusing constitution

Constitution is exercised by the following:

Constitution is abused by the following:

  • Having a nutrition status of "Fainting" or "Fainted" on a turn whose number is a multiple of 10[177]
  • Being overtaxed (once every ten turns)[178]
  • Being sick, including both fatal illness and food poisoning, and non-fatal vomiting (once every five turns)[179]
  • Vomiting (every turn, in addition to the abuse from the previous item)[180]
  • Being unable to move while encumbered and with low hit points[181]
  • Passing out from exertion when heavily encumbered[182][183]
  • Having an object "drop from your grasp" when attempting to throw it while encumbered and with low hit points[184]
  • Choking from overnutrition (even if you have magical breathing)[185]
  • Drinking from a fountain and getting one of the following effects: contaminated water (without poison resistance)[186], curse items ("this water's no good!")[187]
  • Falling onto a sink, if there is a weapon or weapon-tool on the sink[188]
  • Being hit by a monster attack that causes lycanthropy,[189], or by Famine's hunger-inducing attack[190]
  • Consorting with a foocubus and getting the "You feel drained of energy"[191] or "You are down in the dumps"[192] message
  • Being hit by a silver object thrown at you by a monster, while polymorphed into a silver hater[193]
  • Suffering a system shock when attempting to polymorph[194]
  • Polymorphing[195]
  • Becoming deathly sick, or making your sickness worse, or only partly curing your sickness[196]
  • Drinking holy water, as a chaotic hero, or polymorphed into an undead or demon[197]
  • Drinking unholy water, as a non-chaotic hero, unless polymorphed into an undead or demon[198]
  • Drinking a non-blessed potion of sickness, as a non-Healer[199]
  • Drinking a potion of acid (unless acid resistant)[200]
  • Breathing the vapors of a potion of sickness (as a non-Healer),[201] or a potion of polymorph[202]
  • Being turned back to your natural form, by praying to a non-chaotic god while polymorphed into an undead[203]
  • Reading a cursed scroll of enchant armor while not wearing armor[204]
  • Reading a scroll of destroy armor while not wearing armor, if you are confused[205], or the scroll is non-cursed[206]
  • Sitting on a throne and getting the electric shock effect[207]
  • Being caught in a poison gas[208] or poison needle[209] container trap, or by a booby trapped door or tin[210]
  • Being zapped by a wand of lightning, either by yourself[211] or by a monster[212], 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 intelligence will be increased by one point (you will get the message "For some reason, that tasted bland." if your intelligence is already at maximum.)

UnNetHack adds the ability to exercise intelligence by fighting a weeping angel's mental reflection (requires that the player does not have reflection)[213].

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 the following:

Wisdom is abused by the following:

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. It can be extrinsically increased by wearing a charged ring of adornment or intrinsically boosted by successfully eating one in a valid polymorphed form. You can also 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. Making sure your potion of gain ability is blessed before quaffing it is probably the easiest and safest way to increase this stat to maximum.

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, line 1910.

Starting attributes

The player's starting attributes depend on the class as follows:[314]

Class Strength Intelligence Wisdom Dexterity Constitution Charisma Remaining
Archeologist 7\20% 10\20% 10\20% 7\10% 7\20% 7\10% 27
Barbarian 16\30% 7\6% 7\7% 15\20% 16\30% 6\7% 8
Caveman 10\30% 7\6% 7\7% 7\20% 8\30% 6\7% 30
Healer 7\15% 7\20% 13\20% 7\15% 11\25% 16\5% 14
Knight 13\30% 7\15% 14\15% 8\10% 10\20% 17\10% 6
Monk 10\25% 7\10% 8\20% 8\20% 7\15% 7\10% 28
Priest 7\15% 7\10% 10\30% 7\15% 7\20% 7\10% 30
Ranger 13\30% 13\10% 13\10% 9\20% 13\20% 7\10% 7
Rogue 7\20% 7\10% 7\10% 10\30% 7\20% 6\10% 31
Samurai 10\30% 8\10% 7\8% 10\30% 17\14% 6\8% 17
Tourist 7\15% 10\10% 6\10% 7\15% 7\30% 10\20% 28
Valkyrie 10\30% 7\6% 7\7% 7\20% 10\30% 7\7% 27
Wizard 7\10% 10\30% 7\10% 7\20% 7\20% 7\10% 30

First, points are distributed so that the player receives, as a minimum, the number indicated before the backslash. This is always out of a pool of 75 points, and the Remaining column contains the amount of leftover points from this step.

Next, the remaining points are distributed randomly according to the percentage after the backslash. If an attribute is chosen that would raise it above the player's racial maximum, it will try 99 more times to choose a different attribute to raise. If it fails to pick an attribute on all 100 attempts, it will abort this step and any remaining points will be lost.[315]

Third, each attribute has a 5% probability of having a random number from -2 to +4 added to it [316]. These respect racial maximums.

Finally, strength will, if necessary, be increased until the player is unencumbered by their starting inventory. If this is not enough, constitution will be increased similarly.

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:[317]

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

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.For example, 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.

Strength

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: weapon.c in SLASH'EM 0.0.7E7F2, line 900.

Dexterity

Dexterity has an impact on AC.

Dexterity AC
3< +3
4-5 +2
6-7 +1
8-14 0
15 -1
16 -2
17 -3
18 -4
19 -5
20-21 -6
22-23 -7
24> -8

Other traits of the player

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

Source code references

  1. spell.c in NetHack 3.4.3, line 742
  2. apply.c in NetHack 3.4.3, line 1261
  3. spell.c in NetHack 3.4.3, line 505
  4. apply.c in NetHack 3.4.3, line 2621
  5. dothrow.c in NetHack 3.4.3, line 85
  6. weight_cap in hack.c
  7. apply.c in NetHack 3.4.3, line 2027
  8. trap.c in NetHack 3.4.3, line 1007
  9. dig.c in NetHack 3.4.3, line 272
  10. 10.0 10.1 abon in weapon.c
  11. dokick.c in NetHack 3.4.3, line 697
  12. dokick.c in NetHack 3.4.3, line 791
  13. dokick.c in NetHack 3.4.3, line 816
  14. dokick.c in NetHack 3.4.3, line 1046
  15. dokick.c in NetHack 3.4.3, line 34
  16. lock.c in NetHack 3.4.3, line 562
  17. lock.c in NetHack 3.4.3, line 682
  18. dig.c in NetHack 3.4.3, line 348
  19. hack.c in NetHack 3.4.3, line 381
  20. dothrow.c in NetHack 3.4.3, line 943
  21. dothrow.c in NetHack 3.4.3, line 1739
  22. eat.c in NetHack 3.4.3, line 1182
  23. dokick.c in NetHack 3.4.3, line 1054
  24. dbon in weapon.c
  25. uhitm.c in NetHack 3.4.3, line 390
  26. uhitm.c in NetHack 3.4.3, line 236
  27. uhitm.c in NetHack 3.4.3, line 708
  28. uhitm.c in NetHack 3.4.3, line 752
  29. 29.0 29.1 uhitm.c in NetHack 3.4.3, line 849
  30. uhitm.c in NetHack 3.4.3, line 864
  31. uhitm.c in NetHack 3.4.3, line 895
  32. acurrstr in attrib.c
  33. hack.c in NetHack 3.4.3, line 2162
  34. dokick.c in NetHack 3.4.3, line 34
  35. dokick.c in NetHack 3.4.3, line 452
  36. dothrow.c in NetHack 3.4.3, line 943
  37. dokick.c in NetHack 3.4.3, line 697
  38. eat.c in NetHack 3.4.3, line 1182
  39. lock.c in NetHack 3.4.3, line 562
  40. lock.c in NetHack 3.4.3, line 682
  41. eat.c in NetHack 3.4.3, line 926
  42. 42.0 42.1 eat.c in NetHack 3.4.3, line 1692
  43. 43.0 43.1 eat.c in NetHack 3.4.3, line 1122
  44. eat.c in NetHack 3.4.3, line 2346
  45. eat.c in NetHack 3.4.3, line 2344
  46. mcastu.c in NetHack 3.4.3, line 409
  47. spell.c in NetHack 3.4.3, line 155
  48. eat.c in NetHack 3.4.3, line 1293
  49. eat.c in NetHack 3.4.3, line 1973
  50. fountain.c in NetHack 3.4.3, line 265
  51. attrib.c in NetHack 3.4.3, line 338
  52. attrib.c in NetHack 3.4.3, line 339
  53. attrib.c in NetHack 3.4.3, line 354
  54. dokick.c in NetHack 3.4.3, line 1056
  55. dokick.c in NetHack 3.4.3, line 1060
  56. dokick.c in NetHack 3.4.3, line 1090
  57. dothrow.c in NetHack 3.4.3, line 1348
  58. dothrow.c in NetHack 3.4.3, line 1362
  59. hack.c in NetHack 3.4.3, line 237
  60. lock.c in NetHack 3.4.3, line 142
  61. lock.c in NetHack 3.4.3, line 207
  62. lock.c in NetHack 3.4.3, line 576
  63. lock.c in NetHack 3.4.3, line 692
  64. mhitu.c in NetHack 3.4.3, line 1405
  65. mhitu.c in NetHack 3.4.3, line 2347
  66. polyself.c in NetHack 3.4.3, line 1291
  67. potion.c in NetHack 3.4.3, line 813
  68. read.c in NetHack 3.4.3, line 680
  69. uhitm.c in NetHack 3.4.3, line 379
  70. attrib.c in NetHack 3.4.3, line 325
  71. ball.c in NetHack 3.4.3, line 777
  72. ball.c in NetHack 3.4.3, line 784
  73. dokick.c in NetHack 3.4.3, line 1003
  74. dokick.c in NetHack 3.4.3, line 1031
  75. dokick.c in NetHack 3.4.3, line 1051
  76. explode.c in NetHack 3.4.3, line 364
  77. trap.c in NetHack 3.4.3, line 3686
  78. trap.c in NetHack 3.4.3, line 3855
  79. potion.c in NetHack 3.4.3, line 1671
  80. zap.c in NetHack 3.4.3, line 1841
  81. zap.c in NetHack 3.4.3, line 3940
  82. mhitu.c in NetHack 3.4.3, line 930
  83. mhitu.c in NetHack 3.4.3, line 960
  84. mhitu.c in NetHack 3.4.3, line 1175
  85. mhitu.c in NetHack 3.4.3, line 1458
  86. mhitu.c in NetHack 3.4.3, line 1175
  87. zap.c in NetHack 3.4.3, line 3175
  88. uhitm.c in NetHack 3.4.3, line 2176
  89. mhitu.c in NetHack 3.4.3, line 1713
  90. mhitu.c in NetHack 3.4.3, line 1727
  91. mhitu.c in NetHack 3.4.3, line 2314
  92. polyself.c in NetHack 3.4.3, line 579
  93. read.c in NetHack 3.4.3, line 680
  94. read.c in NetHack 3.4.3, line 789
  95. read.c in NetHack 3.4.3, line 800
  96. sit.c in NetHack 3.4.3, line 83
  97. timeout.c in NetHack 3.4.3, line 108
  98. trap.c in NetHack 3.4.3, line 726
  99. trap.c in NetHack 3.4.3, line 938
  100. zap.c in NetHack 3.4.3, line 1895
  101. zap.c in NetHack 3.4.3, line 3082
  102. dokick.c in NetHack 3.4.3, line 84
  103. dokick.c in NetHack 3.4.3, line 798
  104. dokick.c in NetHack 3.4.3, line 818
  105. dokick.c in NetHack 3.4.3, line 841
  106. dokick.c in NetHack 3.4.3, line 872
  107. dokick.c in NetHack 3.4.3, line 885
  108. dokick.c in NetHack 3.4.3, line 953
  109. dokick.c in NetHack 3.4.3, line 964
  110. dokick.c in NetHack 3.4.3, line 976
  111. dokick.c in NetHack 3.4.3, line 987
  112. dokick.c in NetHack 3.4.3, line 917
  113. dokick.c in NetHack 3.4.3, line 1044
  114. dothrow.c in NetHack 3.4.3, line 932
  115. dothrow.c in NetHack 3.4.3, line 1316
  116. dothrow.c in NetHack 3.4.3, line 1352
  117. dothrow.c in NetHack 3.4.3, line 1364
  118. hack.c in NetHack 3.4.3, line 914
  119. lock.c in NetHack 3.4.3, line 102
  120. lock.c in NetHack 3.4.3, line 125
  121. lock.c in NetHack 3.4.3, line 142
  122. lock.c in NetHack 3.4.3, line 157
  123. lock.c in NetHack 3.4.3, line 207
  124. music.c in NetHack 3.4.3, line 391
  125. lock.c in NetHack 3.4.3, line 398
  126. music.c in NetHack 3.4.3, line 437
  127. lock.c in NetHack 3.4.3, line 445
  128. polyself.c in NetHack 3.4.3, line 841
  129. polyself.c in NetHack 3.4.3, line 746
  130. potion.c in NetHack 3.4.3, line 1275
  131. zap.c in NetHack 3.4.3, line 2020
  132. trap.c in NetHack 3.4.3, line 3512
  133. trap.c in NetHack 3.4.3, line 3574
  134. uhitm.c in NetHack 3.4.3, line 480
  135. uhitm.c in NetHack 3.4.3, line 1425
  136. wield.c in NetHack 3.4.3, line 701
  137. attrib.c in NetHack 3.4.3, line 320
  138. attrib.c in NetHack 3.4.3, line 340
  139. attrib.c in NetHack 3.4.3, line 341
  140. attrib.c in NetHack 3.4.3, line 362
  141. dokick.c in NetHack 3.4.3, line 173
  142. dokick.c in NetHack 3.4.3, line 1002
  143. dokick.c in NetHack 3.4.3, line 1025
  144. hack.c in NetHack 3.4.3, line 468
  145. hack.c in NetHack 3.4.3, line 608
  146. hack.c in NetHack 3.4.3, line 908
  147. mhitu.c in NetHack 3.4.3, line 144
  148. mhitu.c in NetHack 3.4.3, line 1126
  149. uhitm.c in NetHack 3.4.3, line 2283
  150. mhitu.c in NetHack 3.4.3, line 1176
  151. potion.c in NetHack 3.4.3, line 608
  152. potion.c in NetHack 3.4.3, line 1260
  153. potion.c in NetHack 3.4.3, line 1269
  154. timeout.c in NetHack 3.4.3, line 39
  155. timeout.c in NetHack 3.4.3, line 142
  156. trap.c in NetHack 3.4.3, line 779
  157. trap.c in NetHack 3.4.3, line 939
  158. trap.c in NetHack 3.4.3, line 3745
  159. trap.c in NetHack 3.4.3, line 1151
  160. wield.c in NetHack 3.4.3, line 701
  161. allmain.c in NetHack 3.4.3, line 171
  162. attrib.c in NetHack 3.4.3, line 435
  163. attrib.c in NetHack 3.4.3, line 436
  164. attrib.c in NetHack 3.4.3, line 324
  165. mhitu.c in NetHack 3.4.3, line 1406
  166. mhitu.c in NetHack 3.4.3, line 2327
  167. mhitu.c in NetHack 3.4.3, line 2332
  168. potion.c in NetHack 3.4.3, line 481
  169. potion.c in NetHack 3.4.3, line 474
  170. potion.c in NetHack 3.4.3, line 1224
  171. potion.c in NetHack 3.4.3, line 791
  172. potion.c in NetHack 3.4.3, line 799
  173. potion.c in NetHack 3.4.3, line 814
  174. read.c in NetHack 3.4.3, line 679
  175. uhitm.c in NetHack 3.4.3, line 1827
  176. attrib.c in NetHack 3.4.3, line 1640
  177. attrib.c in NetHack 3.4.3, line 330
  178. attrib.c in NetHack 3.4.3, line 342
  179. attrib.c in NetHack 3.4.3, line 356
  180. timeout.c in NetHack 3.4.3, line 72
  181. hack.c in NetHack 3.4.3, line 891
  182. attrib.c in NetHack 3.4.3, line 356
  183. hack.c in NetHack 3.4.3, line 1086
  184. dothrow.c in NetHack 3.4.3, line 896
  185. eat.c in NetHack 3.4.3, line 238
  186. fountain.c in NetHack 3.4.3, line 267
  187. fountain.c in NetHack 3.4.3, line 284
  188. hack.c in NetHack 3.4.3, line 474
  189. mhitu.c in NetHack 3.4.3, line 1262
  190. mhitu.c in NetHack 3.4.3, line 1520
  191. mhitu.c in NetHack 3.4.3, line 2290
  192. mhitu.c in NetHack 3.4.3, line 2295
  193. mthrowu.c in NetHack 3.4.3, line 76
  194. polyself.c in NetHack 3.4.3, line 239
  195. polyself.c in NetHack 3.4.3, line 564
  196. potion.c in NetHack 3.4.3, line 136
  197. potion.c in NetHack 3.4.3, line 461
  198. potion.c in NetHack 3.4.3, line 493
  199. potion.c in NetHack 3.4.3, line 688
  200. potion.c in NetHack 3.4.3, line 890
  201. potion.c in NetHack 3.4.3, line 1234
  202. potion.c in NetHack 3.4.3, line 1299
  203. potion.c in NetHack 3.4.3, line 1611
  204. read.c in NetHack 3.4.3, line 679
  205. read.c in NetHack 3.4.3, line 790
  206. read.c in NetHack 3.4.3, line 801
  207. sit.c in NetHack 3.4.3, line 177
  208. trap.c in NetHack 3.4.3, line 3706
  209. trap.c in NetHack 3.4.3, line 3714
  210. trap.c in NetHack 3.4.3, line 3856
  211. trap.c in NetHack 3.4.3, line 1904
  212. trap.c in NetHack 3.4.3, line 3161
  213. https://sourceforge.net/p/unnethack/git/ci/master/tree/src/mhitu.c#l2206
  214. spell.c in NetHack 3.4.3, line 336
  215. spell.c in NetHack 3.4.3, line 355
  216. spell.c in NetHack 3.4.3, line 808
  217. priest.c in NetHack 3.4.3, line 472
  218. priest.c in NetHack 3.4.3, line 493
  219. attrib.c in NetHack 3.4.3, line 327
  220. attrib.c in NetHack 3.4.3, line 353
  221. zap.c in NetHack 3.4.3, line 1862
  222. spell.c in NetHack 3.4.3, line 859
  223. spell.c in NetHack 3.4.3, line 869
  224. zap.c in NetHack 3.4.3, line 2454
  225. zap.c in NetHack 3.4.3, line 1802
  226. polyself.c in NetHack 3.4.3, line 340
  227. polyself.c in NetHack 3.4.3, line 565
  228. polyself.c in NetHack 3.4.3, line 918
  229. quest.c in NetHack 3.4.3, line 90
  230. quest.c in NetHack 3.4.3, line 249
  231. quest.c in NetHack 3.4.3, line 261
  232. quest.c in NetHack 3.4.3, line 266
  233. trap.c in NetHack 3.4.3, line 3504
  234. trap.c in NetHack 3.4.3, line 3570
  235. potion.c in NetHack 3.4.3, line 480
  236. potion.c in NetHack 3.4.3, line 529
  237. fountain.c in NetHack 3.4.3, line 243
  238. potion.c in NetHack 3.4.3, line 647
  239. potion.c in NetHack 3.4.3, line 653
  240. detect.c in NetHack 3.4.3, line 282
  241. detect.c in NetHack 3.4.3, line 384
  242. detect.c in NetHack 3.4.3, line 951
  243. potion.c in NetHack 3.4.3, line 858
  244. potion.c in NetHack 3.4.3, line 878
  245. potion.c in NetHack 3.4.3, line 1824
  246. potion.c in NetHack 3.4.3, line 1855
  247. rumors.c in NetHack 3.4.3, line 129
  248. rumors.c in NetHack 3.4.3, line 170
  249. rumors.c in NetHack 3.4.3, line 373
  250. dokick.c in NetHack 3.4.3, line 918
  251. dokick.c in NetHack 3.4.3, line 988
  252. fountain.c in NetHack 3.4.3, line 561
  253. write.c in NetHack 3.4.3, line 179
  254. o_init.c in NetHack 3.4.3, line 319
  255. shk.c in NetHack 3.4.3, line 3919
  256. read.c in NetHack 3.4.3, line 655
  257. mhitu.c in NetHack 3.4.3, line 2342
  258. pray.c in NetHack 3.4.3, line 1116
  259. pray.c in NetHack 3.4.3, line 1170
  260. pray.c in NetHack 3.4.3, line 1383
  261. pray.c in NetHack 3.4.3, line 1481
  262. fountain.c in NetHack 3.4.3, line 384
  263. pray.c in NetHack 3.4.3, line 1690
  264. uhitm.c in NetHack 3.4.3, line 1180
  265. uhitm.c in NetHack 3.4.3, line 1560
  266. fountain.c in NetHack 3.4.3, line 145
  267. fountain.c in NetHack 3.4.3, line 487
  268. fountain.c in NetHack 3.4.3, line 225
  269. fountain.c in NetHack 3.4.3, line 305
  270. fountain.c in NetHack 3.4.3, line 311
  271. teleport.c in NetHack 3.4.3, line 536
  272. engrave.c in NetHack 3.4.3, line 373
  273. music.c in NetHack 3.4.3, line 541
  274. detect.c in NetHack 3.4.3, line 1136
  275. detect.c in NetHack 3.4.3, line 1232
  276. detect.c in NetHack 3.4.3, line 1193
  277. detect.c in NetHack 3.4.3, line 1203
  278. detect.c in NetHack 3.4.3, line 1211
  279. eat.c in NetHack 3.4.3, line 1635
  280. end.c in NetHack 3.4.3, line 373
  281. spell.c in NetHack 3.4.3, line 989
  282. spell.c in NetHack 3.4.3, line 1017
  283. priest.c in NetHack 3.4.3, line 661
  284. attrib.c in NetHack 3.4.3, line 322
  285. attrib.c in NetHack 3.4.3, line 357
  286. steed.c in NetHack 3.4.3, line 93
  287. sit.c in NetHack 3.4.3, line 75
  288. trap.c in NetHack 3.4.3, line 3066
  289. potion.c in NetHack 3.4.3, line 508
  290. potion.c in NetHack 3.4.3, line 519
  291. potion.c in NetHack 3.4.3, line 878
  292. potion.c in NetHack 3.4.3, line 1824
  293. potion.c in NetHack 3.4.3, line 1838
  294. rumors.c in NetHack 3.4.3, line 373
  295. write.c in NetHack 3.4.3, line 105
  296. read.c in NetHack 3.4.3, line 1119
  297. mhitu.c in NetHack 3.4.3, line 1114
  298. mhitu.c in NetHack 3.4.3, line 2300
  299. artifact.c in NetHack 3.4.3, line 545
  300. pray.c in NetHack 3.4.3, line 1173
  301. pray.c in NetHack 3.4.3, line 1407
  302. pray.c in NetHack 3.4.3, line 1680
  303. uhitm.c in NetHack 3.4.3, line 799
  304. fountain.c in NetHack 3.4.3, line 373
  305. fountain.c in NetHack 3.4.3, line 450
  306. fountain.c in NetHack 3.4.3, line 469
  307. dig.c in NetHack 3.4.3, line 770
  308. engrave.c in NetHack 3.4.3, line 541
  309. pickup.c in NetHack 3.4.3, line 1324
  310. music.c in NetHack 3.4.3, line 424
  311. music.c in NetHack 3.4.3, line 429
  312. music.c in NetHack 3.4.3, line 462
  313. rumors.c in NetHack 3.4.3, line 129
  314. http://www.steelypips.org/nethack/343/stat-343.html
  315. attrib.c in NetHack 3.6.0, line 565
  316. u_init.c in NetHack 3.6.0, line 884
  317. role.c in NetHack 3.4.3, line 405

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.