diff --git a/RolemasterUnified_Official/rolemasterunified.html b/RolemasterUnified_Official/rolemasterunified.html
index 1c02ff1b5381..5a22a538724d 100644
--- a/RolemasterUnified_Official/rolemasterunified.html
+++ b/RolemasterUnified_Official/rolemasterunified.html
@@ -302,7 +302,7 @@
Power Level
- Next
+ Next (Race & Culture)
@@ -347,7 +347,7 @@ Race and Culture
-Next
+Next (Profession)
@@ -385,11 +385,17 @@ Profession
-Back
-Next
+Back (Race & Culture)
+Next (Baselists)
+
+
+Back (Profession)
+Next (Stats)
+
+
@@ -663,8 +669,8 @@
Swap Stats
-Back
-Next
+Back (Baselists)
+Next (Knacks)
@@ -900,8 +906,8 @@ Weapon Skills
-Back
-Next
+Back (Stats)
+Next (Culture Ranks)
@@ -1033,7 +1039,7 @@ Language Ranks
-Back (Culture)
+Back (Culture Ranks)
Finish
@@ -3113,7 +3119,7 @@ Skills
-
+j
y
Riding • pr &
@@ -3128,7 +3134,7 @@ Skills
-
+j
@@ -3171,7 +3177,7 @@ Skills
-
+j
y
@@ -3256,7 +3262,7 @@ Skills
-
+j
@@ -3313,7 +3319,7 @@ Skills
-
+j
y
@@ -3353,7 +3359,7 @@ Skills
@@ -3415,7 +3421,7 @@
Skills
@@ -3463,7 +3469,7 @@
Skills
@@ -3668,12 +3674,12 @@
Skills
-
+
j
@@ -3812,7 +3818,7 @@
Skills
@@ -3856,7 +3862,7 @@
Skills
-
+
j
y
Language • re &
@@ -3871,12 +3877,12 @@ Skills
-
+
j
@@ -3934,7 +3940,7 @@
Skills
-
+j
y
Region Lore • re &
@@ -3949,7 +3955,7 @@ Skills
-
+j
y
Religion/Philosophy • re &
@@ -3964,7 +3970,7 @@ Skills
-
+j
y
@@ -3993,7 +3999,7 @@ Skills
-
+j
y
Spell Trickery • &
@@ -4008,7 +4014,7 @@ Skills
-
+j
y
@@ -4135,7 +4141,7 @@ Skills
-
+j
y
@@ -4161,7 +4167,7 @@ Skills
@@ -4244,7 +4250,7 @@
Skills
@@ -4299,7 +4305,7 @@
Skills
@@ -4368,7 +4374,7 @@
Skills
@@ -4444,7 +4450,7 @@
Skills
@@ -4488,7 +4494,7 @@
Skills
-
+
j
y
Service • pr &
@@ -4503,7 +4509,7 @@ Skills
-
+
j
y
Trade • re &
@@ -4518,7 +4524,7 @@ Skills
-
+
j
@@ -5300,7 +5306,7 @@ Custom Spell List
-Revision 9e5e254016013da0f39cba6ba309697eb353a2ce
+Revision 163d394d6154b2284a7ac62c3e0f702660786091
@@ -7022,17 +7028,22 @@ Custom Spell List
return [bonus, ranks, slog];
}
+ // My best bonus updates are little different.
function updateSpecializations(skill, pbonus, catbonus, log) {
skill.specializations.forEach((spec) => {
+ let bestbonus = -100;
const aname = spec.aname;
getAttrs([aname + "_ranks_misc", aname + "_misc"], (attrs) => {
let [bonus, ranks, slog] = calculateSpecBonus(skill, attrs[aname + '_ranks_misc'],
attrs[aname + '_misc'], spec.stat, pbonus, catbonus, log);
-
let update = {[aname + "_bonus"]: bonus, [aname + "_info"]: slog};
if (ranks > 0) {
update[aname + "_ranks"] = ranks;
}
+ if ((bonus - 25) > bestbonus) {
+ bestbonus = bonus - 25;
+ update[skill.aname + '_bonus'] = bestbonus;
+ }
setAttrs(update);
});
});
@@ -7053,7 +7064,6 @@ Custom Spell List
let name = "No skill";
bestbonus -= 25;
- console.log("Setting", {[`${skill.aname}_bonus`]: bestbonus})
setAttrsPending({[`${skill.aname}_bonus`]: bestbonus})
});
@@ -7094,8 +7104,6 @@ Custom Spell List
return skill.dynamicspecializations + ' ' + String.fromCharCode(65 + index);
}
- // Calculate the list of dynamic specializations:
-
on('clicked:specializationsave', ev => {
getAttrs(['specialization_change_aname', 'specialization_change_index',
'specialization_change_name'], data => {
@@ -12253,7 +12261,7 @@ Custom Spell List
/**/
-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) => {
+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 clicked:repeating_specializationadministration:editskillspecialization clicked:repeating_specializationservice:editskillspecialization clicked:repeating_specializationtrade:editskillspecialization", (ev) => {
Edit.clearSections();
const basename = ev.sourceAttribute.replace("_editskillspecialization", "");
getAttrsPending([`${basename}_name`], (bn) => {
@@ -14703,6 +14711,11 @@ Custom Spell List
version = 5;
}
+ if (version == 5) {
+ addPendingFunction("Force skill update from missing update in 5", RMUSkills.updateAllSkills);
+ version = 6;
+ }
+
if (oldversion != version) {
addPendingFunction(`Version update to ${version}`, () => {
setAttrsPending({version: version});
diff --git a/RolemasterUnified_Official/sheet.json b/RolemasterUnified_Official/sheet.json
index de5824dccad4..ee11cb9c47c3 100644
--- a/RolemasterUnified_Official/sheet.json
+++ b/RolemasterUnified_Official/sheet.json
@@ -8,5 +8,5 @@
"legacy": false,
"printable": true,
"compendium": "RMU",
- "version": "1730770844"
+ "version": "1730910133"
}
diff --git a/RolemasterUnified_Official/updates.md b/RolemasterUnified_Official/updates.md
index c98b96d30b2f..51f0cac42b94 100644
--- a/RolemasterUnified_Official/updates.md
+++ b/RolemasterUnified_Official/updates.md
@@ -1,3 +1,13 @@
+# 2024-11-7
+
+- Sheet version to 6. Funny how lots happen at once.
+- Force a skill recalculation after update.
+- Fix dependancy issue in edit.js: It depends on the skill list. Can now edit dynamic specialisations for
+the new vocational skills.
+- Remove some dead code in skills.
+- Update similar skills modifier for fixed specialisations.
+- Make roll button for dynamic specialisations actually visible. 0 width buttons are really hard to see and click.
+
# 2024-11-5
- Bump sheet version to 5