forked from public/foundryvtt-reve-de-dragon
Garder trace du vendeur
This commit is contained in:
@ -150,7 +150,9 @@ export class RdDItem extends Item {
|
||||
let chatData = duplicate(Misc.data(this));
|
||||
const properties = this[`_${chatData.type}ChatData`]();
|
||||
chatData["properties"] = properties
|
||||
|
||||
if (this.actor){
|
||||
chatData.actor = {id: this.actor.id };
|
||||
}
|
||||
//Check if the posted item should have availability/pay buttons
|
||||
chatData.hasPrice = "cout" in chatData.data;
|
||||
chatData.data.cout_deniers = 0;
|
||||
|
Reference in New Issue
Block a user