libram 0.8.34 → 0.8.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,7 +7,7 @@ import * as Bandersnatch from "../resources/2009/Bandersnatch";
7
7
  import * as StompingBoots from "../resources/2011/StompingBoots";
8
8
  import { $effect, $familiar, $item, $items, $skill } from "../template-string";
9
9
  import { ActionSource, findActionSource, } from "./ActionSource";
10
- const everythingLooksGreen = (otherClause = () => true) => () => otherClause() && have($effect `Everything Looks Green`) ? 0 : 1;
10
+ const everythingLooksGreen = (otherClause = () => true) => () => otherClause() && !have($effect `Everything Looks Green`) ? 1 : 0;
11
11
  const freeRunSources = [
12
12
  // Free unlimited source
13
13
  new ActionSource($item `spring shoes`, everythingLooksGreen(() => have($item `spring shoes`)), Macro.skill($skill `Spring Away`), {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "libram",
3
- "version": "0.8.34",
3
+ "version": "0.8.35",
4
4
  "description": "JavaScript helper library for KoLmafia",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",