This plugin disables the flare response of patrol helicopters when they are locked onto by homing missiles, making them defenseless against incoming missiles.
Configuration
JSON:
{
"Version": "1.1.0",
"Percentage Chance That Heli Cannot Use Flares": 100
}
Percentage Chance That Heli Cannot Use Flares
- Determines the probability (expressed as a percentage) that the patrol helicopter will be unable to deploy flares when targeted by homing missiles.
Harmony Hooks
The following hooks are implemented via Harmony patches:
C#:
object CanPatrolHelicopterFlare(PatrolHelicopter patrolHelicopter)
- Called when the patrol helicopter checks if it should fire flares in response to a homing missile lock.
- Returning false prevents the patrol helicopter from firing flares, while returning true allows it.