libram 0.11.3 → 0.11.4

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.
Files changed (2) hide show
  1. package/dist/mood.js +1 -1
  2. package/package.json +1 -1
package/dist/mood.js CHANGED
@@ -319,7 +319,7 @@ export class Mood {
319
319
  if ([...aprilShieldEffects.values()].includes(effect)) {
320
320
  return this.skill(skill, { requireAprilShield: true });
321
321
  }
322
- if (!gainEffect)
322
+ if (!gainEffect && skill !== $skill.none)
323
323
  return this.skill(skill);
324
324
  this.elements.push(new CustomMoodElement(effect, gainEffect));
325
325
  return this;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "libram",
3
- "version": "0.11.3",
3
+ "version": "0.11.4",
4
4
  "description": "JavaScript helper library for KoLmafia",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",