Spellbook/zh-CN

From NetHackWiki
Jump to navigation Jump to search

NetHack 中文 Wiki 需要您的帮助!
了解如何帮助我们完善Wiki

魔法书(spellbook)+NetHack中的一类物品。魔法书是写有符文,能够教授法术

生成

魔法书类物品的相对生成概率在常规地牢是125(4%),在容器中是325(12%),不会在Rogue关卡葛汉诺姆随机生成。

部分职业的角色在开局时会获得魔法书。初始会获得魔法书的角色都会在游戏开始时即掌握这些魔法书对应的法术(记忆回合数为20,000)[1][2]

  • 医生在游戏开始时会获得一本治愈魔法书,一本强力治愈魔法书和一本点石成肉魔法书[3]
  • 僧侣在游戏开始时会随机获得治愈魔法书、保护魔法书和沉睡魔法书中的一种,每种出现的概率相同[4][5]
  • 牧师在游戏开始时会获得两本随机的魔法书[6]
  • 巫师在游戏开始时会获得一本力冲击魔法书和一本随机魔法书[7]

玩家起始物品里的魔法书必定是已鉴定且未被阅读过的,其对应的法术等级不会超过3级,且不会是玩家无法掌握的流派的法术(比如牧师初始获得的魔法书只会是神圣、预测或治愈流派的)[8]。玩家的起始物品里不会出现白纸魔法书,也不会出现种类重复的魔法书[9]

神庙里生成的阵营祭司携带2~4本魔法书。

若玩家在祈祷时得到恩赐,则有机会得到一本祝福的魔法书[10]

魔法书也有可能作为雕像的内容物生成,具体机制请参阅雕像#雕像内容物

以下内容涉及即将到来的版本(NetHack 3.7.0)之信息。如果该版本已发布,请验证此处信息是否准确,并作出相应修改,以将其并入页面。

根据commit 4a616024commit e3490743,现在玩家在获得神的魔法书恩赐时,有14的概率改为获得“神圣知识”,直接习得对应的法术。玩家通过恩赐获得的白纸魔法书必定是已鉴定的,其余魔法书有1100的概率已鉴定。

描述

要从魔法书上学习法术,玩家需要输入r阅读它们。如果玩家拥有白纸魔法书,其可以使用魔笔在上面书写符文,从而将其转化为自己知晓的任何一种魔法书。阅读或书写魔法书都会打破文盲行为

大多数魔法书的重量都是50 aum,其基础价为对应法术等级×100 zm。大多数魔法书的外观是随机的。外观为“羊皮纸魔法书”或“牛皮纸魔法书”的魔法书由皮革制成,其他外观的魔法书均由制成。除白纸魔法书和小说以外的书都属于魔法物品

魔法书与各种形式的(例如水池喷泉瓶装水等)接触后会被漂白,变为白纸魔法书,其BUC保持不变。除取消魔法书外的魔法书被取消后会变为未诅咒的白纸魔法书。

怪物不会使用魔法书,但它们会在捡拾物品时捡起魔法书。

以下内容涉及即将到来的版本(NetHack 3.7.0)之信息。如果该版本已发布,请验证此处信息是否准确,并作出相应修改,以将其并入页面。

根据commit ed6b78e2,小说的重量修改为10 aum。

魔法书列表

本节展示所有魔法书的列表,按照魔法书的法术流派(school)分类。NetHack中共有7种法术流派:攻击(attack)、神圣(clerical)、预测(divination)、迷惑(enchantment)、逃脱(escape)、治愈(healing),以及物质(matter)。

下表中部分数据意义的说明:

  • “定向性”一列表示此魔法书教授的法术在施放时是否要求指定方向或目标,以及指定后以何种形式施放,可参见施法#法术效果
  • “价格下的相对概率”一列表示此魔法书在同价位魔法书中的相对出现概率(例如说,一本基础价为700 zm的魔法书有75%的概率是取消魔法书,25%的概率是死亡一指魔法书)。
  • “阅读行动数”一列表示玩家阅读此魔法书消耗的行动次数[11],如果玩家的速度值是角色的通常速度值(12),则玩家阅读魔法书消耗的回合数与阅读行动数相等,提高或降低速度可以相应地缩短或延长阅读所需回合数。
    • 如果玩家佩戴眼镜,则实际阅读行动数会被缩短13
  • “技能变化”一列表示对应法术在玩家的对应流派技能达到一定等级后,效果会有所不同。“B”表示技能等级达到“基础”或更高时法术的效果会有变化,“S”表示技能等级达到“熟练”或更高时法术的效果会有变化,“E”表示玩家的技能等级达到“老练”时法术的效果会有变化。

以下内容涉及即将到来的版本(NetHack 3.7.0)之信息。如果该版本已发布,请验证此处信息是否准确,并作出相应修改,以将其并入页面。

