Exemple #1
0
 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.IsJumpPrimed(player) &&
            (player.releaseJump || (player.autoJump && PlayerMovementHelpers.IsOnFloor(player))));
 }