Skip to content

Commit

Permalink
v0.8.0
Browse files Browse the repository at this point in the history
update release workflow
  • Loading branch information
MrVauxs committed Apr 19, 2023
1 parent db02b40 commit eac54fd
Show file tree
Hide file tree
Showing 287 changed files with 64,888 additions and 22,066 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,11 @@ jobs:
- name: Generate Release Notes
run: bash ./.github/generate-release-notes.sh ${{ env.RELEASE_VERSION }} | tee RELEASE_NOTES.md

- name: Post Changelogs to Discord
run: bash ./.github/discord.sh --webhook-url="${{ secrets.DISCORD_WEBHOOK }}" --text "<@&901146147480043520>" --title "Version $(head -n 1 RELEASE_NOTES.md)" --description "$(jq -Rs . <<< $(tail -n +2 "RELEASE_NOTES.md") | cut -c 2- | rev | cut -c 2- | rev)" --color "0x6f1c17" --url "https://github.com/Pf2eToolsOrg/Pf2eTools/releases/tag/v${{ env.RELEASE_VERSION }}" --timestamp
- name: 'Upload Changelog MD'
uses: actions/upload-artifact@v2
with:
name: 'changelog'
path: RELEASE_NOTES.md

- name: Archive Release
run: |
Expand Down Expand Up @@ -111,4 +114,7 @@ jobs:
[[ "${{ github.ref }}" == "refs/tags/"* ]] && docker tag $IMAGE_NAME $IMAGE_ID:latest
docker push $IMAGE_ID:$VERSION
docker push $IMAGE_ID:latest
# endregion
# endregion

- name: Post Changelogs to Discord
run: bash ./.github/discord.sh --webhook-url="${{ secrets.DISCORD_WEBHOOK }}" --text "<@&901146147480043520>" --title "Version $(head -n 1 RELEASE_NOTES.md)" --description "$(jq -Rs . <<< $(tail -n +2 "RELEASE_NOTES.md") | cut -c 2- | rev | cut -c 2- | rev)" --color "0x6f1c17" --url "https://github.com/Pf2eToolsOrg/Pf2eTools/releases/tag/v${{ env.RELEASE_VERSION }}" --timestamp
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ secrets
# Generated files
sitemap.xml
js/sw-files.js
search/
*.DS_Store
RELEASE_NOTES.md

Expand Down
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ Targeting ES6 was the original intent, but more modern features have long since

### JSON Cleaning

Parts of the JSON cleaning & style guidelines are also automated and can be applied using `npm run clean-jsons`. Additionally, this cleanup script is also run automatically as part of `npm run build`.

#### Trailing commas

To remove trailing commas in JSON:
Expand Down Expand Up @@ -95,6 +97,27 @@ Avoid binding ALT-modified events, as these are not available under MacOS or var