新版本中,魔法书的各种属性发生了一些变化:

  • 根据commit caaf1b37,小说现在会随机生成了,其相对生成概率为11000(0.1%)。相应地,沉睡魔法书的生成概率减少了11000
  • 根据commit c73595cccommit d452242a,部分迷惑法术的等级得到了调整:沉睡为3级,混乱怪物为1级,魅惑怪物为5级。沉睡和混乱怪物魔法书的相对生成概率对调,分别为491000(4.9%)和3100(3%)。
  • 根据commit 0d508cc9新增攻击流派法术“连锁闪电”(chain lighting),其相对生成概率为140(2.5%),相应地,敲击、力冲击、巫师锁和隐身魔法书的相对概率分别修改为2.5%、3%、2.5%和2%。

攻击

魔法书 法术等级 定向性 相对概率 价格下的相对概率 阅读行动数 技能变化
力冲击 1 光束 3.5% 12.2% 4
吸血 2 光束 1.0% 4.3% 4
魔法飞弹 2 射线 4.5% 19.1% 4
冰锥 4 射线(熟练后为远距离) 1.0% 8.3% 23 S
火球 4 射线(熟练后为远距离) 2.0% 16.7% 14 S
死亡一指 7 射线 0.5% 25.0% 82


神圣

魔法书 法术等级 定向性 相对概率 价格下的相对概率 阅读行动数 技能变化
保护 1 非定向 1.8% 6.3% 5 E
制造怪物 2 非定向 3.5% 14.9% 5
解除诅咒 3 非定向 2.5% 10.8% 12 S
生成宠物 6 非定向 1.0% 19.6% 44
超度 6 光束 1.6% 31.4% 50


预测

魔法书 法术等级 定向性 相对概率 价格下的相对概率 阅读行动数 技能变化
探测怪物 1 非定向 4.3% 15.0% 3 S
光亮 1 非定向 4.5% 15.7% 3
探测食物 2 非定向 3.0% 12.8% 5 S
千里眼 3 非定向 1.5% 16.5% 8 S
探测隐形 3 非定向 2.0% 8.6% 10
鉴定 3 非定向 2.0% 8.6% 14 S
探测宝藏 4 非定向 2.0% 16.7% 17 S
魔法地图 5 非定向 1.8% 47.4% 37


迷惑

魔法书 法术等级 定向性 相对概率 价格下的相对概率 阅读行动数 技能变化
沉睡 1 射线 5.0% 17.5% 3
混乱怪物 2 非定向 3.0% 12.8% 4 S
减慢怪物 2 光束 3.0% 12.8% 4
造成恐惧 3 非定向 2.5% 10.8% 8
魅惑怪物 3 非定向 2.0% 8.6% 8


逃脱

魔法书 法术等级 定向性 相对概率 价格下的相对概率 阅读行动数 技能变化
跳跃 1 非定向 2.0% 7.0% 5 BSE
自我加速 3 非定向 3.3% 14.2% 10 S
隐身 4 非定向 2.5% 20.8% 17
飘浮 4 非定向 2.0% 16.7% 14 S
传送 6 光束 1.5% 29.4% 38


治愈

魔法书 法术等级 定向性 相对概率 价格下的相对概率 阅读行动数 技能变化
治愈 1 光束 4.0% 14.0% 4 S
治疗失明 2 非定向 2.5% 10.6% 4
治疗疾病 3 非定向 3.2% 13.8% 8
强力治愈 3 光束 2.7% 11.6% 12
点石成肉 3 光束 1.5% 6.5% 4
恢复能力 4 非定向 2.5% 20.8% 17 S


物质

魔法书 法术等级 定向性 相对概率 价格下的相对概率 阅读行动数 技能变化
敲击 1 光束 3.5% 12.2% 3
巫师锁 2 光束 3.0% 12.8% 5
挖掘 5 射线 2.0% 52.6% 32
变形 6 光束 1.0% 19.6% 50
取消 7 光束 1.5% 75.0% 66


其他

这些书类物品无法用于学习法术,而是有其他的作用。

魔法书 外观 重量 基础价 相对概率
白纸魔法书 空白魔法书 50 0 1.8%
死亡之书 纸莎草魔法书 20 10000 独一无二
小说 平装本 1 20 不随机生成

阅读魔法书

通过阅读r操作可以阅读魔法书。成功从魔法书中学会法术的概率由多种因素决定,机制见下文阅读成功率章节。如果阅读失败,玩家会受到多种负面效果的影响。阅读各种书类物品会打破文盲行为,但阅读白纸魔法书和死亡之书除外[12][13]

阅读魔法书成功后,玩家对学会的法术的记忆时长会增加到20,000回合,玩家的感知会得到锻炼[14]。如果玩家对法术的记忆时长为2,000回合或更少,阅读魔法书可以将法术记忆时长刷新到20,000回合[15],否则,阅读魔法书只会锻炼玩家的感知,并自动鉴定魔法书,没有其他效果[16]。阅读魔法书的过程属于持续动作,会因敌对怪物出现、玩家陷入混乱状态等原因而被打断[17]。如果玩家阅读魔法书成功,但阅读过程中被打断,则在一段时间内再次阅读时,只要自身未处于混乱状态,就无需再次进行成功率判定,继续魔法书的阅读过程[18]

