How to scale the max health of every creature

A place to post your add ons and ideas for them

Moderator: Moderator

Post Reply
Message
Author
gachatar
Posts: 3
Joined: Sat Aug 12, 2017 1:39 am

How to scale the max health of every creature

#1 Post 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.

gachatar
Posts: 3
Joined: Sat Aug 12, 2017 1:39 am

Re: How to scale the max health of every creature

#2 Post 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.

tiger_eye
Perspiring Physicist
Posts: 889
Joined: Thu Feb 17, 2011 5:20 am

Re: How to scale the max health of every creature

#3 Post 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
darkgod wrote:OMFG tiger eye you are my hero!

Post Reply