Page 1 of 1

How to scale the max health of every creature

Posted: Sat Aug 12, 2017 1:50 am
by gachatar
I feel like the game became too much of a oneshot fest. Common enemies die in 1 hit, rares after 3-4. Often I don't even have to follow up Rush with an attack, since it kills them outright.
I want to increase the health of every creature in the game, at least by +100%.

Obviously I don't want to modify every single unit one by one.
How could I accomplish this? Shouldn't be too hard to loop through everything, but I'm not good enough to come up with the syntax for it. Can someone help me out, pretty please?

It would be nice if there was a way to set a different multiplier based on creature rank.

Re: How to scale the max health of every creature

Posted: Sun Aug 13, 2017 12:50 pm
by gachatar
Thanks for approving the thread. I found it myself since then.
If anyone cares, just superload the addedToLevel() function in NPC.lua and modify max_life.

Re: How to scale the max health of every creature

Posted: Wed Aug 16, 2017 7:30 pm
by tiger_eye
I did this years ago with this addon. I don't know if it still works:

https://te4.org/games/addons/tome/double-npc-life

Other, similar (and simple) addons to make things a little more difficult:

https://te4.org/games/addons/tome/half-xp
https://te4.org/games/addons/tome/half-damage