在商店里阅读未付款的魔法书会被店主收取使用费,除非玩家对于魔法书的法术仍有较高的记忆度[16]

每本魔法书都有阅读次数的限制[19]:每次阅读一本魔法书并成功学会新法术或刷新已有法术的记忆后,它的阅读次数就会增加1次[20][21],将魔法书成功变形成其他的魔法书也会将其阅读计数增加1。一本魔法书累计阅读3次后,玩家将无法从书中学习未学会的法术(但可以刷新已学会法术的记忆),累计阅读4次后,玩家将无法从书中学习新法术或刷新法术记忆。若玩家未掌握对应法术,魔法书会在玩家第4次阅读它时变为白纸魔法书,若玩家已掌握对应法术,则魔法书会在玩家第5次阅读它时变为白纸魔法书。如果一本魔法书因阅读次数过多而变为空白,其阅读次数会减少至0到(阅读次数-1)区间内的随机值[22][23]

以下内容涉及即将到来的版本(NetHack 3.7.0)之信息。如果该版本已发布,请验证此处信息是否准确,并作出相应修改,以将其并入页面。

根据commit b55165ed,现在玩家可以通过对魔法书执行使用操作,来检查魔法书的阅读次数,具体请见下文消息章节。

根据commit 8ae51f94,现在玩家可以在任何时候阅读魔法书刷新法术记忆,而不需等待记忆时长降低到阈值以下。如果阅读魔法书时法术的记忆时长大于2,000回合,则游戏会询问玩家是否继续阅读。

阅读成功率

阅读魔法书的成功率取决于魔法书的法术等级和BUC,以及玩家的智力经验等级[24]。未诅咒的魔法书的阅读成功率用以下公式计算[25]

\frac{Int + 4 + \lfloor \frac{XPLevel}{2} \rfloor - (BookLevel \times 2)}{20}

公式中,Int代表角色的智力XPLevel代表角色的经验等级BookLevel代表魔法书的法术等级。

佩戴眼镜会将阅读成功概率增加110[25]

巫师职业的角色在阅读成功率低于100%的魔法书时,会接收到游戏的提示,并可以选择放弃阅读,如果成功率低于60%,提示会有变化,阅读被诅咒的魔法书时不会有提示[26]

阅读受祝福的魔法书必定能够成功学会法术[27]。阅读被诅咒的魔法书必定失败[28]

玩家无法在失明状态下阅读魔法书。在混乱状态下阅读魔法书必定失败,且有13的概率摧毁魔法书[29][30][31][32]

枯燥的魔法书

阅读外观为“枯燥的魔法书”的魔法书有概率令玩家陷入一段时间的睡眠状态,概率和状态时长同玩家的感知和魔法书的法术等级有关[33]:玩家有25-感知25的概率陷入睡眠,睡眠的持续时长为2到(2*法术等级) + (25-感知)区间内的随机值[34]睡眠抵抗能够防止该效果。

如果睡眠效果触发,玩家不会学习此魔法书的法术,也不会受到阅读失败的负面效果。如果玩家成功抵御了魔法书的催眠,但在阅读过程中被打断,再次阅读时游戏会再进行一次催眠判定[35]

阅读魔法书失败的效果

阅读魔法书失败时,魔法书会令玩家陷入持续一段时间的麻痹状态,持续回合数等于阅读魔法书所需的行动数减去2[11][28]。因此,阅读失败造成的麻痹状态时间最短为1回合(探测怪物、光亮、沉睡、敲击),最长为80回合(死亡一指)。自由行动特质无法防止该麻痹效果。

除造成麻痹外,如果玩家不是因混乱状态而阅读失败,魔法书还会根据其等级随机造成一种负面效果,见下文列表。列表的编号数字为触发此负面效果所需的最低法术等级,例如4级的魔法书只会随机选择列表中1至4项之一发动[36]

  1. 玩家会受到一次传送,该效果在造成麻痹之前触发。
  2. 当前楼层的所有怪物会被激怒,导致它们被唤醒并解除麻痹状态。
  3. 玩家会获得持续250~349回合的失明状态。
  4. 玩家的主物品栏里的金币会全部消失。
  5. 玩家会获得持续16~22回合的混乱状态。
  6. 玩家会受到毒素的影响,失去1~10点HP和3~6点力量(如果玩家有毒素抵抗,则只失去1~6点HP和1~2点力量)。穿戴手套能够防止该效果的影响,但力量手套会被腐蚀
  7. 魔法书会爆炸,摧毁自身,并对玩家造成7~25点伤害,魔法抵抗会免除此伤害。

阅读魔法书失败后,如果魔法书没有爆炸,则其有13的概率化为灰尘(被诅咒的魔法书必定会化为灰尘)[37],如果魔法书尚未被鉴定,此时游戏会请求玩家对其进行类型命名

书写魔法书

如前文所述,玩家可以使用魔笔在白纸魔法书上书写咒文,书写时可以选择魔法书的种类名称或者外观。书写成功后,白纸魔法书会转化为玩家指定的魔法书种类,其BUC保持不变[38]。书写魔法书会打破文盲行为[39]

