引入法术焦点(Spell Focus)

焦点是可制作的物品,施法者可以将能量引导至其中以激活法术。通常这表现为 耐力,它会随时间恢复,但传闻还存在许多其他资源,例如 狂怒、复仇、鲜血 和 混沌。
当法术被激活时,它会根据其效果的性质衍生出两种元素。
主导元素
神圣:掌管无私的法术,以及影响深远或普遍适用的法术。
亡灵:掌管非生命物体的活化,以及生命汲取效果。
奥术:掌管仅对施法者有益的法术。
混沌:掌管不可控或非预期的副作用。
经典元素
自然:掌管大多数治疗、毒药、流血效果以及影响植物生命的法术。
冰霜:掌管不变的效果,如以施法者为中心的光环、护盾和被动增益。
空气:掌管基于位置的法术、远程激活或魔法旅行。
火焰:掌管直接的效果,如投射物、光束或武器增强。
可扩展性
该法术系统旨在兼容第三方插件、法术护盾、魔法盔甲、护符等。法术拥有独立的事件系统,并可以定义新的魔法资源——所有与客户端的同步工作均已涵盖。
可配置性
配置文件采用 hjson 格式,并在连接时同步至客户端,因此单个服务器可以按照自己的意愿,以直观的格式调整每一个内置法术。
Indroducing the Spell Focus

Foci are craftable items which a caster can channel their energy into to activate spells. Usually this takes the form of Stamina, which regenerates over time, but many other resources are rumored to exist, such as Rage, Vengeance, Blood, and Chaos.
When a spell is activated, it takes on two elements based on the nature of its effects.
Governing Elements
Holy: Governs selfless magic, as well as far-reaching or universal magic.
Undeath: Governs animation of nonliving objects, as well as life drains.
Arcane: Governs magic that exclusively benefits the caster.
Chaos: Governs uncontrollable or unintended side effects.
Classical Elements
Nature: Governs most heals, poisons, bleeds, and spells that affect plant life.
Frost: Governs unchanging effects such as caster-centered auras, wards, and passive powerups.
Air: Governs location-based spells, remote activation, or magical travel.
Fire: Governs straightforward effects like projectiles, beams, or weapon ehancements.
Extensibility
The spell system was built to accommodate third-party addons, spell wards, magic armor, charms, and more. Spells have their own events, and can define new magic resources - all the sync-to-client is already covered.
Configurability
The config is hjson, and synced to client on connect, so an individual server can tune every built-in spell at their own discretion in an intuitive format.
评论 0
登录后参与评分
还没有评论,来抢沙发吧