As the title. I'm looking for a way for a unit to gain strength as it becomes more and more damaged. Now, I've tried every way I can think of using the Modifiers system, but I'm fairly certain it's just not possible. There's a modifier that the Samurai uses that sets the unit to ignore damage penalties, but has no arguments. There's a modifier that a policy uses that causes the unit to ignore a percentage of the penalties, based on its argument, but it doesn't overflow on a value over 100% (and also, I think, doesn't have any effect with a negative value). There's a requirement for a unit being over a certain threshold of damage, but as far as I can find it only works in a unit combat context, and as far as I can tell can only check the opponent's damage, instead of the owner's.
So, all that and nothing to show for it. At best, I guess, you could make a leader where the enemy units technically get a penalty to their strength based on how damaged your unit is, that might work, but it's still kind of a let down.
If anyone has any wizardry they can work to get that effect working, or if it would be possible with a bit of lua, please let me know, I'd kill to have this effect available for my designs.
So, all that and nothing to show for it. At best, I guess, you could make a leader where the enemy units technically get a penalty to their strength based on how damaged your unit is, that might work, but it's still kind of a let down.
If anyone has any wizardry they can work to get that effect working, or if it would be possible with a bit of lua, please let me know, I'd kill to have this effect available for my designs.