免责声明:请勿使用低于 1.2 (当时我还是新手,制作了一些不稳定的版本)
你好!
本模组的目标是通过为战斗添加元素和风格属性来增强战斗系统。这意味着玩家、生物和物品都将拥有新的攻击和防御属性,其中大部分通过 JSON 文件定义,因此可以通过数据包轻松修改。即使是来自其他模组的物品、生物和投射物也将具备这些数值!
在击中目标时,系统将检查这些属性并计算新的伤害值。新的粒子效果将向你展示目标对此次攻击的反应。
我制作这个模组是因为我注意到,在许多整合包中,你最终总是反复使用同一把武器。我希望通过这个模组,激励玩家根据即将面对的怪物类型来切换武器和护甲。
我强烈建议你同时使用我的 WTHIT 插件(或类似工具),以便在 HUD 中显示敌人的数值。CurseForge 页面的链接可在下方找到。
我做了一个简短的 YouTube 视频,很好地概述了这些功能 (这是我第一个 YouTube 视频。请别喷,哈哈)。如果你想要文字形式的描述,请见下文。
详细说明:
这两个新属性是 element(元素)和 style(风格)。在命中时,这些属性会与目标的相应防御属性进行比对,并为每个属性计算一个乘数。虽然风格的系数被限制在 0(意味着不会造成伤害),但元素的系数可以为负数,这将导致治疗目标。
为了计算缩放比例,我使用了与原版 附魔保护因子系统 类似的计算方法。这意味着两种缩放均通过公式 1-(factor/maxFactor) 计算得出。你可以在这里查看我的代码。
该模组附带预定义的样式和元素。这些元素包括 火、冰、水、雷(即闪电)、暗、光、风、土、植物 以及 普通(默认值),而样式则包含 爆炸、投射物、劈砍、刺击、猛击(v. 1.3+)、咬合(v. 1.3+)、魔法、打击(默认值)以及 环境(用于溺水等伤害类型)。正如你可能已经猜到的那样,我覆盖了原版附魔和药水原有的行为逻辑,使其改用本模组的系统。此外,我还新增了一些附魔与药水效果,让你从一开始就能拥有更丰富的自定义灵活性。
每个物品、生物、投射物以及自然伤害来源(例如溺水或被墙窒息)都拥有我通过 JSON 文件定义的基础攻击属性。这意味着这些数据可以通过数据包进行覆盖。理论上,可以定义溺水造成火焰伤害。
同样,也可以通过数据包添加全新的元素或样式。但是,你需要提供一个资源包,其中包含新元素或样式的图标。否则将显示“缺失资源”图像(即黑紫相间的方块图片)。
如果你是希望使用此功能的整合包作者,你还应该将 Global Data- & Resourcepacks 添加到你的整合包中。我还开始为一些受欢迎的模组创建数据包,你可以从我的 GitHub 仓库 下载这些数据包。非常欢迎在此提供平衡性方面的反馈。
除了静态基础属性(可以通过数据包定义的属性)之外,该模组还提供了一套 API,以实现更动态的行为。为了展示这套 API 的强大功能,我制作了一个额外的模组 Elemental Combat - Weaponry,其中包含样式切换武器、元素切换剑、基于生物群系的盔甲以及其他一些有趣的内容。(不过这个模组完全没有平衡性可言,我只是利用 Elemental Combat API 进行了一些测试和探索。)
与 Elemental Combat 交互的模组:
- WTHIT 插件
- Jade 插件
可能正在开发中(需要先检查 API,然后再做承诺)
- Ars Nouveau
- Iron's Spellbook
通过数据包支持的模组:
我的GitHub 仓库,你可以在这里找到所有数据包的最新版本。
以下是一些我非常推荐的模组,因为它们增加了大量的交互性。
- Alex's Mobs
- Aquamirae
- Artifacts
- Biomes O' Plenty
- Botania
- Druidcraft
- Ice And Fire
- Spartan Weaponry
- Spartan Weaponry Ice and Fire
- Spartan Weaponry Twilight Forest
- Twilight Forest
- Tropicraft
如果你有建议的模组应该被支持(通过数据包或直接由模组支持),请告诉我。我会去查看并看看我能做些什么 :)
此致,Tavi007。
注:我不打算向后移植。但我会尝试将该模组更新到新版本!
Disclaimer: Do not use any release below 1.2 (I was a novice and made some unstable versions back then)
Hello!
Goal of this mod is to enhance the combat system by adding elemental and style properties to the combat. This means, that players, mobs and items all have new attack and defense properties, with most of them defined through json files and hence easy to change with a datapack. Even items, mobs and projectiles from other mods will have these values!
Upon hitting some target, these properties will be checked and a new damage value will be calculated. New particles will tell you, how the target reacted to the attack.
I made this mod, because I noticed, that in a lot of modpacks you end up using the same weapon all the time. With this mod I hope there is an incentive to switch your weapon and armor depending on the monster you are about to fight.
I highly recommend you to also use my wthit plugin (or similar) to display the enemies value within the HUD. Links to curseforge pages can be found down below.
I made a short YouTube video that gives a nice overview of the features (My first ever YouTube video. Please no hate, lol). See below, if you want a description in text form.
Detailed description:
The 2 new properties are element and style. On hit these properties are checked against the corresponding defense properties of the target and a multiplicator will be calculated for each property. While the factor for style is capped at 0 (meaning no damage will be dealt), the factor for element can be negative, which will result in healing the target.
To compute the scaling I use a similar computation as the vanilla Enchantment Protection Factor-System. This means, that both of the scalings are computed via 1-(factor/maxFactor). You can read my code here.
The mod comes with predifined styles and elements. The elements are fire, ice, water, thunder (aka lightning), darkness, light, wind, earth, flora and normal (the default value) and the styles are explosion, projectile, slash, stab, bash (v. 1.3+), bite (v. 1.3+), magic, hit (the default value) and environment (used for damage like drowning and so on). As you might have guessed I overwrote the behaviour of the vanilla enchantments and potions so they will use my system instead. In addition I added new enchantments and potion effects so you have more flexibility from the get go.
Every item, mob, projectile and natural damage source (like drowning and suffocating in a wall) has a base attack properties which I defined through json files. This means, that they can be overwritten by datapacks. In theory it is possible to define that drowning deals fire damage.
It is also possible to add completly new elements or styles through datapacks. However one needs to supply a resource pack, that includes an icon for the new element or style. Otherwise the ‘missing resource’ image (the black and purple square image) will be shown.
If you are a modpack creator, that wants to use this feature, you should also add Global Data- & Resourcepacks to your modpack. I also started to create datapacks for beloved mods that can be downloaded from my github repository. Any balance feedback is much appreciated here.
In addition to the static base properties (the ones that are can be defined through the datapack) the mod also provides an API that allows more dynamic behaviour. To showcase the power of the API I made a second mod Elemetal Combat - Weaponry, that add a style switching weapon, an element switching sword, an biome depending armor and some other fun stuff too. (However this mod is not balanced at all. I just played around with the elemental combat api to test it)
Mods that interact with Elemental Combat:
- WTHIT Plugin
- Jade Plugin
Maybe in development (need to check API first, before I make promises)
- Ars Nouveau
- Iron's Spellbook
Mods that are supported with a Datapack:
My github repository where you can find the newest version of all the Datapacks.
Here are some, that I highly recommend, because they add a lot of interaction.
- Alex's Mobs
- Aquamirae
- Artifacts
- Biomes O' Plenty
- Botania
- Druidcraft
- Ice And Fire
- Spartan Weaponry
- Spartan Weaponry Ice and Fire
- Spartan Weaponry Twilight Forest
- Twilight Forest
- Tropicraft
If you have suggestions for a mod, that should be supported (either by datapack or by a mod directly), please tell me. I will check it out and see what I can do :)
Best regards, Tavi007.
PS: I do not plan on backporting it. But I will try to update the mod to newer versions!
下载 Elemental Combat
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Elemental Combat
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Elemental Combat
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Elemental Combat
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Elemental Combat
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Elemental Combat
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Elemental Combat
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Elemental Combat
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Elemental Combat
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Elemental Combat
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
修复了启动时崩溃的问题
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
评论 0
登录后参与评分
还没有评论,来抢沙发吧