Jump to content

Need HELP: Wolfgang's Mighty Form Dmg Absorb


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.

Link to comment
Share on other sites

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