Passage v12
This commit is contained in:
parent
4f69d3cf78
commit
26e8853a94
@ -177,7 +177,7 @@ export class RdDItem extends Item {
|
|||||||
|
|
||||||
constructor(docData, context = {}) {
|
constructor(docData, context = {}) {
|
||||||
if (!context.rdd?.ready) {
|
if (!context.rdd?.ready) {
|
||||||
mergeObject(context, { rdd: { ready: true } });
|
foundry.utils.mergeObject(context, { rdd: { ready: true } });
|
||||||
const ItemConstructor = game.system.rdd.itemClasses[docData.type];
|
const ItemConstructor = game.system.rdd.itemClasses[docData.type];
|
||||||
if (ItemConstructor) {
|
if (ItemConstructor) {
|
||||||
if (!docData.img) {
|
if (!docData.img) {
|
||||||
|
@ -65,7 +65,7 @@ export class StatusEffects extends FormApplication {
|
|||||||
|
|
||||||
static valeurSurprise(effect, isCombat) {
|
static valeurSurprise(effect, isCombat) {
|
||||||
if (statusSurpriseTotale.intersects(effect.statuses)) {
|
if (statusSurpriseTotale.intersects(effect.statuses)) {
|
||||||
return 2;
|
return 2
|
||||||
}
|
}
|
||||||
if (statusDemiSurprise.intersects(effect.statuses)) {
|
if (statusDemiSurprise.intersects(effect.statuses)) {
|
||||||
return 1
|
return 1
|
||||||
@ -110,7 +110,7 @@ export class StatusEffects extends FormApplication {
|
|||||||
|
|
||||||
static get defaultOptions() {
|
static get defaultOptions() {
|
||||||
const options = super.defaultOptions;
|
const options = super.defaultOptions;
|
||||||
mergeObject(options, {
|
foundry.utils.mergeObject(options, {
|
||||||
id: "status-effects",
|
id: "status-effects",
|
||||||
template: "systems/foundryvtt-reve-de-dragon/templates/settings/status-effects.html",
|
template: "systems/foundryvtt-reve-de-dragon/templates/settings/status-effects.html",
|
||||||
height: 800,
|
height: 800,
|
||||||
|
Loading…
Reference in New Issue
Block a user