- Joined
- Jul 10, 2006
- Messages
- 3,315
So I'm making a map with lots of different unit levels over a potentially long game, and in the interest of balance, I like to be able to tell exactly how strong a group of creeps is using a spreadsheet.
Ideally I'd like to have a level 2 be as strong as two level 1s, a level 3 be as strong as two level 2s, etc.
This way the gold reward can also be accurate: (2^(level-1))*base
Some googling on the matter suggested that a unit's value, or "impact" as this article called it, can be defined as
impact = damage output * survivability
In terms of this map, that's a simple DPS * Effective HP (hp * armour bonus * abilities e.g. evasion)
So using this formula, a Footman with 840 HP and unaltered damage and armour is exactly twice as good as a regular footman with 420 HP.
IF the stronger footman was to fight two regular footman in sequence, he should die precisely as he kills the second footman, which would mean that the above formula is true.
HOWEVER
Units don't just line up to die one by one. Battles are dynamic things (not to go into things like range, movement speed and collision size), so in reality, in the above example of the two footman types, the stronger footman will die precisely when he kills the first of the two footmen.
So the impact = dps * survivability equation does not hold true in this form and under these conditions.
Determining each unit's "true" level empirically would be a nightmare, so I'm asking if anyone knows of a more accurate equation?
Basically I'm looking for the fragmentation equation, if anyone's heard of that (read it in a blogpost by a former Blizzard dev, failed to bookmark it, and can't find it)
Thanks
EDIT: Did some more testing using the impact = dps * ehp equation
Unit A: 10 dps * 100 hp = 1000 impact
vs Unit B: 10 dps * 200 hp = 2000 impact
Result: Unit A better (lose 1/2 units)
Unit A: 10 dps * 100 hp = 1000 impact
vs Unit B: 15 dps * 200 hp = 3000 impact
Result: Units equal (Unit A won with one attack worth of hp remaining)
Unit A: 10 dps * 100 hp = 1000 impact
vs Unit B: 10 dps * 300 hp = 3000 impact
Result: Units equal (Unit B won with one attack worth of hp remaining)
So in this test, for a unit to be exactly as strong as two units of the previous level, its impact has to be 3 times that of the lower level units.
Ideally I'd like to have a level 2 be as strong as two level 1s, a level 3 be as strong as two level 2s, etc.
This way the gold reward can also be accurate: (2^(level-1))*base
Some googling on the matter suggested that a unit's value, or "impact" as this article called it, can be defined as
impact = damage output * survivability
In terms of this map, that's a simple DPS * Effective HP (hp * armour bonus * abilities e.g. evasion)
So using this formula, a Footman with 840 HP and unaltered damage and armour is exactly twice as good as a regular footman with 420 HP.
IF the stronger footman was to fight two regular footman in sequence, he should die precisely as he kills the second footman, which would mean that the above formula is true.
HOWEVER
Units don't just line up to die one by one. Battles are dynamic things (not to go into things like range, movement speed and collision size), so in reality, in the above example of the two footman types, the stronger footman will die precisely when he kills the first of the two footmen.
So the impact = dps * survivability equation does not hold true in this form and under these conditions.
Determining each unit's "true" level empirically would be a nightmare, so I'm asking if anyone knows of a more accurate equation?
Basically I'm looking for the fragmentation equation, if anyone's heard of that (read it in a blogpost by a former Blizzard dev, failed to bookmark it, and can't find it)
Thanks
EDIT: Did some more testing using the impact = dps * ehp equation
Unit A: 10 dps * 100 hp = 1000 impact
vs Unit B: 10 dps * 200 hp = 2000 impact
Result: Unit A better (lose 1/2 units)
Unit A: 10 dps * 100 hp = 1000 impact
vs Unit B: 15 dps * 200 hp = 3000 impact
Result: Units equal (Unit A won with one attack worth of hp remaining)
Unit A: 10 dps * 100 hp = 1000 impact
vs Unit B: 10 dps * 300 hp = 3000 impact
Result: Units equal (Unit B won with one attack worth of hp remaining)
So in this test, for a unit to be exactly as strong as two units of the previous level, its impact has to be 3 times that of the lower level units.