diff --git a/src/player_hardcoded_effects.cpp b/src/player_hardcoded_effects.cpp index d53cf7a141769..a096512acb774 100644 --- a/src/player_hardcoded_effects.cpp +++ b/src/player_hardcoded_effects.cpp @@ -713,10 +713,10 @@ void player::hardcoded_effects( effect &it ) } if( dur > 4_hours ) { // 8 teleports - if( one_in( 10000 - to_turns( dur ) ) && !has_effect( effect_valium ) ) { + if( one_turn_in( 1000_minutes - dur ) ) && !has_effect( effect_valium ) ) { add_effect( effect_shakes, rng( 4_minutes, 8_minutes ) ); } - if( one_in( 12000 - to_turns( dur ) ) ) { + if( one_turn_in( 1200_minutes - dur ) ) { add_msg_if_player( m_bad, _( "Your vision is filled with bright lights…" ) ); add_effect( effect_blind, rng( 1_minutes, 2_minutes ) ); if( one_in( 8 ) ) {