Skip to content

Commit

Permalink
bugfix ready_to_rest? should_rest lambda logic
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhoribu authored Jul 14, 2024
1 parent 3d7b3aa commit 6eec069
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/bigshot.lic
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
Major_change.feature_addition.bugfix
v5.3.12 (2024-07-13)
- update profile_current and save_profile_name when using CLI profile load/save
- bugfix ready_to_rest? should_rest lambda logic
v5.3.11 (2024-06-20)
- fix to break from cmd_assault command on cooldown if loop repeated
v5.3.10 (2024-06-15)
Expand Down Expand Up @@ -5501,7 +5502,7 @@ class Bigshot
# Define rest_actions with lambda functions representing actions
rest_actions = {
bounty_mode: lambda { $rest_reason = 'bounty complete.' },
should_rest: lambda { $rest_reason = '$bigshot_should_rest was set to true.' unless $rest_reason },
should_rest: lambda { $rest_reason ? $rest_reason : $rest_reason = '$bigshot_should_rest was set to true.'},
wounded: lambda { $rest_reason = 'wounded.' },
percentencumbrance: lambda { $rest_reason = 'encumbered.' },
creaping_dread: lambda { $rest_reason = 'creaping dread limit.' },
Expand Down

0 comments on commit 6eec069

Please sign in to comment.