HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Repair math? Ugh.

03-03-2007, 09:39 PM#1
Baron Crinkle
I have a defense map, and one of my heroes has the ordinary repair ability. Problem is, the math utter baffles me as to how I can balance this ability to charge a large amount + take a lot of time to repair this building. I've tried setting these things high and low, and am tired of relaunching the map over and over again--just how do I adjust the settings for repair in an ability to get the desired effect?
03-03-2007, 09:40 PM#2
Av3n
Nobody posted a tut on how it is calculated so figure it out

-Av3n
03-03-2007, 09:48 PM#3
Panto
Isn't all of that information determined by each building's stats in the object editor? I wasn't aware that the Repair ability determined anything.
03-03-2007, 09:49 PM#4
Ammorth
I believe:

Stats - Repair Gold/Lumber Cost is the amount of gold required to repair a building from 1 health to full health

Stats - Repair Time is the amount of time (in seconds) to repair a building from 1 health to full health

Of course, the more units repairing, the values change.

Edit: This is for the stats of the actual building, in the object editor.
03-03-2007, 10:16 PM#5
Falitian
Ammorth is correct.
03-03-2007, 11:18 PM#6
FatalError
If you want each ability to repair differently, base them off the heal ability and make it work on buildings (if that's possible...haven't tried).
03-03-2007, 11:35 PM#7
Baron Crinkle
Oh, crap! I'm a dunce, I was so focused on the repair ability that I neglected to notice those costs in the building itself! Sorry about that, thanks guys.