sova444 Posted June 30, 2023 Share Posted June 30, 2023 I thought about the idea of creating a mod with a character stat rework, but I can’t figure out how to change damage modifiers, defense and sanity recovery Link to comment https://forums.kleientertainment.com/forums/topic/148881-help-with-mod/ Share on other sites More sharing options...
Glommer2 Posted June 30, 2023 Share Posted June 30, 2023 inst.components.combat.externaldamagetakenmultipliers:SetModifier(inst, 1)--1 means taking 100% damage inst.components.combat.damagemultiplier =1 --1 means causing 100% damage inst.components.sanity.dapperness = TUNING.DAPPERNESS_LARGE *1 --1 means one times equal to maxwell's sanity recovery Link to comment https://forums.kleientertainment.com/forums/topic/148881-help-with-mod/#findComment-1644839 Share on other sites More sharing options...
RedHairedHero Posted July 20, 2023 Share Posted July 20, 2023 I would suggest opening a character’s prefab and scrolling down to the last function. The stats such as health, sanity, hunger, damage, etc are typically there unless they have more unique mechanics. Link to comment https://forums.kleientertainment.com/forums/topic/148881-help-with-mod/#findComment-1651799 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now