Skip to content

Commit

Permalink
Update combat-trainer.lic with tessera mindstate check
Browse files Browse the repository at this point in the history
Added check to the tessera training_ability to respect the tessera_mindstates YAML setting
  • Loading branch information
urbaj-dr authored Jun 25, 2024
1 parent 1549f35 commit 1c3b4eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions combat-trainer.lic
Original file line number Diff line number Diff line change
Expand Up @@ -3226,6 +3226,7 @@ class TrainerProcess
return unless DRStats.trader?
return if game_state.retreating?
return if game_state.loaded || game_state.offhand?
return if DRSkill.getxp('Trading') > settings.tessera_mindstates

DRC.retreat
return unless /inside your (.*)\./ =~ DRC.bput("get my tessera", 'You get a .+ tessera from inside your (.*).', 'What were you')
Expand Down

0 comments on commit 1c3b4eb

Please sign in to comment.