Originally posted by LDiCesare
There is a hard coded provision in the code that kills elements with less than 1 health, in order to avoid fights between element1 with 0.0002 health vs. element2 of health 0.0004 which could last forever.
There is a hard coded provision in the code that kills elements with less than 1 health, in order to avoid fights between element1 with 0.0002 health vs. element2 of health 0.0004 which could last forever.
attack = element attack * number of elements
That would mean that one of those two wounded elements would die swiftly, since they each get their full attack, which would wipe out the little health that remains.
Now the amount of damage taken may be more than what you think. Increase the defense or decrease attack or change the damage divider until you have an idea of how much damage is dealt by a 1 attack vs. 1 defense unit in a fight.
I have been testing and tweaking this for two days now. Combat between two Warrior units with attack, defense, and health of 1 each works perfectly, as I described in the Scenarios thread where I posted my small number combat scenario. The Hero had exactly the same stats they did. Download the file to see that combat in action. It doesn´t include the Hero unit, though.
I certainly plan on altering the default military.xml file so that the weakest unit in the game has stats of 1 in most things.
Comment