Added Mantra technique type

This commit is contained in:
Vlyan
2021-10-29 19:37:26 +02:00
parent 29da334d27
commit e2e6e18a13
15 changed files with 45 additions and 5 deletions

View File

@@ -85,6 +85,7 @@ export class TwentyQuestions {
shuji: false,
maho: false,
ninjutsu: false,
mantra: false,
specificity: true,
},
techniques: [],
@@ -214,6 +215,7 @@ export class TwentyQuestions {
this.data.step3.allowed_techniques.shuji = actorDatas.techniques.shuji;
this.data.step3.allowed_techniques.maho = actorDatas.techniques.maho;
this.data.step3.allowed_techniques.ninjutsu = actorDatas.techniques.ninjutsu;
this.data.step3.allowed_techniques.mantra = actorDatas.techniques.mantra;
this.data.step5.social_giri = actorDatas.social.giri;
this.data.step6.social_ninjo = actorDatas.social.ninjo;
this.data.step8.tenet_paramount = actorDatas.social.bushido_tenets.paramount;
@@ -276,6 +278,7 @@ export class TwentyQuestions {
shuji: !!formData.step3.allowed_techniques.shuji,
maho: !!formData.step3.allowed_techniques.maho,
ninjutsu: !!formData.step3.allowed_techniques.ninjutsu,
mantra: !!formData.step3.allowed_techniques.mantra,
};
// Rings - Reset to 1, and apply modifiers

View File

@@ -34,6 +34,7 @@ L5R5E.techniques.set("ritual", { type: "core", displayInTypes: true });
L5R5E.techniques.set("shuji", { type: "core", displayInTypes: true });
L5R5E.techniques.set("maho", { type: "core", displayInTypes: true });
L5R5E.techniques.set("ninjutsu", { type: "core", displayInTypes: true });
L5R5E.techniques.set("mantra", { type: "core", displayInTypes: true });
// School
L5R5E.techniques.set("school_ability", { type: "school", displayInTypes: false });
L5R5E.techniques.set("mastery_ability", { type: "school", displayInTypes: false });

View File

@@ -267,6 +267,7 @@ export class HelpersL5r5e {
core.set("Kat", "l5r5e.core-techniques-kata");
core.set("Kih", "l5r5e.core-techniques-kiho");
core.set("Mah", "l5r5e.core-techniques-maho");
core.set("Man", "l5r5e.core-techniques-mantra");
core.set("Mas", "l5r5e.core-techniques-mastery");
core.set("Nin", "l5r5e.core-techniques-ninjutsu");
core.set("Rit", "l5r5e.core-techniques-rituals");