Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Commit

Permalink
Bump version, update changelog (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
stwlam authored Oct 17, 2022
1 parent f0b293d commit dd05959
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ jobs:
draft: false
prerelease: false
token: ${{ secrets.GITHUB_TOKEN }}
artifacts: './module.json,./*.md,./adequate-vision.zip'
artifacts: './module.json,./adequate-vision.zip'
tag: ${{ env.moduleVersion }}
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## Version 0.0.5
* Limit See Invisibility detection mode to areas of map that are actually seen (contributed by dev7355608)

## Version 0.0.4
* Add support for blindsight and truesight
* Fiddle with darkvision contrast and brightness defaults
Expand Down
2 changes: 1 addition & 1 deletion module.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"scripts": [
"script.js"
],
"version": "0.0.4",
"version": "0.0.5",
"compatibility": {
"minimum": "10",
"verified": "10.288"
Expand Down
2 changes: 1 addition & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ function updateTokens(actor, { force = false } = {}) {
const canSeeInDark = ["darkvision", "devilsSight", "truesight"].some((m) => !!modes[m]);

// Devil's sight and darkvision
if (modes.devilsSight && (sight.visionMode !== "devilsSight" || sight.range !== mode.devilsSight)) {
if (modes.devilsSight && (sight.visionMode !== "devilsSight" || sight.range !== modes.devilsSight)) {
const defaults = CONFIG.Canvas.visionModes.devilsSight.vision.defaults;
updates.sight = { visionMode: "devilsSight", ...defaults };
} else if (modes.darkvision && (sight.visionMode !== "darkvision" || sight.range !== modes.darkvision)) {
Expand Down

0 comments on commit dd05959

Please sign in to comment.