Hexxy Attributes
此模组添加了几个玩家实体属性,可用于调整你在 Hex Casting 中的游戏体验。
属性列表
目前,在 hexxyattributes 命名空间下有 4 个新属性:
hexxyattributes:feeble_mind - 可将其视为布尔型属性,类似于 hexcasting:scry_sight。
如果玩家拥有“心智虚弱”(Feeble Mind),他们将无法打开法杖的施法 GUI。
心智虚弱的玩家也无法使用窥视透镜。
但他们仍然可以使用神器!基础值为 0,最小值为 0,最大值为 1。
hexxyattributes:media_consumption_modifier - 这设置了一个乘性修正系数:
假设某次施法的消耗为 100 点媒介值。具有 0.5 修正系数的玩家将只需支付 50 点媒介值。
另一方面,具有 1.7 修正系数的玩家将需要支付 170 点媒介值。
这也适用于消耗的生命值。基础值为 1,最小值为 0,最大值为 MAX_DOUBLE。
hexxyattributes:ambit_radius - 顾名思义,此属性用于确定玩家的施法是否在其自身的领域范围内。基础值为 32,最小值为 0,最大值为 MAX_DOUBLE。
hexxyattributes:sentinel_radius - 顾名思义,此属性用于确定玩家的施法是否在其哨兵的领域范围内。基础值为 16,最小值为 0,最大值为 MAX_DOUBLE。
用途与用法
在为我的好友群体制作整合包时,我尝试针对特定的起源(Origins)微调 Hex 参数。
在研究过程中,我发现没有任何模组/插件能给我足够的自由度来实现我想做的功能。
因此,我决定创建这个小模组,作为 Hex Casting 和 Origins 之间的中间件。
起初,我只是想为我自己的情况创建特定的起源能力,但后来我的想法转向了通用插件的方向。
如果你想将此插件与 Origins 模组一起使用,可以查看我的 示例数据包,它使用了新的属性。
我在模组开发圈子里并不活跃,所以不要期待会有大量的更新或移植(即使有人请求的话)。
但欢迎在 问题页面 提问、报告错误、进行分叉或提交拉取请求。
许可证
此插件采用 CC0 许可协议发布。你可以自由地从中学习并在你的整合包中使用它。
Hexxy Attributes
This modification adds a few Player Entity Attributes that may be used to change your experience playing Hex Casting.
Attribute list
For now, there are 4 new attributes under hexxyattributes namespace:
hexxyattributes:feeble_mind - Consider this as a boolean attribute, like hexcasting:scry_sight.
If player has Feeble Mind, they will not be able to open Staff's casting GUI.
Players with feeble minds won't be able to use Scrying lenses, too.
They are still able to use artifacts tho!! Base value is 0, minimum is 0, maximum is 1.
hexxyattributes:media_consumption_modifier - This sets the multiplying modifier:
Imagine cost for the cast is 100 media points. The player with modifier of 0.5 will only pay 50 media points.
On the other hand, player with modifier 1.7 will have to pay 170 media points.
This also applies to taken health. Base value is 1, minimum is 0, maximum is MAX_DOUBLE.
hexxyattributes:ambit_radius - As the name suggests, this attribute is used to determine if player's cast
is inside their own ambit. Base value is 32, minimum is 0, maximum is MAX_DOUBLE.
hexxyattributes:sentinel_radius - As the name suggests, this attribute is used to determine if player's cast
is inside their sentinel's ambit. Base value is 16, minimum is 0, maximum is MAX_DOUBLE.
Purpose and usage
While I was making a modpack for my friend group I tried to finetune Hex parameters for specific origins.
In my research I found out that there are no mods/addons that give you enough freedom to do what I was trying to achieve.
So I decided to create this little modification as an intermediary between Hex Casting and Origins.
At first, I just wanted to create specific origin powers for my case, but then my idea shifted into the direction of general purpose addon.
If you want to use this addon with the Origins mod, you can check out my example datapack that uses new attributes.
I am not very active in modding scene, so don't expect a lot of updates or ports (if any would even be requested).
But feel free to ask questions and report bugs on the issue page, fork or create pull requests.
License
This addon is available under the CC0 license. Feel free to learn from it and use it in your modpacks.
评论 0
登录后参与评分
还没有评论,来抢沙发吧