Please unhardcode damage/speed formulas

some stuff to unhardcode...

1) minimum 30% of damage dealt

Code: Select all

```
// You always do at least a third of the experience modified damage
actualDamage = MAX(actualDamage - armour, actualDamage / 3);
```

that shitty piece of code breaks speed in game

Code: Select all

```
if ( (asBodyStats + psTemplate->asParts[COMP_BODY])->powerOutput > weight )
{
speed = speed * 3 / 2;
}
```

*that code means: if engine power of body more that weight of whole tank then get 50% additional engine power*

(but engine upgrades does not taken into account in this formula)

(but engine upgrades does not taken into account in this formula)

3) 300% damage to landed vtols

Code: Select all

```
if (isVtolDroid(psDroid) && psDroid->sMove.Status == MOVEINACTIVE)
{
damage *= 3;
}
```

Code: Select all

```
#define BURN_TIME 10000 ///< How long an object burns for after leaving a fire.
#define BURN_DAMAGE 15 ///< How much damaga a second an object takes when it is burning
```