Spellbook/zh-CN

From NetHackWiki
Jump to navigation Jump to search

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

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

生成

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

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

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

玩家起始物品

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

  • 医生在游戏开始时会获得一本治愈魔法书,一本强力治愈魔法书和一本点石成肉魔法书,这些魔法书必定是受祝福的[7]
  • 僧侣在游戏开始时会获得治愈魔法书、保护魔法书和混乱怪物魔法书中的随机一种,每种出现的概率相同[8][9][10]
  • 牧师在游戏开始时会获得两本随机的魔法书[11]
  • 巫师在游戏开始时会获得一本力冲击魔法书和一本随机魔法书[12]

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

贫民设定开始游戏的角色不会获得魔法书,但特定角色仍会拥有特定魔法书的鉴定信息[17]

  • 医生在游戏开始时即鉴定治愈魔法书[18]
  • 牧师、骑士和僧侣在游戏开始时即鉴定保护魔法书[19]
  • 巫师在游戏开始时即鉴定力冲击魔法书[20]

祈祷与赠礼

若玩家在祈祷时得到恩赐,则有机会得到一本祝福的魔法书[21][22]。通过恩赐获得的魔法书种类依照常规的随机生成概率决定(相对概率见下文表格),但如果生成的魔法书满足以下条件,则会尝试重新生成[23]

  • 该魔法书对应的是玩家已学会且未遗忘的法术。
  • 该魔法书属于玩家无法掌握的法术流派。
  • 该魔法书是白纸魔法书,玩家已经鉴定白纸魔法书且未携带魔笔

