I am working on a hero defense map. The enemy unit types never change, but they spawn more as the game goes on and they get stronger as well.
Currently, the increased spawn rate is fine. The problem is making the enemies stronger. Right now, I have a dummy unit with auras on it that affects all the enemy units (range is 50000 or something like that). It has 3 auras - each with 100 levels. I am not sure exactly how bad it is for the map loading time (creates the dummy at map initialisation), but it's definitely not how I want to do it if it is possible to do it another way.
The 3 auras are: damage, armour, health regeneration. I might be adding more as well (mana regeneration), but if the solution works for those three, it is good enough.
One solution is to make them have, say, 20 levels each and then increment them only one 5th as often, but that might make it a bit too clunky for my tastes. It's an improvement, at least, but if there is something better, I'd rather go with that.
I think I've heard that upgrades are better than auras. I could do this, but is it actually faster? I think it would also mess up the armour aura since it currently increments by 0.5 per level (seems like you can only put integers in armour per upgrade). I wouldn't mind making that one have 50 levels worth of upgrades and have it only increment half as often. I am unsure if there is a health regeneration upgrade that I can use, so upgrades might not be a complete solution. Fixing 2 of the auras would still be good, though.
In case it matters, I am using default WC3 editor. I prefer JASS, but GUI solutions are perfectly fine. I can convert the triggers myself if I need to.
That's all I've got. Thanks in advance.
Currently, the increased spawn rate is fine. The problem is making the enemies stronger. Right now, I have a dummy unit with auras on it that affects all the enemy units (range is 50000 or something like that). It has 3 auras - each with 100 levels. I am not sure exactly how bad it is for the map loading time (creates the dummy at map initialisation), but it's definitely not how I want to do it if it is possible to do it another way.
The 3 auras are: damage, armour, health regeneration. I might be adding more as well (mana regeneration), but if the solution works for those three, it is good enough.
One solution is to make them have, say, 20 levels each and then increment them only one 5th as often, but that might make it a bit too clunky for my tastes. It's an improvement, at least, but if there is something better, I'd rather go with that.
I think I've heard that upgrades are better than auras. I could do this, but is it actually faster? I think it would also mess up the armour aura since it currently increments by 0.5 per level (seems like you can only put integers in armour per upgrade). I wouldn't mind making that one have 50 levels worth of upgrades and have it only increment half as often. I am unsure if there is a health regeneration upgrade that I can use, so upgrades might not be a complete solution. Fixing 2 of the auras would still be good, though.
In case it matters, I am using default WC3 editor. I prefer JASS, but GUI solutions are perfectly fine. I can convert the triggers myself if I need to.
That's all I've got. Thanks in advance.