玩家无法在除白纸魔法书以外的魔法书上书写,尝试如此作会损害自身的感知[40]。玩家也无法通过书写将魔法书转化为白纸魔法书或死亡之书[41][42]

只有当魔笔的充能足够,且书写的魔法书是已经鉴定的,书写会必定成功。书写未知的魔法书只有一定的概率成功,成功概率取决于玩家的幸运值,以及其职业是否为巫师。和卷轴不同,未鉴定的魔法书即使指定外观来书写也仍然要进行成功率判定[43]

书写一本魔法书的基础墨水消耗是该书的法术等级×10(小说在计算墨水消耗时算作1级的魔法书),书写时实际消耗的充能值是(基础墨水消耗×12)到(基础墨水消耗-1)之间的随机值(例如3级的鉴定魔法书书写时消耗的充能值为15~29范围内的随机值)。要书写指定等级的魔法书,玩家使用的魔笔的充能数不能低于充能值消耗的最低值,否则书写过程无法开始[44]。开始书写后,玩家的感知会得到锻炼,游戏会计算本次书写实际需要消耗的充能量[45],如果实际需要的充能量多于魔笔剩余的充能量,书写会失败,魔笔的充能会被清空,且魔法书会变回白纸[46]

以下内容涉及即将到来的版本(NetHack 3.7.0)之信息。如果该版本已发布,请验证此处信息是否准确,并作出相应修改,以将其并入页面。

根据commit 87749392,小说现在无法用魔笔写出,且尝试书写小说有13的概率摧毁用于书写的白纸魔法书。

根据commit 72213bf4,如果玩家尚未鉴定某种魔法书,但掌握了此魔法书对应的法术,其在书写此类魔法书时会获得成功率加成,如果法术记忆度较高,则必定成功,如果法术记忆度较低,则进行与3.6.7版本巫师职业一致的概率判定。

根据commit 319dfbda,现在巫师角色书写未鉴定魔法书时不会获得成功率加成,但其能够通过提升流派技能等级来获取该流派魔法书的鉴定信息。

策略

对于需要利用法术辅助自身的地牢探索的角色而言,魔法书管理是游玩策略的重要一环。

一般来说,专注于近战战斗的角色(例如女武神)可以无视魔法书,但若不需要挑战文盲行为,也可以读一次低等级的魔法书,从而可以利用遗忘的法术提供混乱状态,以发挥特定卷轴的特殊阅读效果。

携带魔法书

开局时携带魔法书的角色一般要考虑尽快将魔法书贮存在特定地点,以降低自身负重,并避免魔法书被火焰伤害烧毁。如果在前期能够找到合适的商店,你也可以将魔法书卖出来获得额外的金钱,一般来说到需要刷新法术记忆的时候,玩家一般能够攒到足够的钱将书换回来了。

如果你的角色魅力过低,导致商店里魔法书的标价比基础价高出13以上,直接阅读未付款的魔法书并支付使用费一般比买下魔法书,学完法术后再卖回给商店更便宜,但要注意阅读魔法书的失败效果可能会将你传送到商店外,导致你被迫成为商店窃贼。

安全阅读魔法书

阅读魔法书失败会造成多种负面效果,本节介绍能够规避或减轻这些效果的手段。

不要在尚未确认BUC的情况下阅读魔法书。如果魔法书非祝福,不要在尚未知晓魔法书的法术等级时阅读它,除非你是巫师职业。魔法书的等级能够通过基础价确认,只需要在合适的商店进行价格鉴定即可。

持有传送控制特质可以使你不受传送效果的影响;独角兽的角可以治愈失明、混乱和力量流失效果;穿戴手套可以避免毒素造成的力量流失和伤害;在阅读魔法书之前,将金币暂时丢弃或放进随身的容器里能够避免金币丢失;持有魔法抵抗特质能够避免魔法书爆炸造成的伤害。

不要在身上携带未付款道具时在商店里读非祝福的魔法书,否则若触发传送效果,店主会被激怒并召唤出吉斯通警察,此时由于玩家一般仍处于魔法书造成的麻痹状态,其非常容易陷入危险。

如果你拥有传送控制,将你自己锁进小隔间,在脚下刻写Elbereth,并转移携带的金币,你就可以相对安全地阅读至多5级的魔法书;如果你需要安全阅读6级以上的魔法书,你还需要戴上手套或是准备好独角兽的角;如果要安全阅读7级的魔法书,你还需要魔法抵抗特质,或是有至少26点HP。如果你没有传送控制,你可以在不可传送楼层阅读魔法书,例如仓库番顶层的小隔间里。

以下内容涉及即将到来的版本(NetHack 3.7.0)之信息。如果该版本已发布,请验证此处信息是否准确,并作出相应修改,以将其并入页面。

现在独角兽的角不再能够恢复下降的能力,其余恢复能力下降的手段包括恢复能力药水恢复能力法术、祈祷,以及增强能力药水

安全书写魔法书

