/exp uniquement sur personnage et messages XP uniquement pour MJ
This commit is contained in:
parent
b02ac1e7e1
commit
b548d95203
@ -2077,7 +2077,7 @@ export class RdDActor extends Actor {
|
||||
xp: carac.xp
|
||||
}
|
||||
if (display) {
|
||||
ChatUtility.createChatMessage(this.name, "default", {
|
||||
ChatUtility.createChatWithRollMode(this.name, {
|
||||
content: await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/chat-actor-carac-xp.html`, checkXp)
|
||||
});
|
||||
}
|
||||
@ -2108,7 +2108,7 @@ export class RdDActor extends Actor {
|
||||
archetypeWarning: newCompData.data.niveau > compData.data.niveau_archetype
|
||||
}
|
||||
if (display) {
|
||||
ChatUtility.createChatMessage(this.name, "default", {
|
||||
ChatUtility.createChatWithRollMode(this.name, {
|
||||
content: await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/chat-actor-competence-xp.html`, checkXp)
|
||||
});
|
||||
}
|
||||
|
@ -894,7 +894,7 @@ export class RdDUtility {
|
||||
}
|
||||
if (nomJoueur == undefined) {
|
||||
for (let actor of game.actors) {
|
||||
if (actor.hasPlayerOwner) {
|
||||
if (actor.hasPlayerOwner && actor.isPersonnage() ) {
|
||||
actor.addCompteurValue('stress', stressValue, raison);
|
||||
ui.notifications.info(`${actor.name} a reçu ${stressValue} points de Stress (raison : ${raison})`);
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
"name": "foundryvtt-reve-de-dragon",
|
||||
"title": "Rêve de Dragon",
|
||||
"description": "Rêve de Dragon RPG for FoundryVTT",
|
||||
"version": "1.4.35",
|
||||
"version": "1.4.36",
|
||||
"manifestPlusVersion": "1.0.0",
|
||||
"minimumCoreVersion": "0.8.0",
|
||||
"compatibleCoreVersion": "0.8.99",
|
||||
|
@ -2,6 +2,6 @@
|
||||
<option value="Barque"> Barque</option>
|
||||
<option value="Chariot">Charette/Chariot</option>
|
||||
<option value="Carosse">Carosse</option>
|
||||
<option value="Cariole à Bras">Cariole à bras</option>
|
||||
<option value="Autre">Maison</option>
|
||||
<option value="Cariole à Bras">Cariole à Bras</option>
|
||||
<option value="Maison">Maison</option>
|
||||
<option value="Autre">Autre</option>
|
||||
|
Loading…
Reference in New Issue
Block a user