diff --git a/combat-trainer.lic b/combat-trainer.lic index 9083a5db3e..5a7ad1a8cb 100644 --- a/combat-trainer.lic +++ b/combat-trainer.lic @@ -203,7 +203,7 @@ class SetupProcess # 30 is a magic number and there are multiple factors determining what would be an optimal value, which may not practically # exist for the wide range of CT use cases. - if @offhand_trainables && game_state.focus_threshold_active then + if @offhand_trainables && game_state.focus_threshold_active # define what mainhand skills look like mainhand_skills = $melee_skills + $thrown_skills + $martial_skills - game_state.aiming_trainables @@ -217,13 +217,13 @@ class SetupProcess echo("mainhand_selection_pool #{mainhand_selection_pool}") if $debug_mode_ct echo("offhand_selection_pool #{offhand_selection_pool}") if $debug_mode_ct - if bow_selection_pool.length > 0 then + if bow_selection_pool.length > 0 # choose a bow from this restricted pool (i.e. preferencing bow) new_weapon_skill = game_state.sort_by_rate_then_rank(bow_selection_pool).first - elsif mainhand_selection_pool.length > 0 then + elsif mainhand_selection_pool.length > 0 # choose a mainhander from this restricted pool (once bows are done) new_weapon_skill = game_state.sort_by_rate_then_rank(mainhand_selection_pool).first - elsif offhand_selection_pool.length > 0 then + elsif offhand_selection_pool.length > 0 # choose an offhand weapon (wielded in the main hand) from this restricted pool new_weapon_skill = game_state.sort_by_rate_then_rank(offhand_selection_pool).first else