要确保书写魔法书的成功率足够高,最好优先书写已经正式鉴定过的魔法书。如果要写没有鉴定过的魔法书,则需要先将幸运值提升到最大。如果你的职业是巫师,幸运值提升到最大后即使书写未鉴定的魔法书也有非常高的概率成功。你可以将小说或者用不上的魔法书漂白来获得书写用的白纸魔法书。

学习法术

成功阅读魔法书后,建议:

  • 用当前回合计数对魔法书进行类型命名,这样你就能随时知道应该在什么时候再次阅读来刷新法术记忆。你可以按\来查看已鉴定物品的类型命名。
  • 用单独命名记录这本魔法书的阅读次数。

刷新遗忘的法术后,你可以再阅读一遍魔法书来确认它是否已达到最大阅读次数。

被诅咒的魔法书

如果你拥有传送控制,缺少足够的能量发动传送魔法,也缺少其他传送来源,你可以保留一本诅咒的探测怪物、光亮、沉睡或敲击魔法书,将其当作无消耗的传送来源。这些书都是1级法术,只能造成传送效果,每次阅读只造成1回合的麻痹效果,并且书写消耗的墨水也不多,因此非常实用。有些速通玩家会利用此类策略来节省能量和充能卷轴

历史

魔法书最初于NetHack 1.3d加入游戏。

NetHack 3.2.3及更早版本中,玩家需要对魔法书进行抄录来学习其法术,且无论学习是否成功,魔法书都会被消耗掉。NetHack 3.3.0巫师补丁整合进游戏,从而将法术的学习机制修改为与现版本一致。

NetHack 3.4.3及更早版本,玩家只能在法术记忆时长不大于1,000回合时才能阅读魔法书刷新记忆。由于游戏漏洞的影响,如果玩家尚未学会某个法术,通过变形得到此法术对应的魔法书在阅读时不会变为空白,这使得玩家能够不断地变形一本魔法书来学习未掌握的法术,而不会使书变为空白,此漏洞于NetHack 3.6.0修复[47]

在NetHack 3.6.0中,刷新法术记忆所需的剩余记忆时长阈值调整到2000,且阅读枯燥的魔法书造成睡眠状态的机制也加入游戏,自NetHack 3.6.1开始,枯燥的魔法书造成的睡眠状态能够被睡眠抵抗抵御。

消息

