Added Mantra technique type
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 });
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user