Skip to content

Commit

Permalink
Merge pull request #13444 from nashidau/master
Browse files Browse the repository at this point in the history
RolemasterUnified Official: Fix dependances for new skills
  • Loading branch information
NorWhal authored Oct 24, 2024
2 parents 765d3f7 + 9a03bea commit 916c7de
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
23 changes: 22 additions & 1 deletion RolemasterUnified_Official/rolemasterunified.html
Original file line number Diff line number Diff line change
Expand Up @@ -7768,6 +7768,27 @@ <h3>Custom Spell List</h3>
onCheck(`clicked:repeating_specializationriding:rollskilldirectmod`, (ev) => {
const basename = ev.sourceAttribute.replace(/_rollskilldirect\d*$/, "");
RMUSkills.startSkillRoll(basename, true);
}); onCheck(`clicked:repeating_specializationbattlestyle:rollskilldirect`, (ev) => {
const basename = ev.sourceAttribute.replace(/_rollskilldirect\d*$/, "");
RMUSkills.startSkillRoll(basename);
});
onCheck(`clicked:repeating_specializationbattlestyle:rollskilldirectmod`, (ev) => {
const basename = ev.sourceAttribute.replace(/_rollskilldirect\d*$/, "");
RMUSkills.startSkillRoll(basename, true);
}); onCheck(`clicked:repeating_specializationdisciplinestyle:rollskilldirect`, (ev) => {
const basename = ev.sourceAttribute.replace(/_rollskilldirect\d*$/, "");
RMUSkills.startSkillRoll(basename);
});
onCheck(`clicked:repeating_specializationdisciplinestyle:rollskilldirectmod`, (ev) => {
const basename = ev.sourceAttribute.replace(/_rollskilldirect\d*$/, "");
RMUSkills.startSkillRoll(basename, true);
}); onCheck(`clicked:repeating_specializationcombatstyle:rollskilldirect`, (ev) => {
const basename = ev.sourceAttribute.replace(/_rollskilldirect\d*$/, "");
RMUSkills.startSkillRoll(basename);
});
onCheck(`clicked:repeating_specializationcombatstyle:rollskilldirectmod`, (ev) => {
const basename = ev.sourceAttribute.replace(/_rollskilldirect\d*$/, "");
RMUSkills.startSkillRoll(basename, true);
}); onCheck(`clicked:repeating_specializationpiloting:rollskilldirect`, (ev) => {
const basename = ev.sourceAttribute.replace(/_rollskilldirect\d*$/, "");
RMUSkills.startSkillRoll(basename);
Expand Down Expand Up @@ -12490,7 +12511,7 @@ <h3>Custom Spell List</h3>

/**/

onCheck("clicked:repeating_specializationanimalhandling:editskillspecialization clicked:repeating_specializationriding:editskillspecialization clicked:repeating_specializationpiloting:editskillspecialization clicked:repeating_specializationhistoriclore:editskillspecialization clicked:repeating_specializationlanguage:editskillspecialization clicked:repeating_specializationraciallore:editskillspecialization clicked:repeating_specializationregionlore:editskillspecialization clicked:repeating_specializationreligionphilosophy:editskillspecialization clicked:repeating_specializationgrace:editskillspecialization clicked:repeating_specializationspelltrickery:editskillspecialization clicked:repeating_specializationmusic:editskillspecialization", (ev) => {
onCheck("clicked:repeating_specializationanimalhandling:editskillspecialization clicked:repeating_specializationriding:editskillspecialization clicked:repeating_specializationbattlestyle:editskillspecialization clicked:repeating_specializationdisciplinestyle:editskillspecialization clicked:repeating_specializationcombatstyle:editskillspecialization clicked:repeating_specializationpiloting:editskillspecialization clicked:repeating_specializationhistoriclore:editskillspecialization clicked:repeating_specializationlanguage:editskillspecialization clicked:repeating_specializationraciallore:editskillspecialization clicked:repeating_specializationregionlore:editskillspecialization clicked:repeating_specializationreligionphilosophy:editskillspecialization clicked:repeating_specializationgrace:editskillspecialization clicked:repeating_specializationspelltrickery:editskillspecialization clicked:repeating_specializationmusic:editskillspecialization", (ev) => {
Edit.clearSections();
const basename = ev.sourceAttribute.replace("_editskillspecialization", "");
getAttrsPending([`${basename}_name`], (bn) => {
Expand Down
2 changes: 1 addition & 1 deletion RolemasterUnified_Official/sheet.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"legacy": false,
"printable": true,
"compendium": "RMU",
"version": "1729610352"
"version": "1729631096"
}

0 comments on commit 916c7de

Please sign in to comment.