Add new Compendium
This commit is contained in:
parent
e17e01f7e8
commit
a873ff92d0
@ -470,6 +470,12 @@ export class RdDActor extends Actor {
|
|||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
async rollSort( sortID )
|
async rollSort( sortID )
|
||||||
{
|
{
|
||||||
|
if (this.data.data.carac.reve.value <= 1 ) {
|
||||||
|
ChatMessage.create( { title: "Montée impossible !", content: "Vous n'avez plus assez de Points de Reve pour monter dans les Terres Médianes",
|
||||||
|
whisper: ChatMessage.getWhisperRecipients(game.user.name) } );
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
console.log("Loading TMR template!!!");
|
console.log("Loading TMR template!!!");
|
||||||
let data = {
|
let data = {
|
||||||
fatigueHTML:"<table class='table-fatigue'>" + RdDUtility.makeHTMLfatigueMatrix( this.data.data.sante.fatigue.value, this.data.data.sante.endurance.max ).html() + "</table>",
|
fatigueHTML:"<table class='table-fatigue'>" + RdDUtility.makeHTMLfatigueMatrix( this.data.data.sante.fatigue.value, this.data.data.sante.endurance.max ).html() + "</table>",
|
||||||
|
Loading…
Reference in New Issue
Block a user