Jump to content

help with mod


Recommended Posts

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
Share on other sites

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
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
 Share

×
  • Create New...