Do `npm run serve:dev` to launch a local dev server that serves the project files on [`http://localhost:8080/index.html`](http://localhost:8080/index.html).

### JSON Schema

The repository contains a JSON Schema for the data files in `test/schema-template/schema.json`. The schema is currently a work in progress.

Details for how to make use of the schema vary based on what setup you are using to work with the repo.

#### Visual Studio Code

To use the JSON Schema with Visual Studio Code, head to Settings and locate the `JSON: Schemas` setting. It is recommended you add this configuration only for the local workspace.

```json
"json.schemas": [
{
"fileMatch": [
"data/**/*.json"
],
"url": "./test/schema-template/schema.json"
}
]
```

### Version bump

Do `npm run version-bump -- [OPTION]`, where `[OPTION]` is one of the following:
Expand Down
File renamed without changes.
File renamed without changes.
135 changes: 132 additions & 3 deletions data/abilities.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
],
"page": 236,
"entries": [
"The skeleton is wreathed with fire, which doesn't consume its bones or gear. The skeleton gains immunity to fire and weakness 5 to cold, loses its resistance to cold, and its {@action Strike||Strikes} deal additional {@condition persistent damage ||persistent fire damage} equal to half the skeleton's level (minimum 1 damage)."
"The skeleton is wreathed with fire, which doesn't consume its bones or gear. The skeleton gains immunity to fire and weakness 5 to cold, loses its resistance to cold, and its {@action Strike||Strikes} deal additional {@condition persistent damage||persistent fire damage} equal to half the skeleton's level (minimum 1 damage)."
]
},
{
Expand All @@ -117,7 +117,7 @@
],
"page": 236,
"entries": [
"When the skeleton takes physical damage from a critical hit, one of its bones is pulverized into a fine powder. All creatures in a 5-foot emanation that breathe take {@damage 1d6} {@condition persistent damage ||persistent poison damage} (plus an additional {@dice 1d6} for every 6 levels the skeleton has)."
"When the skeleton takes physical damage from a critical hit, one of its bones is pulverized into a fine powder. All creatures in a 5-foot emanation that breathe take {@damage 1d6} {@condition persistent damage||persistent poison damage} (plus an additional {@dice 1d6} for every 6 levels the skeleton has)."
]
},
{
Expand Down Expand Up @@ -154,7 +154,7 @@
"unit": "action"
},
"frequency": {
"freq": 1,
"number": 1,
"unit": "day"
},
"entries": [
Expand Down Expand Up @@ -886,6 +886,135 @@
"entries": [
"This sense allows a monster to feel vibrations caused by movement through a liquid. It's an imprecise sense with a limited range (listed in the ability). Wavesense functions only if monster and the subject are in the same body of liquid, and only if the subject is moving through the liquid."
]
},
{
"name": "Site Bound",
"source": "B1",
"page": 166,
"creature": [
"Ghost"
],
"entries": [
"A typical ghost can stray only a short distance from where it was killed or the place it haunts. A typical limit is 120 feet. Some ghosts are instead bound to a room, building, item, or creature that was special to it rather than a location."
]
},
{
"name": "Rejuvenation",
"source": "B1",
"page": 166,
"creature": [
"Ghost"
],
"traits": [
"divine",
"necromancy"
],
"entries": [
"When a ghost is destroyed, it re-forms after {@dice 2d4} days within the location it's bound to, fully healed. A ghost can be permanently destroyed only if someone determines the reason for its existence and sets right whatever prevents the spirit from resting."
],
"add_hash": "Ghost"
},
{
"name": "Corrupting Gaze",
"source": "B1",
"page": 166,
"creature": [
"Ghost"
],
"activity": {
"unit": "action",
"number": 2
},
"entries": [
"The ghost stares at a creature it can see within 30 feet. The target takes {@damage 1d6} negative damage + {@damage 1d6} per 2 levels with a basic Will save. A creature that fails its save is also {@condition stupefied 1} for 1 minute."
]
},
{
"name": "Draining Touch",
"source": "B1",
"page": 166,
"creature": [
"Ghost"
],
"activity": {
"unit": "action",
"number": 2
},
"entries": [
"With a touch, the ghost attempts to drain a living creature's life force. It makes a ghostly hand {@action Strike} but deals no damage on a hit. Instead, the target becomes {@condition drained 1} for 1 day, and the ghost regains HP equal to half its own level."
]
},
{
"name": "Frightful Moan",
"source": "B1",
"page": 166,
"creature": [
"Ghost"
],
"traits": [
"auditory",
"divine",
"emotion",
"enchantment",
"fear",
"mental"
],
"activity": {
"unit": "action",
"number": 2
},
"entries": [
"The ghost laments its fate, forcing each living creature within 30 feet to attempt a Will save. On a failure, a creature becomes {@condition frightened 2} (or {@condition frightened 3} on a critical failure). On a success, a creature is temporarily immune to this ghost's frightful moan for 1 minute."
]
},
{
"name": "Inhabit Object",
"source": "B1",
"page": 166,
"creature": [
"Ghost"
],
"activity": {
"unit": "action",
"number": 1
},
"entries": [
"The ghost possesses an object of size {@trait Large} or smaller within 20 feet, making it an animated object (pages 20\u201321). This animated object's level can be no higher than the ghost's level \u2013 2. If the target object is being held by a creature, the bearer can attempt a Will save to prevent the possession. This possession ends when the object is destroyed or the ghost leaves it. At this point, the ghost reappears in the object's square and can't Inhabit an Object again for {@dice 1d4} rounds."
]
},
{
"name": "Malevolent Possession",
"source": "B1",
"page": 167,
"creature": [
"Ghost"
],
"activity": {
"unit": "action",
"number": 2
},
"entries": [
"The ghost attempts to possess an adjacent corporeal creature. This has the same effect as the {@spell possession} spell, except since the ghost doesn't have a physical body, it is unaffected by that restriction of the spell."
]
},
{
"name": "Telekinetic Assault",
"source": "B1",
"page": 167,
"traits": [
"divine",
"evocation"
],
"creature": [
"Ghost"
],
"activity": {
"unit": "action",
"number": 2
},
"entries": [
"The ghost cries out in pain and anguish as small objects and debris fly about in a 30-foot emanation. Creatures in this area take {@damage 1d6} bludgeoning damage + {@damage 1d6} per 2 levels, subject to a basic Reflex save."
]
}
]
}
Loading

0 comments on commit eac54fd

Please sign in to comment.