mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-09-04 14:12:28 +00:00
Merge pull request #14224 from mrianmerry/pta3/fix/skill-updates
[PokemonTabletopAdventures_v3] Bug Fix: Corrects attribute names and default values
This commit is contained in:
@@ -1048,9 +1048,9 @@
|
||||
<select class="sheet-no-dropdown" name="attr_engineering_ability_mod" title="Select the attribute you want to use for Engineering/Operation.">
|
||||
<option value="ATK">Attack</option>
|
||||
<option value="DEF">Defense</option>
|
||||
<option value="SPATK">Special Attack</option>
|
||||
<option selected value="SPATK">Special Attack</option>
|
||||
<option value="SPDEF">Special Defense</option>
|
||||
<option selected value="SPD">Speed</option>
|
||||
<option value="SPD">Speed</option>
|
||||
</select>
|
||||
<b class="sheet-info-tooltip" title="Select the attribute you want to use for Engineering/Operation."> ℹ </b>
|
||||
</span>
|
||||
@@ -4962,9 +4962,9 @@ const skillOptionsFlags = [
|
||||
});
|
||||
|
||||
// Sleight of Hand
|
||||
on(`${cMods} change:sleight_ability_mod change:sleightofhandtalent1 change:sleightofhandtalent2 change:sleightofhand sheet:opened`, function (event) {
|
||||
getAttrs(["sleight_ability_mod"], function (mod) {
|
||||
const abiMod = `${mod.sleight_ability_mod}MOD`;
|
||||
on(`${cMods} change:sleightofhand_ability_mod change:sleightofhandtalent1 change:sleightofhandtalent2 change:sleightofhand sheet:opened`, function (event) {
|
||||
getAttrs(["sleightofhand_ability_mod"], function (mod) {
|
||||
const abiMod = `${mod.sleightofhand_ability_mod}MOD`;
|
||||
const source = event.sourceAttribute;
|
||||
if (source && abilities.includes(source.toUpperCase()) && source.toUpperCase() != abiMod) return;
|
||||
getSkillAttributes(abiMod, "sleightofhandtalent1", "sleightofhandtalent2", "sleightofhand", "sleightofhand_total");
|
||||
|
||||
@@ -23,6 +23,11 @@ Things we want to add to the character sheet, presented in no particular order o
|
||||
|
||||
## Changelog
|
||||
|
||||
### Jul 26, 2025
|
||||
- Resolved a few niggling issue with skills
|
||||
- Sleight of Hand had a mismatch in attribute name for the selected ability modifier
|
||||
- Engineering had the wrong value in the selected attribute drop-down selected by default
|
||||
|
||||
### Jul 20, 2025
|
||||
- Added Collapse/Expand button for all skills, so a single click closes/opens them all
|
||||
- Added collapsing section for giving held items a description to prevent continuous cross-referencing
|
||||
|
||||
Reference in New Issue
Block a user