Panic System

Panic System
This is a mod for the HBS BattleTech game that simulates MechWarrior panic and automatic ejections.

MechWarrior Panic
There are four states for a pilot to be in: Confident, Unsettled, Stressed, and Panicked.

Panic rolls are made when sufficient damage is dealt. This roll considers multiple factors to calculate a saving throw and a failure will increase panic by one level.

There are many factors that can affect this, such as Guts and Tactics, Pilot Quirks, lance morale, loss of all weapons, and overheating/shutdown.

Rolling 100 on a saving throw will reduce panic level by one state. Succeeding all saving throws in a turn will improve panic state by one level as well.

Panic save failures lead to ejection rolls when the target is at Panicked state. Similar calculations are performed to determine a saving throw, where a failure will eject the pilot.

The panic states affect the pilot's to-hit and to-hit-against stats as follows, with increasing panic making a pilot easier to hit and penalizing their own attacks:

Special Cases
Pilots with one health left and a mostly destroyed mech will automatically start rolling for ejection, skipping panic saving throws. Pilots who are alone and face insurmountable odds will also skip panic throws and start rolling for ejection.

Vehicle Panic
When sufficient damage is inflicted, they will make panic saves where a failure jumps immediately to panicked. When panicked and failing more saving throws they will flee and self destruct.