The change to Sokoban difficulty calculation introduced a balance issue: previously the Sokoban prize was obtainable before item- destruction attacks became common and would protect from them, whereas now they commonly appear in Sokoban itself, before the prize is accessible. This makes scrolls and potions much less usable as escape items, and potions of healing less usable for HP recovery, because they either get stashed or destroyed (and in either case aren't usable by the character in time-critical situations). This commit attempts to alleviate the problem by adding a way to protect items from cold and fire in the early game. It's a little unreliable, and requires equipping an item that has bad stats and generally isn't otherwise used, but which is generally easy to find early on. Not included in this commit, but probably necessary for a "finished" version of the feature: some way of letting players know the new mechanic. It shows up in enlightenment, but there should probably be at least rumors (and maybe even a major Oracle consultation) hinting at the mechanic. We might also want to change the unIDed description of the dwarvish cloak as a hint, although that would require, e.g., new database entries.
168 KiB
168 KiB