Feature request: add mod ability--in a base defense mission, the spawn chance of each alien is multiplied by the fraction of remaining HP of the craft when it touched down. For example, if it has 30% remaining HP after getting past base defenses, then each alien which would have otherwise spawned has a 70% chance to fail to spawn.
Purpose: To give base defense more granularity; where previously, failing to completely destroy the craft resulted in zero value of defense facilities, now any damage helps. The result is a gradient of effect as opposed to the binary result of the ship either coming in whole or not at all.
Example code:
facilities:
- type: STR_MISSILE_DEFENSES
defenseProgressiveDamage: true
Potential uses:
- A.) To make sure that an inadequate defense facility setup still has some value, and that weaker defense types have some reason to ever be used.
- B.) Weaken defense facilities and essentially ensure UFOs will land. The purpose of defenses is only to reduce the incoming fight.
- C.) Hard-difficulty mod--To punish player for not having adequate defenses by a certain time frame. Increasingly larger and sturdier ships attack the player's base over time. Punishment level is dependent on how lacking the defenses are.