-Added PoW Name Tables compendium
-Fixed roll for RollTable not showing the text
This commit is contained in:
@@ -4,7 +4,9 @@
|
|||||||
- Replaced moving description in items by a big popup on hover.
|
- Replaced moving description in items by a big popup on hover.
|
||||||
- Added English/French Journal Compendiums for Conditions and Terrain Qualities (thanks to TesserWract).
|
- Added English/French Journal Compendiums for Conditions and Terrain Qualities (thanks to TesserWract).
|
||||||
- Added FoV Terrain Compendium.
|
- Added FoV Terrain Compendium.
|
||||||
|
- Added PoW Name Tables compendium : Qamarist Names, Ivory Kingdoms Names, Rokugani Names and Ujik Names.
|
||||||
- Fixed school compendium: "Kuni Warden School" from "Scorpion" to "Crab".
|
- Fixed school compendium: "Kuni Warden School" from "Scorpion" to "Crab".
|
||||||
|
- Fixed roll for RollTable not showing the text
|
||||||
|
|
||||||
## 1.3.1 - Empty Sheet Scholar Helper
|
## 1.3.1 - Empty Sheet Scholar Helper
|
||||||
- Added English/French Journal Compendiums for School Curriculums.
|
- Added English/French Journal Compendiums for School Curriculums.
|
||||||
|
|||||||
4
system/packs/pow-name-tables.db
Normal file
4
system/packs/pow-name-tables.db
Normal file
File diff suppressed because one or more lines are too long
@@ -254,7 +254,7 @@ export class RollL5r5e extends Roll {
|
|||||||
// Define chat data
|
// Define chat data
|
||||||
const chatData = {
|
const chatData = {
|
||||||
formula: isPrivate ? "???" : this._formula,
|
formula: isPrivate ? "???" : this._formula,
|
||||||
flavor: isPrivate ? null : chatOptions.flavor,
|
flavor: isPrivate ? null : chatOptions.flavor || this.options.flavor,
|
||||||
user: chatOptions.user,
|
user: chatOptions.user,
|
||||||
isPublicRoll: !isPrivate,
|
isPublicRoll: !isPrivate,
|
||||||
tooltip: isPrivate ? "" : await this.getTooltip({ from: "render" }),
|
tooltip: isPrivate ? "" : await this.getTooltip({ from: "render" }),
|
||||||
|
|||||||
@@ -78,8 +78,15 @@ export default class HooksL5r5e {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// So now we have our wrong message only, redo it using the roll
|
// Get the roll object
|
||||||
const roll = game.l5r5e.RollL5r5e.fromJSON(document.data.roll);
|
const roll = game.l5r5e.RollL5r5e.fromJSON(document.data.roll);
|
||||||
|
|
||||||
|
// Ignore non l5r roll (std or table)
|
||||||
|
if (!roll.l5r5e?.dicesTypes?.l5r) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// So now we have our wrong message only, redo it using the roll
|
||||||
roll.toMessage();
|
roll.toMessage();
|
||||||
|
|
||||||
// Return false to let the system known we handled this
|
// Return false to let the system known we handled this
|
||||||
|
|||||||
@@ -210,6 +210,13 @@
|
|||||||
"path": "packs/great-clans-presentation.db",
|
"path": "packs/great-clans-presentation.db",
|
||||||
"entity": "JournalEntry",
|
"entity": "JournalEntry",
|
||||||
"system": "l5r5e"
|
"system": "l5r5e"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "pow-name-tables",
|
||||||
|
"label": "Name Tables",
|
||||||
|
"path": "packs/pow-name-tables.db",
|
||||||
|
"entity": "RollTable",
|
||||||
|
"system": "l5r5e"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"languages": [
|
"languages": [
|
||||||
|
|||||||
Reference in New Issue
Block a user