public static bool IsJumpPrimed(Player player)
 {
     return(player.jumpAgainCloud ||
            player.jumpAgainSandstorm ||
            player.jumpAgainBlizzard ||
            player.jumpAgainFart ||
            player.jumpAgainSail ||
            player.jumpAgainUnicorn ||
            PlayerMovementHelpers.IsOnFloor(player) ||
            (player.mount.Active && player.mount.Type == MountID.Slime && player.wetSlime > 0) ||
            (player.wet && player.accFlipper && (!player.mount.Active || !player.mount.Cart)));
 }
Exemple #2
0
 public static bool CanPlayerJump(Player player)
 {
     return(PlayerMovementHelpers.CanPlayerJump(player));
 }
Exemple #3
0
 public static float MinimumRunSpeed(Player player)
 {
     return(PlayerMovementHelpers.MinimumRunSpeed(player));
 }
Exemple #4
0
 public static bool IsFlying(Player player)
 {
     return(PlayerMovementHelpers.IsFlying(player));
 }
Exemple #5
0
 public static bool IsRelaxed(Player player, bool not_mounted = true, bool not_grappled = true,
                              bool not_pulleyed = true, bool not_frozen = true, bool not_inverted = true)
 {
     return(PlayerMovementHelpers.IsRelaxed(player, not_mounted, not_grappled, not_pulleyed, not_frozen, not_inverted));
 }
 public static bool CanPlayerJump(Player player)
 {
     return(PlayerMovementHelpers.IsJumpPrimed(player) &&
            (player.releaseJump || (player.autoJump && PlayerMovementHelpers.IsOnFloor(player))));
 }