Minimum damage

I'm guessing this variable does not exist in the xml, but hardcoded in the c++?

Most likely. A lot of stuff is hardcoded like that. I've tried to get around this a bit through after-the-fact Lua changes; I've got a promotion in my mod that makes all units take 1 less damage (possibly reducing an attack to 0) simply by healing one point of damage as soon as you take a hit. It's not perfect, since a unit with 1 HP that takes 1 damage will die before the heal is applied, but until we get either an XML minimum value like you're asking for OR a good GameEvent interrupt that lets us modify the damage dealt before it's dealt, there's not a whole lot we can do.
 
Top Bottom