Jump to content

How do I make the character take more damage in general?


Recommended Posts

A few days ago I've been searching on the internet for hours on what line of code do I need to put in the character lua file (in my mod, my character's name is Taran, so in this case it's taran.lua in the scripts/prefabs folder) and I literally can't find anything useful. If I do find something, it doesn't work. I really wanted to figure this out on my own, but I just can't. And I've tried. I've figured out how to make the character take more damage to fire, but not how much damage does he take in general. I've recently given up on this goal, but now I really want to try again because I think this would really balance out my character because he is a little too strong currently.

So, my question is; what is the code? And where do I put it in the lua file? I'll attach the file below.

taran.lua

https://forums.kleientertainment.com/forums/forum/79-dont-starve-together-mods-and-tools/

you can try asking there

other than that, maybe try to check how the new damage setting works

idk much about lua soz

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...