# MirageRevive (v81 rebuild)

> ⚠️ **Unofficial rebuild for Lethal Company v81**, maintained by **Cpt.Dristyler**.
> Not affiliated with or endorsed by the original author. Install this *instead of* the
> original, not alongside it.

When a player dies they are revived as a Masked enemy (default 10% chance,
configurable). Required by the host and all players; only the host's configuration is
used (synced to clients).

## This rebuild (1.3.1) — by Cpt.Dristyler

- **Fixed the `KillPlayerServerRpc` hook signature mismatch on v81.** Lethal Company v81
  added a trailing `setOverrideDropItems: bool` parameter to
  `PlayerControllerB.KillPlayerServerRpc` and `KillPlayer`; the old hooks no longer
  matched, so Revive failed to load and masked enemies never spawned on death. The hooks
  now accept and forward the new parameter.
- Rebuilt against `LethalCompany.GameLibs.Steam` 81.0.5 (was 67.0.0); the bundled
  `MMHOOK_Assembly-CSharp` was regenerated with MonoMod HookGen against game v81. GUID
  `qwbarch.MirageRevive` unchanged — existing configs stay compatible.

## Credits

- Original mod: **qwbarch**
- v81 rebuild & hook fix: **Cpt.Dristyler**

## Dependencies

- qwbarch-MirageCore 1.0.3