你开始记忆符文。(You begin to memorize the runes.)
你成功地阅读了一本魔法书。
你停止了学习。(You stop studying.)
你在阅读魔法书时被打断。
你继续尝试<记忆法术/阅读小说>。(You continue your efforts to <memorize the spell/read the novel>.)
你在阅读书时被打断,随后继续阅读。
你学会了<法术>。(You learn <a spell>.)
你在尚未掌握任何法术时,成功从魔法书中学会了法术。
你将<法术>增加到你的魔法技艺中。(You add <the spell> to your repertoire.)
你在掌握了至少一个法术时,通过魔法书学会了新法术。
你已经充分地掌握<法术>了。(You know <the spell> quite well already.)
你在某法术记忆度充足时,阅读该法术对应的魔法书。
你对<法术>的记忆<更加清晰/恢复>了。(Your knowledge of <the spell> is <keener/restored>.)
你在法术记忆度低时阅读魔法书刷新了法术记忆,如果你已经完全遗忘了该法术,则该消息会使用“恢复”(restored)一词。
这本魔法书<非常>难以理解。继续吗?(This spellbook is <very> difficult to comprehend. Continue?)
你在自身职业是巫师的情况下阅读了未诅咒的魔法书,并由于成功率低于100%而收到游戏提示。如果成功率低于60%,则消息会加入尖括号里的词汇。
这本魔法书的字已经模糊不清,难以阅读。(This spellbook is too faint to be read anymore.)
你阅读了一本阅读计数为4的魔法书。
这本魔法书的字已经模糊不清,一次也读不了了。(This spellbook is too faint to be read even once.)
同上,但此魔法书的阅读计数是因变形而达到4以上的。
这本书太枯燥了,你难抵睡意。(This book is so dull that you can't keep your <eyes> open.)
你阅读了枯燥的魔法书,受到其造成的睡眠状态的影响。

(以下9条消息为阅读魔法书失败产生的随机负面效果。)

你感到一种痛苦的感觉。(You feel a wrenching sensation.)
你被传送。
你感觉受到威胁。(You feel threatened.)
你激怒了怪物。
一阵黑云落在你头上。(A cloud of darkness falls upon you.)
你受到失明效果。
你发现你没有钱了!(You notice you have no money!)
你失去了自己主物品栏里的金钱。
这些符文实在太难理解了。(These runes were just too much to comprehend.)
你受到混乱效果。
这本书被涂了毒!(The book was coated with contact poison!)
你受到毒素影响。
当你阅读这本书时,它往你的<>上释放出爆炸能量!(As you read the book, it radiates explosive energy in your <face>!)
魔法书发生爆炸。
这本书释放出爆炸能量,但你没有受伤!(The book radiates explosive energy, but you are unharmed!)
同上述第七条,但爆炸伤害被魔法抵抗抵御。
你感到一种奇怪的感觉。(You feel a strange sensation.)
你受到传送或失去金钱的效果,但未正常生效。
由于混乱,你难以控制你的动作。(Being confused you have difficulties in controlling your actions.)
你在混乱状态下阅读魔法书,此时阅读魔法书一定会失败,并根据结果输出以下两条消息之一:
你失手将魔法书撕成了碎片。(You accidentally tear the spellbook to pieces.)
你摧毁了魔法书。
你意识到自己在一遍又一遍地阅读[第一/下一]行。(You find yourself reading the [first/next] line over and over again.)
无事发生。

以下内容涉及即将到来的版本(NetHack 3.7.0)之信息。如果该版本已发布,请验证此处信息是否准确,并作出相应修改,以将其并入页面。

对魔法书执行使用操作会显示以下消息之一:

这本魔法书的[魔法]墨水是新鲜的。(The [magical] ink in this spellbook is fresh.)
魔法书的阅读次数为0。
这本魔法书的[魔法]墨水略微褪色。(The [magical] ink in this spellbook is slightly faded.)
魔法书的阅读次数为1。
这本魔法书的[魔法]墨水褪色严重。(The [magical] ink in this spellbook is very faded.)
魔法书的阅读次数为2。
这本魔法书的[魔法]墨水褪色非常严重。(The [magical] ink in this spellbook is extremely faded.)
魔法书的阅读次数为3。此时无法从此魔法书中学习尚未掌握的法术。
这本魔法书的[魔法]墨水几乎无法辨认。(The [magical] ink in this spellbook is barely visible.)
魔法书的阅读次数为4。此时此魔法书亦无法用于刷新法术记忆。
你听到书页发出令人不快的沙沙声。(You hear the pages make an unpleasant rustling sound.)
此魔法书是死亡之书。
你看到书页泛着淡淡红光。(You see the pages glow faintly red.)
同上,但你处于失聪状态。

Variants

此条目或段落的部分内容需要翻译。
您可以帮助我们翻译此页面,但请勿使用机器翻译

Several NetHack variants add new spellbooks and may make significant changes to spellbook mechanics.

SLASH'EM

In SLASH'EM, spellbooks are chargeable items and function notably different from NetHack: when the hero reads a non-cursed spellbook with charges, a charge is consumed and guarantees success if they fail the check to successfully read the book—if the hero succeeds in the roll, the charge is used to reduce the amount of turns spent reading to 13 of their normal value.

The words on the page seem to glow faintly.

SLASH'EM also adds several new spells, such as flame sphere and freeze sphere, and re-organizes spell schools.

A user has suggested improving this page or section as follows:

"Once we get the main table sorted, do up something similar for this section—if necessary, shoot it to a subpage a la Spellcasting (SLASH'EM)."

GruntHack

GruntHack adds five new spells and their corresponding spellbooks:

While monsters are not given the ability to read spellbooks, they can cast from the same pool of spells that the hero learns.

SporkHack

SporkHack adds three new spells and their corresponding spellbooks:

UnNetHack

In UnNetHack, the hero can apply spellbooks to receive an indication of how many more times they can be read, which has been a feature since commit 65957ad in version 4.

AceHack

In AceHack, spellbooks can be read to refresh memory of a spell regardless of if the hero is at the threshold required (1,000 turns as in NetHack 3.4.3).

NetHack 4

In NetHack 4, a hero writing a spellbook is only guaranteed to succeed if they are writing a formally-identified spellbook, and otherwise the chance of success is based on their wisdom and current luck.

dNetHack

dNetHack implements several changes to spellbooks and their mechanics.

Reading a blessed spellbook is not guaranteed success as in NetHack, but adds a +10 bonus to the check for succeeding—similarly, a cursed spellbook gives a -10 penalty to the same check. Wards can also be found on spellbooks, and as a result reading a spellbook will prompt the hero to study the cover or the contents of the book itself: the chance of properly reading a ward off a spellbook cover and learning it is calculated the same way as the success chance for reading, with a +10 bonus that is applied alongside the bonus or penalty for the book's beatitude above. Wearing a pair of sunglasses decreases the chance of success by 10% or -2, the opposite of a worn pair of lenses.

Heroes that have the spirit Paimon bound will be given the same prompt to continue reading that a Wizard encounters when reading a spellbook with a success rate under 100%—Paimon herself has several effects when bound that are tied to spellbooks (such as granting the ability to detect books on the current level), and part of her binding ritual requires her seal to be drawn around a spellbook, which is consumed in the process.

Several new spellbooks are added:

The spellbook of secrets is the base item for three artifacts: the Necronomicon, the Book of Infinite Spells, and the Book of Lost Names. Successfully reading a spellbook of secrets that is not an artifact will print a message, and there is a 110 chance of it becoming a spellbook of blank paper as well as a 110 chance of it turning into a random non-blank spellbook.

Heroes of certain roles can read certain spellbooks to learn 'related' spells, dependent on their skill level in that spell school. This is applicable to Wizards, any hero with Paimon bound, and neutral Undead Hunters that have implanted at least six parasites in their brain—Healers can also learn related spells from successfully reading a spellbook that teaches an applicable healing spell. These spells are listed below, with the skill level required to learn the related spell from reading a specific spellbook:

The effects for failing to read spellbooks of certain levels are adjusted, and all of them listed are in order of the minimum level required—failing to read a ward on a spellbook's cover rolls from the failure effects that apply to a spellbook one level lower than the read book:

  1. The book's beatitude has a 14 chance of "degrading" from blessed -> uncursed -> cursed, and otherwise the hero is teleported. Teleportation also occurs if the book would "degrade" in beatitude while already cursed.
  2. All monsters on the level are aggravated, which behaves as in NetHack.
  3. The hero is blinded for 250+1d100 (251-350) turns.
  4. The book bites the hero for 1d5+3 (4-8) damage.
  5. The hero is rendered immobile for 1d(level*2) + level*2 turns, e.g. a level 5 spellbook freezes them for 11-20 turns, a level 6 spellbook
  6. The hero is afflicted by contact poison, which behaves as in NetHack.
  7. The book radiates explosive energy, dealing 2*1d10 + 10 damage (12-30) to the hero. This damage is completely blocked with magic resistance and can be halved by the half spell damage property, compared to NetHack.

As in NetHack, failure has a 13 chance of destroying the book after the chosen failure effect is applied if that effect does not do so, with cursed spellbooks always crumbling to dust after failing to read them.

DynaHack

In DynaHack, spellbooks can be read to refresh memory of a spell even if it is still fresh, similar to AceHack.

FIQHack

FIQHack implements several changes regarding spellbooks and their spells.

  • A hero that reads a spellbook successfully will use up the book, retaining their memory of the spell for 60,000 turns instead of 20,000. Heroes will not start the game with the spells from their spellbooks memorized.
  • A spellbook's weight is tied to its spell level: Blank spellbooks weigh 30 aum, while all other spellbooks weigh (level * 5) + 30.
  • Monsters can learn spells from spellbooks and cast them, with certain monsters having proficiency in specific spell schools the same way the hero does.
  • Four new spellbooks are added (all level 7):
  • Changes are made to existing spellbooks and their spells:
    • The spellbook of haste self is replaced with the spellbook of speed monster: the accompanying spell works the same, but can additionally be cast at other monsters.
    • The spell of protection only works if you are not wearing body armor.

xNetHack

xNetHack adapts many of the upcoming changes introduced in NetHack 3.7.0, and also significantly adjusts spellbook generation and other related mechanics.

  • Wielding a spellbook cuts the power cost of casting its spell by half the required power rounded up, down to a minimum of 5 times the spell's level—spellcasting itself is also significantly reworked.
  • The weight of a spellbook depends directly on its spell level, with a base weight of 30 aum plus 5 aum per level (i.e. level 1 spellbooks are 35 aum, while level 7 spellbooks are 65 aum).
  • The time required to read a spellbook is 10 times its spell's level.
  • Reading a blessed or cursed spellbook is not guaranteed success or failure, and the spellbook's beatitude instead acts as a modifier for success: a blessed book rolls for success with +10 applied to the hero's intelligence, while a cursed book applies a -10 penalty.
  • Spellbook failure effects are rebalanced:
    • Failing to read any spellbook causes confusion as a default effect instead of paralysis, with the additional failure effects for spellbooks of certain levels changed as well (described below this point).
    • Failing to read a cursed spellbook will only disintegrate it if the book was cursed when the hero made the attempt.
    • Failing to read a spellbook of any level may cause its beatitude to "degrade", from blessed -> uncursed -> cursed.
    • Failing to read a spellbook for a spell that is level 4 or higher will cause it to bite the hero instead of making their gold vanish.
    • Paralysis only occurs when failing to read spellbooks for spells that are at least level 5.
  • The spellbooks for cure blindness, invisibility and detect food no longer randomly generate, though they can still be wished for or written.
  • The spellbook of identify is removed completely, and in exchange the effects of identify scrolls are made much more potent.
  • Heroes that start with spellbooks will be given enough starting power to cast the spells from them without wielding the spellbooks.
    • Wizards are also given spellbooks of force bolt and magic missile alongside two other random spellbooks, in exchange for not starting with scrolls, potions, rings, or a wand as in NetHack.

EvilHack

EvilHack makes many changes to spellbooks and their mechanics, with several adapted from other variants:

  • Similar to FIQHack and xNetHack, the weight of a spellbook depends directly on its spell level, with a base weight of 30 aum plus 5 aum per level.
  • The school of evocation spells is added.
  • Several new spellbooks are added:
  • Several spellbooks have their level changed from NetHack (which affects the weight of their corresponding spellbooks):
  • A hero learning a spell from a spellbook or refreshing their memory of a spell exercises intelligence.
  • More roles start with spellbooks—Infidels start with a spellbook of drain life and a random spellbook, while Druids start with spellbooks of entangle and create grass along with a third spellbook chosen from a set of barkskin, summon animal, healing, cure sickness, or knock.
  • Cavepeople have a 15 chance of failing to read any spellbook regardless of their beatitude.
  • Draugr heroes are incapable of casting spells, and thus cannot successfully read spellbooks or receive them as gifts.
  • Roles that are primarily spellcasting focused—Healer, Priest, Wizard, Infidel and Druid—have a chance of receiving a spellbook as the item given for a "mundane" sacrifice gift. Such spellbooks will always be for spells that a hero can train their skill in.
  • Intelligent spellcasting monsters can read certain spellbooks to learn their spells and then cast them.
    • Monsters can only learn up to 8 spells, and they'll forget a learned spell after 5000 turns.
    • The time it takes a monster to read an uncursed spellbook is three turns per spellbook level. Blessed spellbooks take half the time, while cursed spellbooks will never be attempted.
    • The spellbook read counter increments just as it does for the hero.
    • Just like with native monster spells, the level of the monster determines what level of spellbook it can read successfully.
    • Spellcasting monsters will read allowed spellbooks at any distance from the hero as long as the monster isn't too close to the hero or engaged in combat.

百科文本

The Book of Three lay closed on the table. Taran had never been allowed to read the volume for himself; now he was sure it held more than Dallben chose to tell him. In the sun- filled room, with Dallben still meditating and showing no sign of stopping, Taran rose and moved through the shimmering beams. From the forest came the monotonous tick of a beetle.
His hands reached for the cover. Taran gasped in pain and snatched them away. They smarted as if each of his fingers had been stung by hornets. He jumped back, stumbled against the bench, and dropped to the floor, where he put his fingers woefully into his mouth.
Dallben's eyes blinked open. He peered at Taran and yawned slowly. "You had better see Coll about a lotion for those hands," he advised. "Otherwise, I shouldn't be surprised if they blistered."

[ The Book of Three, by Lloyd Alexander ]

另请参阅

引用及注释

  1. src/u_init.c in NetHack 3.6.7, line 1147
  2. src/spell.c in NetHack 3.6.7, line 1874-L1895
  3. src/u_init.c in NetHack 3.6.7, line 67-L69
  4. src/u_init.c in NetHack 3.6.7, line 88
  5. src/u_init.c in NetHack 3.6.7, line 713-L715
  6. src/u_init.c in NetHack 3.6.7, line 107
  7. src/u_init.c in NetHack 3.6.7, line 168-L169
  8. src/u_init.c in NetHack 3.6.7, line 1020-L1022
  9. src/u_init.c in NetHack 3.6.7, line 1050
  10. src/pray.c in NetHack 3.6.7, line 1186-L1214
  11. 11.0 11.1 src/spell.c in NetHack 3.6.7, line 501-L518
  12. src/spell.c in NetHack 3.6.7, line 364-L367
  13. src/spell.c in NetHack 3.6.7, line 488
  14. src/spell.c in NetHack 3.6.7, line 16
  15. src/spell.c in NetHack 3.6.7, line 392-L398
  16. 16.0 16.1 src/spell.c in NetHack 3.6.7, line 389-L391
  17. src/spell.c in NetHack 3.6.7, line 351-L359
  18. src/spell.c in NetHack 3.6.7, line 467-L472
  19. include/spell.h in NetHack 3.6.7, line 11
  20. src/spell.c in NetHack 3.6.7, line 396
  21. src/spell.c in NetHack 3.6.7, line 416
  22. src/spell.c in NetHack 3.6.7, line 384-L388
  23. src/spell.c in NetHack 3.6.7, line 406-L411
  24. src/spell.c in NetHack 3.6.7, line 530-L551
  25. 25.0 25.1 src/spell.c in NetHack 3.6.7, line 532-L534
  26. src/spell.c in NetHack 3.6.7, line 537-L547
  27. src/spell.c in NetHack 3.6.7, line 527
  28. 28.0 28.1 src/spell.c in NetHack 3.6.7, line 555-L561
  29. src/spell.c in NetHack 3.6.7, line 180-L202
  30. src/spell.c in NetHack 3.6.7, line 352
  31. src/spell.c in NetHack 3.6.7, line 572-L581
  32. src/spell.c in NetHack 3.6.7, line 186
  33. src/spell.c in NetHack 3.6.7, line 446-L465
  34. src/spell.c in NetHack 3.6.7, line 461
  35. src/spell.c in NetHack 3.6.7, line 452
  36. src/spell.c in NetHack 3.6.7, line 120-L177
  37. src/spell.c in NetHack 3.6.7, line 562-L568
  38. src/write.c in NetHack 3.6.7, line 329-L335
  39. src/write.c in NetHack 3.6.7, line 226
  40. src/write.c in NetHack 3.6.7, line 140-L144
  41. src/write.c in NetHack 3.6.7, line 211-L214
  42. src/write.c in NetHack 3.6.7, line 215-L217
  43. src/write.c in NetHack 3.6.7, line 218-L223
  44. src/write.c in NetHack 3.6.7, line 235-L240
  45. src/write.c in NetHack 3.6.7, line 244-L246
  46. src/write.c in NetHack 3.6.7, line 248-L254
  47. src/spell.c in NetHack 3.6.0, line 395

外部链接