Draft:Potion of restoration: Difference between revisions
OmegaAdmin (talk | contribs) 为已保存草稿补齐章节目录、条件表格与可见源码 References,保留 Draft 状态 |
OmegaAdmin (talk | contribs) 整理恐惧失明禁锢与吸级机制,修正保护规则并连接相关草稿 |
||
| (One intermediate revision by the same user not shown) | |||
| Line 12: | Line 12: | ||
{| class="wikitable" | {| class="wikitable" | ||
! Potion state !! Attributes affected !! New current value | ! Potion state !! Attributes affected !! New current value<ref name="effect2-c-recover_stat">{{Source|effect2.c|451}} (<code>recover_stat</code>).</ref> | ||
|- | |- | ||
| Uncursed or blessed || All six || Greater of ''C'' and ''M'': restores a drain while preserving above-maximum bonuses | | Uncursed or blessed || All six || Greater of ''C'' and ''M'': restores a drain while preserving above-maximum bonuses | ||
| Line 21: | Line 21: | ||
Recorded maxima are unchanged. Neither positive blessing strength nor enchantment increases restoration, and it does not restore lost experience levels or maximum HP. The cursed name, ''potion of debilitation'', is shared with [[Draft:Potion of augmentation|augmentation]]. | Recorded maxima are unchanged. Neither positive blessing strength nor enchantment increases restoration, and it does not restore lost experience levels or maximum HP. The cursed name, ''potion of debilitation'', is shared with [[Draft:Potion of augmentation|augmentation]]. | ||
Noncursed use identifies the type automatically. Cursed use does not, and the shared name does not uniquely distinguish the two potion kinds.<ref name="itemf1-c-i_restore">{{Source|itemf1.c|246}} (<code>i_restore | Noncursed use identifies the type automatically. Cursed use does not, and the shared name does not uniquely distinguish the two potion kinds.<ref name="itemf1-c-i_restore">{{Source|itemf1.c|246}} (<code>i_restore</code>).</ref> | ||
== Strategy == | == Strategy == | ||
For the difference between repairing drained attributes and regaining lost experience levels, see [[Draft:Level drain#Recovery and strategy|Level drain]]. | |||
Keep restoration for attribute loss that would otherwise weaken carrying capacity, combat or spellcasting. It can repair several drained attributes at once, and safely preserves higher current bonuses. Drinking it while all attributes are already at or above their maxima does not improve the character. | Keep restoration for attribute loss that would otherwise weaken carrying capacity, combat or spellcasting. It can repair several drained attributes at once, and safely preserves higher current bonuses. Drinking it while all attributes are already at or above their maxima does not improve the character. | ||
Latest revision as of 12:57, 12 September 2026
| ! | |
| Type | Potion |
|---|---|
| Base value (Au) | 50 |
| Item level | 3 |
| Weight | 20 |
| Unidentified appearance | Random container |
| Cursed name | Potion of debilitation |
A potion of restoration repairs reductions to the player's six attributes. It restores current values toward their recorded maxima rather than increasing those maxima.[1]
Generation
Restoration is an item-level-3 ordinary potion, available as random loot, in pawn-shop stock, or through acquirement.[2][3][4][5]
Description
The six attributes are Strength, Constitution, Dexterity, Agility, Intelligence and Power. In the table, C is an attribute's current value and M its recorded maximum.
| Potion state | Attributes affected | New current value[6] |
|---|---|---|
| Uncursed or blessed | All six | Greater of C and M: restores a drain while preserving above-maximum bonuses |
| Cursed | One, chosen uniformly | Lesser of C − 1 and M − 1: may remove a large above-maximum bonus |
Recorded maxima are unchanged. Neither positive blessing strength nor enchantment increases restoration, and it does not restore lost experience levels or maximum HP. The cursed name, potion of debilitation, is shared with augmentation.
Noncursed use identifies the type automatically. Cursed use does not, and the shared name does not uniquely distinguish the two potion kinds.[7]
Strategy
For the difference between repairing drained attributes and regaining lost experience levels, see Level drain.
Keep restoration for attribute loss that would otherwise weaken carrying capacity, combat or spellcasting. It can repair several drained attributes at once, and safely preserves higher current bonuses. Drinking it while all attributes are already at or above their maxima does not improve the character.
For an actual increase above existing values, augmentation has a different effect. The restoration spell provides the same repair when available. Resting for a week at Rampart Arms also resets attributes to their maxima, but that broader reset can remove above-maximum gains which this potion preserves.
References
- ↑ iinit.h in Omega 0.90.4, line 152.
- ↑ item.c in Omega 0.90.4, line 7 (
create_object). - ↑ site1.c in Omega 0.90.4, line 1022 (
l_pawn_shop). - ↑ effect1.c in Omega 0.90.4, line 647 (
acquire). - ↑ item.c in Omega 0.90.4, line 179 (
make_potion). - ↑ effect2.c in Omega 0.90.4, line 451 (
recover_stat). - ↑ itemf1.c in Omega 0.90.4, line 246 (
i_restore).