Skip to content

Commit

Permalink
closes #69 health and focus lower limit at -300
Browse files Browse the repository at this point in the history
  • Loading branch information
mjording committed Nov 28, 2024
1 parent 95f7000 commit 5b37acd
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ If either of these conditions are not met on the commit that tag points at, the
- The `system.json` file's `download` url must match the expected outcome of the release CI artifact. This should simply be changing version numbers in the url to match the release version.

```text
https://github.com/mjording/marvel-multiverse/releases/download/release-1.9.0/marvel-multiverse-1.9.0.zip
https://github.com/mjording/marvel-multiverse/releases/download/release-1.9.1/marvel-multiverse-1.9.1.zip
└─ Tag Name ──┘ └─ V ─┘ (version)
```

Expand Down
4 changes: 2 additions & 2 deletions module/data/actor-base.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ export default class MarvelMultiverseActorBase extends foundry.abstract.TypeData
}, {}));

schema.health = new fields.SchemaField({
value: new fields.NumberField({ required: true, nullable: false, initial: 0 }),
value: new fields.NumberField({ required: true, nullable: false, initial: 0, min: -300 }),
max: new fields.NumberField({ required: true, nullable: false, initial: 0 })
});

schema.healthDamageReduction = new fields.NumberField({ ...requiredInteger, initial: 0})
schema.focus = new fields.SchemaField({
value: new fields.NumberField({ required: true, nullable: false, initial: 0 }),
value: new fields.NumberField({ required: true, nullable: false, initial: 0, min: -300 }),
max: new fields.NumberField({ required: true, nullable: false, initial: 0 })
});

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "marvel-multiverse",
"version": "1.9.0",
"version": "1.9.1",
"description": "CSS compiler for the MarvelMultiverse system",
"scripts": {
"build:css": "sass src/scss/marvel-multiverse.scss css/marvel-multiverse.css --style=expanded --no-source-map",
Expand Down
4 changes: 2 additions & 2 deletions system.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"thumbnail": "systems/marvel-multiverse/ui/official/mmrpg-setup-thumbnail.png"
}
],
"version": "1.9.0",
"version": "1.9.1",
"compatibility": {
"minimum": 12,
"verified": "12.328"
Expand Down Expand Up @@ -116,7 +116,7 @@
],
"socket": true,
"manifest": "https://raw.githubusercontent.com/mjording/marvel-multiverse/main/system.json",
"download": "https://github.com/mjording/marvel-multiverse/releases/download/release-1.9.0/marvel-multiverse-release-1.9.0.zip",
"download": "https://github.com/mjording/marvel-multiverse/releases/download/release-1.9.1/marvel-multiverse-release-1.9.1.zip",
"background": "systems/marvel-multiverse/ui/official/mmrpg-background.webp",
"grid": {
"distance": 5,
Expand Down

0 comments on commit 5b37acd

Please sign in to comment.