![机动性 [插件:法术引擎]](https://cdn8.newbeebox.com/nbbnext/2026/11/07/6387e831e015176901d8f94b3e0a3b2d.webp)
机动性 [插件:法术引擎]
为Spell Engine赋予怪物玩家施法能力——像玩家一样带施法动画和冷却时间地施放法术。
查看大图
特性
- 类玩家施法:生物像玩家一样施放法术,带有动画和冷却时间
- 自动能力检测:携带法术物品的生物在生成时自动获得施法能力
- 基于标签的 AI:物品标签决定巫师 AI 与基础战斗 AI
- 职业预设:预配置的装备配置自动生成(弓箭手、刺客、神射手、战争弓箭手、战士、游荡者、火焰巫师、奥术巫师、苔原猎人、野人、冰霜勇士、瘟疫使者)
工作原理
当生物携带 Spell Engine 物品生成时:
- 检测:系统检查带有 Spell Engine 法术的物品
- 标签检查:检查物品是否具有巫师标签(法杖/法术书标签)
- AI 选择:
- 具有巫师标签 → 巫师 AI(保持距离、横向移动)
- 无巫师标签 → 基础 AI(标准攻击行为)
- 行为:生物根据物品标签使用相应的 AI
巫师标签
通过 config/mobbility/spell_engine.toml 中的标签配置哪些物品获得巫师 AI:
默认标签
[wizardAI]
staffTags = ["wizards:wands", "irons_spellbooks:staff", "wizards:staves", "paladins:staves"]
spellbookTags = ["curios:spellbook"]
添加自定义标签以支持其他模组的物品。
配置
通过 config/mobbility/spell_engine.toml 完全可自定义:
战斗职业设置
[combatClass]
speedModifier = 1.0
attackIntervalMin = 60
attackIntervalMax = 120
useCooldowns = true
preventFriendlyFire = true
spellBlacklist = []
巫师标签
[wizardAI]
staffTags = ["wizards:wands", "irons_spellbooks:staff", "wizards:staves", "paladins:staves"]
spellbookTags = ["curios:spellbook"]
职业预设
[classPresets]
enabled = true
# 骷髅、僵尸、尸壳、流浪者、溺尸、凋灵骷髅的预设(弓箭手、刺客、战士、游荡者、火焰巫师、奥术巫师等)
需求
- Minecraft:1.20.1
- Fabric Loader:0.15.11+
- Mobbility [Core]:必需的核心模组(Fabric 版本)
- Spell Engine:本附加模组所集成的法术模组
- Fzzy Config:用于配置
正在加载版本记录…
正在加载评论…
评论在新手盒子客户端中发表,这里同步展示。