Skip to content

Commit 6e071f5

Browse files
authored
Update combat-trainer.lic
1 parent 1bb80b8 commit 6e071f5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

combat-trainer.lic

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,13 +208,14 @@ class SetupProcess
208208

209209
if @offhand_trainables && game_state.focus_threshold_active
210210

211-
# define what mainhand skills look like
211+
# define what mainhand and offhand skills look like
212212
mainhand_skills = $melee_skills + $thrown_skills + $martial_skills - game_state.aiming_trainables
213+
offhand_skills = game_state.aiming_trainables + ['Offhand Weapon']
213214

214215
# create selection pools of bow/mainhand/offhand groupings
215216
bow_selection_pool = new_weapon_skills.select { |skill| $aim_skills.include?(skill) && DRSkill.getxp(skill) < 30 }
216217
mainhand_selection_pool = new_weapon_skills.select { |skill| mainhand_skills.include?(skill) && DRSkill.getxp(skill) < 30 }
217-
offhand_selection_pool = new_weapon_skills.select { |skill| game_state.aiming_trainables.include?(skill) && DRSkill.getxp(skill) < 30 }
218+
offhand_selection_pool = new_weapon_skills.select { |skill| offhand_skills.include?(skill) && DRSkill.getxp(skill) < 30 }
218219

219220
echo("bow_selection_pool #{bow_selection_pool}") if $debug_mode_ct
220221
echo("mainhand_selection_pool #{mainhand_selection_pool}") if $debug_mode_ct

0 commit comments

Comments
 (0)