神原翼 发表于 2024-4-20 21:48

想做一个子职业mod卡在被动技能方面了 没找到解包技能里有直接添加属性的 求大佬教学

想要做一个自己心中的恶魔子职业求助:$

同调融和 发表于 2024-4-21 14:48

本帖最后由 同调融和 于 2024-4-21 14:51 编辑

你是想在什么情况下获取属性?

如果想在升级时加固定几个属性,可以参考这个,加在Progressions文件里:

                <node id="Progression">
                  <attribute id="AllowImprovement" type="bool" value="false"/>
                  <attribute id="Boosts" type="LSString" value="Ability(Strength,1);Ability(Dexterity,1);Ability(Constitution,1);Ability(Intelligence,1);Ability(Wisdom,1);Ability(Charisma,1);ActionResource(Movement,9,0)"/>
                  <attribute id="Level" type="uint8" value="1"/>
                  <attribute id="Name" type="LSString" value="Human"/>
                  <attribute id="ProgressionType" type="uint8" value="2"/>
                  <attribute id="TableUUID" type="guid" value="4b6e7ec9-145b-4a95-9d8a-b2181de2749e"/>
                  <attribute id="UUID" type="guid" value="dbde4d66-d3e4-4c3f-ae87-fd6e2d1cd276"/>
                </node>

或者这个方式,通过SelectPassives,在升级时选择获取的Passives,不过你要会编PassiveLists.lsx:


                <node id="Progression">
                  <attribute id="Level" type="uint8" value="3"/>
                  <attribute id="Name" type="LSString" value="TotemWarriorPath"/>
                  <attribute id="PassivesRemoved" type="LSString" value="RageUnlock"/>
                  <attribute id="ProgressionType" type="uint8" value="1"/>
                  <attribute id="Selectors" type="LSString" value="AddSpells(4acd9ef6-719d-4248-90ae-0cb66da87c6a);SelectPassives(7f7340a0-faf3-4122-bd3f-37a5434dd6cf,1,TotemWarriorPassive)"/>
                  <attribute id="TableUUID" type="guid" value="48f1760f-86e7-401c-ad52-633fffbae49e"/>
                  <attribute id="UUID" type="guid" value="42329ce3-0fb3-43a3-a0b4-79584c6877e7"/>
                </node>

至于可以增加属性的passive,格式大致是这样:
new entry "AbilityImprovement_Constitution"
type "PassiveData"
data "Properties" "IsHidden"
data "Boosts" "Ability(Constitution, 1)"

如果你会解包,在Shared文件夹内部的Passive.txt,第一页就是了
页: [1]
查看完整版本: 想做一个子职业mod卡在被动技能方面了 没找到解包技能里有直接添加属性的 求大佬教学