Attribute

From NetHackWiki
Revision as of 02:42, 11 November 2019 by Luxidream (talk | contribs) (no one calls it this)
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 & 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:

Potions of gain ability and lumps of royal jelly will only increase your strength by 1 (e.g., from 18/01 to 18/02). Spinach and giant corpses sometimes increase your strength by more than one. If the corpse or tin will increase strength and your strength is less than 18, there's a 1 in 4 chance of increasing your strength by 1d6 points. If the corpse or tin increases strength and your strength is between 18 and 18/84, your strength will be increased by 1d10. If your strength is at least 18/85, it can only be increased by 1.[45]

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

Constitution is one of the easier stats to exercise; the easiest way is simply to have a hunger status of "Not Hungry". In 3.6.1 wielding the Ogresmasher sets constitution to 25.

Messages

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

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

When you lose a point in constitution through abuse, it will say:

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

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

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. 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:[315]

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

Third, each attribute has a 5% probability of having a random number from −2 to +4 added to it [317]. 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:[318]

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

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
>23 −8

See also

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