Skip to content

Commit

Permalink
Merge pull request #43 from orffen/r9
Browse files Browse the repository at this point in the history
R9
  • Loading branch information
orffen committed Jan 14, 2023
2 parents 857d886 + b207715 commit a1a886b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Basic Fantasy RPG for FoundryVTT

This is the [Basic Fantasy RPG](https://www.basicfantasy.org/) system for FoundryVTT. Please also see the [companium compendium module](https://github.com/Stew-rt/basicfantasyrpg-corerules-en), which contains items, spells, monsters etc. for easy use with the system.
This is the [Basic Fantasy RPG](https://www.basicfantasy.org/) system for FoundryVTT. Please also see the [companion compendium module](https://github.com/Stew-rt/basicfantasyrpg-corerules-en), which contains items, spells, monsters etc. for easy use with the system.

## Installation

Expand Down
4 changes: 2 additions & 2 deletions module/documents/actor.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export class BasicFantasyRPGActor extends Actor {
* Prepare character roll data.
*/
_getCharacterRollData(data) {
if (this.system.type !== 'character') return;
if (this.type !== 'character') return;

// Copy the ability scores to the top level, so that rolls can use
// formulas like `@str.bonus + 4`.
Expand All @@ -179,7 +179,7 @@ export class BasicFantasyRPGActor extends Actor {
* Prepare NPC roll data.
*/
_getMonsterRollData(data) {
if (this.system.type !== 'monster') return;
if (this.type !== 'monster') return;

// Process additional NPC data here.

Expand Down
4 changes: 2 additions & 2 deletions system.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": "basicfantasyrpg",
"title": "Basic Fantasy RPG",
"description": "The Basic Fantasy RPG system for FoundryVTT!",
"version": "r8",
"version": "r9",
"compatibility": {
"minimum": "10",
"verified": "10",
Expand Down Expand Up @@ -32,6 +32,6 @@
"secondaryTokenAttribute": null,
"url": "https://github.com/orffen/basicfantasyrpg",
"manifest": "https://raw.githubusercontent.com/orffen/basicfantasyrpg/main/system.json",
"download": "https://github.com/orffen/basicfantasyrpg/archive/refs/tags/r8.zip",
"download": "https://github.com/orffen/basicfantasyrpg/archive/refs/tags/r9.zip",
"license": "LICENSE.txt"
}

0 comments on commit a1a886b

Please sign in to comment.