HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

HP increament (TW)

05-10-2004, 01:55 PM#1
Mighty3k
Hi!

I am doing another TW (Towe Wars) along all others. But I am kinda stuck, or well, not really.. though I could use some help.

I need a nice formula to increase HP on the units sold to attack the other players. There are 44 creeps divided to 4 shrines. So what I need is something that helps me calculate a balanced HP increament. I am doing the tower-related stuff after the creeps so I can balance the towers better.

What I need:
A nice formula to calculate the units HP after level (11 levels for each shrine) and shrine. I have tried alot, but either the increament get too big or too small. I don't seem smart enough... :\
something like: shrine * level + 100 * 0.70 = HP
well, I guess you know what I mean.

Maybe this is the wrong forum to ask.. I could post a copy in the JASS forum too.. ^_^
05-10-2004, 05:55 PM#2
PatruX
Quote:
Originally Posted by Mighty3k
Hi!

I am doing another TW (Towe Wars) along all others. But I am kinda stuck, or well, not really.. though I could use some help.

I need a nice formula to increase HP on the units sold to attack the other players. There are 44 creeps divided to 4 shrines. So what I need is something that helps me calculate a balanced HP increament. I am doing the tower-related stuff after the creeps so I can balance the towers better.

What I need:
A nice formula to calculate the units HP after level (11 levels for each shrine) and shrine. I have tried alot, but either the increament get too big or too small. I don't seem smart enough... :\
something like: shrine * level + 100 * 0.70 = HP
well, I guess you know what I mean.

Maybe this is the wrong forum to ask.. I could post a copy in the JASS forum too.. ^_^

You must also base it of the damage of the Towers, so if you get too much HP on the creeps, make the towers damage higher.
05-10-2004, 06:45 PM#3
Mighty3k
Quote:
Originally Posted by PatruX
You must also base it of the damage of the Towers, so if you get too much HP on the creeps, make the towers damage higher.
"I am doing the tower-related stuff after the creeps so I can balance the towers better."

I wrote that :P
05-11-2004, 12:04 AM#4
Shimrra
The thing I would suggest is to give the unit near-infinate max health and then when you create the unit, set it's life to (Your Formula) HP. Also, set it's regen to zero so it won't get any higher. To the best of my knoweledge, their is no way to alter a unit's max health; only it's current.
05-12-2004, 02:56 PM#5
Mighty3k
Well, I was thinking of some "manual" way to calculate the units HP when I edit it. But that would work... but that bug making the hp dissapear some times would maybe affect all units then...

Maybe it is possible to set max health with JASS?
05-12-2004, 07:22 PM#6
Shimrra
Well, you could just giive them the Paripat of Life ability.(Convert it to a unit ability first) and it will add a certain amount of health to the units you give it to.