Jump to content

Recommended Posts

Idea: I want to mod Wolfgang so that when he at mighty form, he will take 75% less dmg.

How i do:

In the modmain file: i add a line

GLOBAL.TUNING.WOLFGANG_ABSORPTION_MIGHTY     = 0.75

Then i add a line in wolfgang.lua under local function applymightiness(inst):

inst.components.health:SetAbsorptionAmount(TUNING.WOLFGANG_ABSORPTION_MIGHTY)

My wolfgang now do take 75% less dmg but regardless of form he was in. like in normal form he still take 75% less dmg.

P/s: i don't know much about coding, those line i copy from Wigfrid char (1st line from Tuning file, 2nd line from wathgrithr file), so Please tell me what to do in a very SPECIFIC way (like copy this line to that file under this section). Greatly appreciated !!!

P/s 2: if that is too complicated to be done, just say the word like "It's Complicated" and i'll just gave up, still very appreciated for your time.

Thank for Reading.

Edited by Psychomaniac

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