Repair System

7.1 Triggering
- Activates when HP or Shield reaches the specified trigger percentage.
- Repair percentage is displayed in the interface as
%Repair (X).
7.2 Behavior Flow
- Switches to Flee config.
- Goes to the nearest safe portal.
- Waits until shield is 100% in both configs.
- Then returns to normal workflow.
Special Case: If an NPC attack is active during triggering:
- If NPC health is below 50%, the NPC is killed first.
- Then the repair process begins.