Passage v12

This commit is contained in:
Vincent Vandemeulebrouck 2024-05-26 22:16:42 +02:00
parent 4f69d3cf78
commit 26e8853a94
2 changed files with 3 additions and 3 deletions

View File

@ -177,7 +177,7 @@ export class RdDItem extends Item {
constructor(docData, context = {}) {
if (!context.rdd?.ready) {
mergeObject(context, { rdd: { ready: true } });
foundry.utils.mergeObject(context, { rdd: { ready: true } });
const ItemConstructor = game.system.rdd.itemClasses[docData.type];
if (ItemConstructor) {
if (!docData.img) {

View File

@ -65,7 +65,7 @@ export class StatusEffects extends FormApplication {
static valeurSurprise(effect, isCombat) {
if (statusSurpriseTotale.intersects(effect.statuses)) {
return 2;
return 2
}
if (statusDemiSurprise.intersects(effect.statuses)) {
return 1
@ -110,7 +110,7 @@ export class StatusEffects extends FormApplication {
static get defaultOptions() {
const options = super.defaultOptions;
mergeObject(options, {
foundry.utils.mergeObject(options, {
id: "status-effects",
template: "systems/foundryvtt-reve-de-dragon/templates/settings/status-effects.html",
height: 800,