you beta test new secret Terraria update this update add quest gamesimply world map represent array length n ith column world height a_iThere m quest test the jth represent integer s_j t_j in quest column s_j column t_j at start quest appear column s_jIn column x column x1 column x1 in version Spectre Boots allow fly since beta version bug allow fly go infinite fly duration when move column height p column height q fall damage if height p great height q p q fall damage fly 0 damagefor give quest determine minimum fall damage quest