Some automatisations on advancements

Added xp cost for technique
This commit is contained in:
Vlyan
2020-12-27 12:19:43 +01:00
parent 65be83dc14
commit c874caec1a
14 changed files with 200 additions and 44 deletions

View File

@@ -138,7 +138,7 @@ export class TwentyQuestionsDialog extends FormApplication {
}
const stepKey = $(event.target).data("step");
if (!stepKey) {
console.log("event stepKey is undefined");
console.warn("event stepKey is undefined");
return;
}
@@ -151,7 +151,7 @@ export class TwentyQuestionsDialog extends FormApplication {
(type !== "item" && item.data.type !== type) ||
(type === "item" && !["item", "weapon", "armor"].includes(item.data.type))
) {
console.log("forbidden item for this drop zone", type, item.data.type);
console.warn("forbidden item for this drop zone", type, item.data.type);
return;
}
// Add the item (step and cache)