Dacextras 是 Dungeons and Combat 的一个附加组件,添加了因 Mcreator 限制而未包含在 DaC 中的功能和配置。
配置
配置文件为 dacextras-common.toml,在至少加载过一次安装了 dacextras 的游戏后,可在你的配置文件夹中找到该文件。
当前配置包括:
所有默认职业的属性配置
Kamath Boss 属性
破碎 vex 的生成率
自定义职业创建器 (:
要创建自定义职业,你必须首先在配置文件夹中创建几个文件。这些文件不会自动生成,若要启用此功能,你需要手动创建它们。
首先,创建一个名为 "dacextras_custom_classes" 的文件夹,其中将存放你所有自定义职业的 json 文件。
**
然后,创建一个名为 "custom_main.json" 的文件**
在此文件中,仅有一个字段,即一个包含你所有自定义职业名称/ID 的列表。
示例:
Spoiler
{
"custom_classes": ["Necromancer", "Holy Knight"]
}
你可以拥有任意数量的自定义职业
对于每个自定义职业,你必须创建一个与该职业同名/同 ID 的文件,其中包含该职业的所有属性。
例如,在 "Necromancer.json" 中:
Spoiler
{
"max_health":4,
"damage":4,
"speed":3,
"swing":6,
"armor":8,
"toughness":9,
"description1": "best description",
"description2":"the best class",
"description3":"idk ur description",
"helmet":"minecraft:iron_helmet",
"leggings":"minecraft:iron_leggings",
"chestplate":"minecraft:iron_chestplate",
"boots":"minecraft:iron_boots",
"main_hand":"minecraft_iron_sword",
"off_hand":"minecraft:iron_sword"
}
此外,重做了属性的应用方式,因此现在冠军腰带(champion belt)以及任何影响基础生命值的效果都能正常工作。
注意:
自定义职业将获得成就 "dacextras:the_custom"
Dacextras is an addon to Dungeons and Combat, adding features and configs that do not exist in DaC due to Mcreator restrictions.
Config
The config file is dacextras-common.toml and can be found in your config file once the game is loaded at least once with dacextras installed.
The config currently includes:
Config for attributes of all default classes
Kamath Boss attributes
Fractured vex spawn rates
CUSTOM CLASS CREATOR (:
To create a custom class, you must first several files in your config folder. These files will NOT be auto-generated and in order to enable this feature you must create them yourself.
First, create a folder named "dacextras_custom_classes", which will contain all json files for your custom classes.
**
Then, create a file named "custom_main.json"**
In this file, there will only be one field being a list of all the names/ids of your custom classes.
Example:
Spoiler
{
"custom_classes": ["Necromancer", "Holy Knight"]
}
You can basically have as many custom classes as you want
For each custom class, you must create a file with the same name/id as that class which will contain all of the attributes of that class.
For example, in "Necromancer.json:
Spoiler
{
"max_health":4,
"damage":4,
"speed":3,
"swing":6,
"armor":8,
"toughness":9,
"description1": "best description",
"description2":"the best class",
"description3":"idk ur description",
"helmet":"minecraft:iron_helmet",
"leggings":"minecraft:iron_leggings",
"chestplate":"minecraft:iron_chestplate",
"boots":"minecraft:iron_boots",
"main_hand":"minecraft_iron_sword",
"off_hand":"minecraft:iron_sword"
}
Also reworks how attributes are applied, so now champion belt and anything affecting base health works properly
Note:
Custom classes will give achievement "dacextras:the_custom"
评论 0
登录后参与评分
还没有评论,来抢沙发吧