Exemplo n.º 1
0
 public static void Postfix(MeetingHud __instance)
 {
     if (PlayerControlPatch.Metamorphs != null)
     {
         PlayerControl localPlayer = PlayerControl.LocalPlayer;
         if (PlayerControlPatch.IsMetamorph(localPlayer))
         {
             HudManagerPatch.MorphButton.StartCooldown(HudManagerPatch.MorphButton.CooldownDuration + 8.0f);
         }
     }
 }
Exemplo n.º 2
0
        public void FixedUpdate()
        {
            if (PlayerControl.AllPlayerControls.Count > 1)
            {
                if (isAlive())
                {
                    if (playerControl.POECPOEKKNO)
                    {
                        PlayerControl closestPlayer = FindClosestTarget(PlayerControl.LocalPlayer);

                        Metamorph outMetamorph = null;
                        if (closestPlayer != null && !PlayerControlPatch.IsMetamorph(closestPlayer.PlayerId, out outMetamorph))
                        {
                            lastPlayerContact = closestPlayer;
                        }
                    }
                }
            }
        }
Exemplo n.º 3
0
        public void FixedUpdate()
        {
            if (PlayerControl.AllPlayerControls.Count > 1)
            {
                if (PlayerId == PlayerControl.LocalPlayer.PlayerId)
                {
                    if (isAlive())
                    {
                        if (playerControl.MPEOHLJNPOB)
                        {
                            PlayerControl closestPlayer = FindClosestTarget(PlayerControl.LocalPlayer);

                            if (closestPlayer != null && !PlayerControlPatch.IsMetamorph(closestPlayer))
                            {
                                lastPlayerContact = closestPlayer;
                            }
                        }
                    }
                }
            }
        }