重新生成的尝试会重复进行,直到生成不满足以上条件的合适的魔法书种类,或是尝试次数已经达到XL+1次为止(XL为玩家的经验等级[24][25]。尝试次数用尽后,即使最后生成了不合适的魔法书也会照常将其礼赠给玩家[26]。如果通过恩赐获得了白纸魔法书,该魔法书会自动鉴定,如果是其他种类的魔法书,则其有1100的概率被鉴定[27]

描述

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

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

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

怪物不会使用魔法书,但具有收集物品行为或“喜欢魔法物品”属性的怪物,会在捡拾物品时捡起魔法书。

魔法书知识

巫师职业的角色会在其施法技能获得提升时,自动获取对应流派中更高级魔法书的鉴定信息:

  • 不熟练:拥有对应流派所有等级1的魔法书的鉴定信息
  • 基础:拥有对应流派所有等级3或更低的魔法书的鉴定信息
  • 熟练:拥有对应流派所有等级5或更低的魔法书的鉴定信息
  • 老练:拥有对应流派所有魔法书的鉴定信息

魔法书列表

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

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

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

攻击

魔法书 法术等级 定向性 相对概率 价格下的相对概率 阅读行动数 技能变化
力冲击 1 光束 3.0% 11.1% 4
连锁闪电 2 非定向 2.5% 11.1% 8
吸血 2 光束 1.0% 4.4% 4
魔法飞弹 2 射线 4.5% 20.0% 4
冰锥 4 射线(熟练后为远距离) 1.0% 8.7% 23 S
火球 4 射线(熟练后为远距离) 2.0% 17.4% 14 S
死亡一指 7 射线 0.5% 25.0% 82


神圣

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


预测

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


迷惑

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


逃脱

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


治愈

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


物质

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


其他

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

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

阅读魔法书

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

开始阅读对应法术未知的魔法书时,玩家的感知会得到锻炼[36][37]。阅读魔法书的过程属于持续动作,会因敌对怪物出现、玩家陷入混乱状态、魔法书变为被诅咒状态等原因而被打断[31][33][38][39]。当玩家持续阅读一本魔法书的行动数达到要求时,其便成功学会魔法书对应的法术,并鉴定此魔法书[40][41]

成功完成一本未知魔法书的阅读后,玩家的感知会再一次得到锻炼,玩家对学会的法术的记忆时长会增加到20,000回合[3]。学会一个法术后,再次阅读对应的魔法书可以将法术记忆时长刷新到20,000回合[42],但如果玩家对该法术的剩余记忆时长多于2,000回合,游戏会提醒玩家已经掌握该法术,并询问玩家是否继续阅读,且在此情况下阅读的时长会缩短[43]失忆效果会使得玩家忘记已掌握的法术。

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

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

如果玩家未处于幻觉状态,其可以通过对魔法书执行使用操作,来检查魔法书的阅读次数[49][50]

本条目或章节尚需完善,改进建议如下:

“添加更多关于失忆对法术记忆影响的信息。”

阅读成功率

阅读魔法书的成功率取决于魔法书的法术等级和BUC,以及玩家的智力经验等级[51]。阅读受祝福的魔法书必定能够成功学会法术[52]。阅读被诅咒的魔法书必定失败[53]。未诅咒的魔法书的阅读成功率用以下公式计算[54]

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

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

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

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

在混乱状态下阅读魔法书必定失败,且有13的概率摧毁魔法书[56][38][57][58]

如果玩家阅读魔法书成功,但阅读过程中被打断,则在一段时间内再次阅读时,只要自身未处于混乱状态,就无需再次进行成功率判定,继续魔法书的阅读过程[59]

枯燥的魔法书

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

如果睡眠效果触发,玩家不会学习此魔法书的法术,也不会受到阅读失败的负面效果。如果玩家成功抵御了魔法书的催眠,但在阅读过程中被打断,再次阅读时游戏会再进行一次催眠判定。此类情况下,玩家的感知会被加上一个奖励值后再参与催眠的检定,该奖励值通过掷一个N面骰子决定(N为阅读的魔法书的法术等级)[62]

阅读魔法书失败的效果

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

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

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

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

书写魔法书

如前文所述,玩家可以使用魔笔在白纸魔法书上书写咒文,书写时可以选择魔法书的种类名称或者外观[28][29]。书写成功后,白纸魔法书会转化为玩家指定的魔法书种类,其BUC保持不变[75]。试图用魔笔书写小说会失败,并有13的概率摧毁书[76]。书写魔法书会打破文盲行为[77]

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

只有当魔笔的充能足够,且书写的魔法书是已经鉴定的,书写会必定成功。书写未鉴定的魔法书只有一定的概率成功,成功概率取决于玩家的幸运值,以及玩家对于对应法术的记忆度[81]。和卷轴不同,未鉴定的魔法书即使指定外观来书写也仍然要进行成功率判定[82]

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

策略

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

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

携带魔法书

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

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

安全阅读魔法书

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

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

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

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

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

安全书写魔法书

要确保书写魔法书的成功率足够高,最好优先书写已经正式鉴定过的魔法书。如果要写没有鉴定过的魔法书,则需要先将幸运值提升到最大。如果你的职业是巫师,可以靠锻炼各流派的法术获取流派内高级魔法书的鉴定信息,从而让书写必定成功。你可以将小说或者用不上的魔法书漂白来获得书写用的白纸魔法书。

学习法术

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

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

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

被诅咒的魔法书

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

历史

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

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

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

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

NetHack 3.6.1开始,枯燥的魔法书造成的睡眠状态能够被睡眠抵抗抵御。

NetHack 3.6.7及更早版本中,魔法书的部分相关机制与现版本有较多区别:

  • 巫师书写未鉴定魔法书的成功率机制与书写卷轴相同,即在高幸运值时有更高的书写成功率。
  • 小说的重量为1 aum,不会随机生成,只会在二手书店或珍本书店里出售,且能够用魔笔写出。
  • 沉睡魔法书的等级为1,混乱怪物魔法书的等级为2,魅惑怪物魔法书的等级为3。

NetHack 5.0.0还对魔法书进行了以下相关更改:

  • 移除刷新法术记忆需求记忆度阈值的机制,现在玩家无论法术记忆度剩余多少都能随时阅读对应魔法书刷新记忆。
  • 通过神的恩赐获得魔法书时有概率鉴定魔法书,且有可能直接学会魔法书对应的法术而非获得书。
  • 加入连锁闪电魔法书,相应地,调整其他魔法书的生成概率。
  • 加入玩家可以通过使用来查看魔法书剩余可阅读次数的机制。

本条目或章节尚需完善,改进建议如下:

“继续完善本节内容。”

消息

你开始记忆符文。(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.)
无事发生。

对魔法书执行使用操作时,玩家会根据不同情形看到以下消息:

这本魔法书的[魔法]墨水是新鲜的。(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—NetHack variants with baseline versions that are prior to NetHack 5.0.0 may not include the same spell lists, adjustments to spellbook mechanics and/or adjustments to spell levels.

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:

"Do up something similar to the main table above for this section and 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/mkobj.c in NetHack 5.0.0, line 43
  2. src/mkobj.c in NetHack 5.0.0, line 52
  3. 3.0 3.1 src/spell.c in NetHack 5.0.0, line 13-L17
  4. src/u_init.c in NetHack 5.0.0, line 1003-L1004
  5. src/u_init.c in NetHack 5.0.0, line 1296-L1297
  6. src/spell.c in NetHack 5.0.0, line 2338-L2359
  7. src/u_init.c in NetHack 5.0.0, line 84-L86
  8. src/u_init.c in NetHack 5.0.0, line 184-L192
  9. src/u_init.c in NetHack 5.0.0, line 694-L696
  10. src/u_init.c in NetHack 5.0.0, line 699
  11. src/u_init.c in NetHack 5.0.0, line 121
  12. src/u_init.c in NetHack 5.0.0, line 174-L175
  13. src/u_init.c in NetHack 5.0.0, line 1155-L1161
  14. src/u_init.c in NetHack 5.0.0, line 1296-L1297
  15. src/u_init.c in NetHack 5.0.0, line 1336-L1338
  16. src/u_init.c in NetHack 5.0.0, line 1357-L1359
  17. src/u_init.c in NetHack 5.0.0, line 886-L901
  18. src/u_init.c in NetHack 5.0.0, line 891-L893
  19. src/u_init.c in NetHack 5.0.0, line 894-L898
  20. src/u_init.c in NetHack 5.0.0, line 899-L901
  21. src/pray.c in NetHack 5.0.0, line 998-L1068
  22. src/pray.c in NetHack 5.0.0, line 1348-L1350
  23. src/pray.c in NetHack 5.0.0, line 1005-L1024
  24. src/pray.c in NetHack 5.0.0, line 1003
  25. src/pray.c in NetHack 5.0.0, line 1009
  26. src/pray.c in NetHack 5.0.0, line 1054
  27. src/pray.c in NetHack 5.0.0, line 1056-L1061
  28. 28.0 28.1 src/apply.c in NetHack 5.0.0, line 4361-L4363
  29. 29.0 29.1 src/write.c in NetHack 5.0.0, line 74
  30. include/objects.h in NetHack 5.0.0, line 1280
  31. 31.0 31.1 src/spell.c in NetHack 5.0.0, line 378-L381
  32. 32.0 32.1 src/spell.c in NetHack 5.0.0, line 537-L558: 由于程序错误,实际花费的行动数比程序设定值大2
  33. 33.0 33.1 src/spell.c in NetHack 5.0.0, line 364-L367: 阅读行动数的缩短有一定随机性,13为均值
  34. src/read.c in NetHack 5.0.0, line 598-L606
  35. src/spell.c in NetHack 5.0.0, line 512-L522
  36. src/spell.c in NetHack 5.0.0, line 588-L591
  37. src/spell.c in NetHack 5.0.0, line 355-L463
  38. 38.0 38.1 src/spell.c in NetHack 5.0.0, line 368-L377
  39. src/spell.c in NetHack 5.0.0, line 450-L456
  40. src/spell.c in NetHack 5.0.0, line 425-L436
  41. 41.0 41.1 41.2 src/spell.c in NetHack 5.0.0, line 438-L441
  42. src/spell.c in NetHack 5.0.0, line 407-L413
  43. src/spell.c in NetHack 5.0.0, line 565-L573
  44. include/spell.h in NetHack 5.0.0, line 12
  45. src/spell.c in NetHack 5.0.0, line 411
  46. src/spell.c in NetHack 5.0.0, line 429
  47. src/spell.c in NetHack 5.0.0, line 399-L406
  48. src/spell.c in NetHack 5.0.0, line 418-L424
  49. src/apply.c in NetHack 5.0.0, line 4504-L4505
  50. src/apply.c in NetHack 5.0.0, line 4508-L4521
  51. src/spell.c in NetHack 5.0.0, line 575-L603
  52. src/spell.c in NetHack 5.0.0, line 577
  53. 53.0 53.1 53.2 src/spell.c in NetHack 5.0.0, line 605-L619
  54. 54.0 54.1 src/spell.c in NetHack 5.0.0, line 581-L584
  55. src/spell.c in NetHack 5.0.0, line 586-L597
  56. src/spell.c in NetHack 5.0.0, line 187-L207
  57. src/spell.c in NetHack 5.0.0, line 620-L629
  58. src/spell.c in NetHack 5.0.0, line 193
  59. src/spell.c in NetHack 5.0.0, line 496-L503
  60. src/spell.c in NetHack 5.0.0, line 474-L494
  61. src/spell.c in NetHack 5.0.0, line 490
  62. src/spell.c in NetHack 5.0.0, line 480-L482
  63. src/spell.c in NetHack 5.0.0, line 128-L185
  64. src/spell.c in NetHack 5.0.0, line 137-L140
  65. src/spell.c in NetHack 5.0.0, line 141-L144
  66. src/wizard.c in NetHack 5.0.0, line 493-L511
  67. src/spell.c in NetHack 5.0.0, line 145-L147
  68. src/spell.c in NetHack 5.0.0, line 148-L150
  69. src/spell.c in NetHack 5.0.0, line 151-L154
  70. src/spell.c in NetHack 5.0.0, line 155-L168
  71. src/spell.c in NetHack 5.0.0, line 157-L160
  72. src/spell.c in NetHack 5.0.0, line 169-L179
  73. src/spell.c in NetHack 5.0.0, line 612-L619
  74. src/spell.c in NetHack 5.0.0, line 615
  75. src/write.c in NetHack 5.0.0, line 357-L364
  76. src/write.c in NetHack 5.0.0, line 215-L233
  77. src/write.c in NetHack 5.0.0, line 244-L247
  78. src/write.c in NetHack 5.0.0, line 118-L122
  79. src/write.c in NetHack 5.0.0, line 211-L214
  80. src/write.c in NetHack 5.0.0, line 234-L236
  81. src/write.c in NetHack 5.0.0, line 307-L310
  82. src/write.c in NetHack 5.0.0, line 237-L242
  83. src/write.c in NetHack 5.0.0, line 16-L17
  84. src/write.c in NetHack 5.0.0, line 255-L261
  85. src/write.c in NetHack 5.0.0, line 263-L267
  86. src/write.c in NetHack 5.0.0, line 268-L275
  87. src/write.c in NetHack 5.0.0, line 280-L283
  88. src/spell.c in NetHack 3.6.0, line 395

外部链接