Skip to content

Commit

Permalink
Merge pull request #6682 from MahtraDR/fix_thresholds
Browse files Browse the repository at this point in the history
[scripts][magic-training] Set sane defaults for threshold 1 of 2
  • Loading branch information
MahtraDR authored Aug 28, 2023
2 parents 04cd29c + e248cfe commit b3eb947
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magic-training.lic
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class MagicTraining
def train_magics?(training_skills)
settings = get_settings
DRCT.walk_to(settings.magic_training_room)
exp_threshold = settings.magic_exp_training_max_threshold
settings.magic_exp_training_max_threshold.nil? ? exp_threshold = 32 : exp_threshold = settings.magic_exp_training_max_threshold
force_cambrinth = settings.waggle_force_cambrinth
training_spells = settings.training_spells.empty? ? settings.magic_training : settings.training_spells

Expand Down

0 comments on commit b3eb947

Please sign in to comment.