Added some text for 20Q 2dn dice

Minors fixes
This commit is contained in:
Vlyan
2021-01-05 18:51:04 +01:00
parent 6ef4dd3bde
commit c474015e5c
6 changed files with 7 additions and 12 deletions

View File

@@ -239,14 +239,6 @@ export class TwentyQuestionsDialog extends FormApplication {
// School Ability
if (stepKey === "step3.school_ability") {
if (item.data.data.technique_type !== "school_ability") {
console.warn("This technique is not a school ability");
return;
}
if (
Array.from(this.actor.items).some(
(e) => e.type === "technique" && e.data.data.technique_type === "school_ability"
)
) {
console.warn("This technique is not a school ability", item.data.data.technique_type);
return;
}