diff --git a/athletics.lic b/athletics.lic index fd12744b6b..379ead4ab0 100644 --- a/athletics.lic +++ b/athletics.lic @@ -210,9 +210,9 @@ class Athletics end def crossing_athletics - if UserVars.athletics <= 50 + if UserVars.athletics.to_i <= 50 swim_loop(get_data('athletics').swimming_options['arthe_dale']['rooms']) - elsif UserVars.athletics < 290 + elsif UserVars.athletics.to_i < 290 waitrt? pause @performance_pause # to give performance time to complete before_dying if stopped from the previous script start_script('performance') unless Script.running?('performance') @@ -223,18 +223,18 @@ class Athletics break unless climb?(data['room'], data['targets']) end end - elsif UserVars.athletics < 450 + elsif UserVars.athletics.to_i < 450 override_location_and_practice('segoltha_bank') else - DRC.message("The xalas argument will train faster at 650+ athletics. Be aware that it's potentially dangerous.") if UserVars.athletics > 650 + DRC.message("The xalas argument will train faster at 650+ athletics. Be aware that it's potentially dangerous.") if UserVars.athletics.to_i > 650 override_location_and_practice('arthelun_rocks') - DRC.message("The xalas argument will train faster at 650+ athletics. Be aware that it's potentially dangerous.") if UserVars.athletics > 650 + DRC.message("The xalas argument will train faster at 650+ athletics. Be aware that it's potentially dangerous.") if UserVars.athletics.to_i > 650 end end def shard_athletics until done_training? - if UserVars.athletics < 240 + if UserVars.athletics.to_i < 240 until done_training? @athletics_options['shard'] .reject { |data| @settings.avoid_athletics_in_justice && data['justice'] } @@ -242,9 +242,9 @@ class Athletics break unless climb?(data['room'], data['targets']) end end - elsif UserVars.athletics < 540 + elsif UserVars.athletics.to_i < 540 climb_cliffs - elsif UserVars.athletics < 850 + elsif UserVars.athletics.to_i < 850 climb_branch elsif UserVars.athletics climb_wyvern @@ -342,10 +342,10 @@ class Athletics end def climb_branch - if UserVars.athletics < 540 + if UserVars.athletics.to_i < 540 override_location_and_practice('undergondola_branch') else - DRC.message("Warning: Using the undergondola arg with more than 850 athletics is not best use and you may consider the wyvern option instead.") if UserVars.athletics > 850 + DRC.message("Warning: Using the undergondola arg with more than 850 athletics is not best use and you may consider the wyvern option instead.") if UserVars.athletics.to_i > 850 DRCT.walk_to(9607) DRCT.walk_to(9515) until done_training? @@ -375,7 +375,7 @@ class Athletics def climb_wyvern DRCT.walk_to(19_464) until done_training? - DRCT.walk_to(2245) if UserVars.athletics > 540 + DRCT.walk_to(2245) if UserVars.athletics.to_i > 540 DRCT.walk_to(9607) DRCT.walk_to(11_126) DRCT.walk_to(19_464)