Jump to content

[Need help] Creating a trait for a custom character

Recommended Posts

Hello, so, basically I'm beginner in DST modding.

I tried looking for solutions on this but didn't find anything helpful.

And i need help in creating a trait for a custom character, main idea of this trait is healing for a small percentage of mobs maximum health that character just killed. Some help would be nice.

Link to comment
Share on other sites

21 minutes ago, Lumina said:

Check Wigfrid code. File is "wathgrithr.lua" in prefabs.

Yep, tried that, but didn't quite understand some parts of it, like how this code "grabs" creatures damage and how to "grab" creatures max health for my code

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...