/ Modding / 24 views

[DoS 2] Repair the bug of incorrect DamageSourceType in The Divinity Engine 2

When you’re tweaking certain skills, like Rush skills, sometimes the attribute Damage enumeration type might not match up with the specified damage value. This can cause some weird skill behavior that you weren’t expecting. But don’t worry! If you make changes directly to the ‘.txt’ file, everything should function normally. This tells us that the problem lies with the editor itself. Here’s how you can correct it:

First open the definition of editor,File - OpenDefinition

image-20230425121427711

A lot of skills seem to have problems with the ‘Damage’ option. If you take a look at one, like the Rush skill for example, you’ll notice that the enumeration type for ‘Damage’ is set as ‘Qualifier’, which is obviously wrong.

image-20230425020020676

To fix this issue, simply double-click on the value you want to change and delete it. Then, type in ‘DamageSourceType’ and click anywhere else to finish entering it. Repeat this process for all the skills you want to modify.

image-20230425015930892

Once you’re done making all the necessary modifications, click on the fork icon located to the right of the file name. A pop-up dialog box will appear, asking if you want to save the changes. Select ‘Yes’ to confirm (as other methods, such as CTRL+S, may not save correctly). That’s it! Your changes should now be saved.

image-20230425020221446

To ensure that your changes have been successfully applied, close The Divinity Engine 2 completely (not just the data editor, but the engine itself) and reopen it. After reopening the engine, check to see if your modifications are still in effect. If everything looks good, then your changes have been successfully saved and are valid.

image-20230425122116187

Eysent
[Mount & Blade II: Bannerlord] Modifying game data with dnSpy to alter the recruitment speed of prisoners
[Mount & Blade II: Bannerlord] Modifying game data with dnSpy to alter the recruitment speed of prisoners
[Victoria 3] Victorial 3 Mod Tutorial – Modifying Maximum Building Capacity for a Single Building
[Victoria 3] Victorial 3 Mod Tutorial – Modifying Maximum Building Capacity for a Single Building
[DOS2] Detailed Modding Tutorial with Examples 01:Basic Introduction to Tools and Examples of Modifying Skills
[DOS2] Detailed Modding Tutorial with Examples 01:Basic Introduction to Tools and Examples of Modifying Skills

1

  1. buynetgold.com

    You come across incredibly informative. I wonder if I could volunteer
    one or two questions?

Leave a Reply

Your email address will not be published. Required fields are marked *