예제 #1
0
 public static void Postfix([HarmonyArgument(0)] GameDataPlayerInfo exiled, ExileController __instance)
 {
     if (exiled.JKOMCOJCAID == PlayerControlPatch.Torch.PlayerId && PlayerControl.GameOptions.HGOMOAAPHNJ)
     {
         __instance.EOFFAJKKDMI = exiled.EIGEKHDAKOH + " was The Torch.";
     }
 }
예제 #2
0
        public static void Postfix([HarmonyArgument(0)] GameData.PlayerInfo exiled, CNNGMDOPELD __instance)
        {
            PlayerControl wowww = null;

            foreach (PlayerControl player in PlayerControl.AllPlayerControls)
            {
                if (!PlayerControl.GameOptions.ConfirmImpostor)
                {
                    continue;
                }
                if (player.PlayerId != exiled.PlayerId)
                {
                    continue;
                }
                if (!player.isPlayerRole("Pheonix"))
                {
                    continue;
                }
                wowww = player;
            }
            if (wowww != null)
            {
                __instance.EOFFAJKKDMI = exiled.PlayerName + " was Our Pheonix.";
            }
        }