Commit Graph
59 Commits
Author SHA1 Message Date
Ian Merryweather 1d23e288e5 fix: Resolves mislabelling of capture rolls
- Updates skill and inline-skill roll templates to determine which label to show
- Adds new attribute to track numeric value of the show skill roll flag for captures
2025-10-06 12:39:02 +01:00
Ian Merryweather bc8e5d832b fix: Resolves issue with capture skill check
- Updates skill roll formula when turning skill checks on or off to correctly add the ball modifier
- _Slightly_ optimises the capture modifier calculation by not recursively calling it
- Adds call to the capture modifier calculation to update the displayed values when changin the default custom modifier
2025-10-06 11:59:41 +01:00
Ian Merryweather 3aef924007 fix: Correctly adds all ball modifiers
- Ensures the ball capture modifier is added to the d100 roll every time
2025-08-16 20:34:00 +01:00
Ian Merryweather 30fa6fa786 fix: Corrects attribute names and default values
- Corrects default selected value for Engineering ability mod dropdown
- Corrects spelling of Sleight of Hand ability mod in scripts to match definitions in html
2025-07-26 01:14:18 +01:00
Ian Merryweather 06ab60ce12 feat: Adds more skill controls
- Adds a button to collapse and expand all skills when the skills section is expanded
  - Adds action scripts for setting all the flag attributes to on or off
- Updates the dark mode colours for the hovered skill buttons and skill totals to have a better contrast value for accessibility
- Adds skill talents visible in the skill roller buttons as pips
  - Colours them in based on talent selection
- Adds default value off for each talent so new characters will have less setting up to do
- Adds collapsing section for giving the held item a description
- Moves hybrid character credits over to maintain visual balance
- Moves the pokeball selection select out of the configuration section
- Removes unnecessary element selectors
2025-07-22 16:18:52 +01:00
Ian Merryweather 25ae380a14 refactor: Updates skills for trainers
- Adds collapsible section for skills
- Adds collapsible skills
  - Adds collapsing functionality to skills section as a whole
  - Adds new design for the skills in the trainer sheet
    - Adds collapsing functionality to individual skills
    - Consolidates individual skill configuration into the character page
  - Fixes bug with skills not updating the roll template colour based on the attribute selected to roll for that skill
- Updates capture pokemon to new skill visuals
  - Updates visuals of the capture pokemon field to match the new skill visuals
  - Updates configuration of the capture pokemon field to surface the selected pokeball name
  - Displays the selected pokeball in the capture pokemon button to indicate which is used when collapsed
  - Updates the calculation of the modifier to parse in the custom ball value if the default is a number
  - Updates the total field to indicate the current total capture modifier instead of the skill bonus
  - Adds a configuration option to not make the skill roll to hit a target pokémon
  - Adds the selected ball to the capture roll title for easy checking after an attempt is thrown
- Removes the now-unnecessary skill attribute selection from the configuration page
- Resolves bug with trainer stats and natures
  - Resolves a bug where trainer stats would be affected by a selected nature if the character sheet has any pokémon configuration
  - Adds a sheet-worker to recalculate the stats when the character-type is changed
2025-07-14 09:30:52 +01:00
Ian Merryweather 29f385797a chore: Reinstates legacy move frequency 2025-06-28 04:12:28 +01:00
Ian Merryweather 8fe4a4def3 chore: Updates move frequency to match rule update
- Updates the 1/combat move frequency option to 2/combat to match the rulebook
2025-05-11 00:30:02 +01:00
Ian Merryweather 2c4a94e278 feat: Adds range label text to templates
- Adds a range label to move roll templates to enable easier recognition of the range of used moves
2025-04-13 18:13:15 +01:00
Ian Merryweather de704a13dc feat: Adds advanced class level field
- Ensures mobile shows the level field beneath the advanced class field
- Ensures desktop shows the field in-line with advanced class
2025-01-28 18:40:31 +00:00
Ian Merryweather bb973a376c fix: Resolves issue with repeating sections
- Adds a z-index value to the edit-mode item controls to ensure it is displayed above the repeating sections
2025-01-18 21:26:01 +00:00
Ian Merryweather 1c246f75d1 fix: Removes scrollbars from sections 2024-11-27 18:20:46 +00:00
Ian Merryweather 83747c98a3 chore: Updates readme 2024-11-22 11:34:08 +00:00
Ian Merryweather 923e74b5cc feat: Converts stat and avatar to collapsible area
- Shows the stats without the avatar when collapsed and the avatar and stats when expanded
- Refactors non-repeating section attribute changes to use a single function
- Resolves small issue with mobile companion overflow
2024-04-10 15:21:13 +01:00
Ian Merryweather e68bccdb70 feat: Adds new pta3 sheet features
- Allows collapsing class features
  - Wraps the repeating class features fieldset in a collapsing feature-style block to hide when not desired
    - (Comes with a bunch of indentation changes, so sorry for the larger-than-necessary diff)
  - Duplicates the flag change scripts to change 'on' and 'off' to '-' and '+'
  - Adds CSS rules to support the feature container options flag being on the right and always shown
  - Improves visibility of section headers
  - Updates the collapsing feature options flag CSS selectors to use child combinators
  - Updates README to have collapsible 2023 changes
- Adds space for showing the character avatar
  - Adds a div and img to pull in the character sheet avatar and show it in the character sheet tab
  - Updates the character stats grid to use a 3-column layout
    - Tweaks the CSS to look nicer
  - Resolves layout issues with stat grid headers in the mobile app
2024-04-06 00:29:14 +01:00
Ian Merryweather 37756b1d35 feat: PTA3 - Adds advanced class to hybrid character details 2023-09-23 18:54:43 +01:00
Adam Talbot 8b3b5e7fdf Add Readme changes 2023-02-22 21:34:06 -05:00
Ian Merryweather ee953bb7c8 chore: Adds collapsible yearly sections for changelog 2023-02-15 09:20:35 +00:00
Ian Merryweather b13b6561d3 chore: Adds changes to the readme 2023-02-15 08:27:46 +00:00
Ian Merryweather 195010c5e3 chore: Updates readme and snapshot
- Updates the character sheet preview image to showcase the light and dark mode differences as well as the new multi-colour class features
2022-08-12 11:25:25 +01:00
Ian Merryweather 7e54ebba72 feat: Adds some explanation text to theh config page
- Adds some padding and a border radius to the config page text background fields as well
2022-05-25 13:47:12 +01:00
Ian Merryweather 20cb385966 feat: PTA3 default updates
- Updates the default page for PTA3 character sheets to the configuration page
- Updates the default character type to pokemon rather than trainer as the more commonly used type
- Updates the default tie breaker initiative to allow a full range of decimal values
- Updates the default type selection for new moves to typeless
- Resolves an issue where pokemon- and hybrid-type characters were showing "Normal" for their primary type instead of "Typeless" if it was not updated
  - Issue was graphical only; characters were still treated as typeless
2022-05-12 13:36:58 +01:00
Adam Talbot 34bad49723 PTA3 - VTTES support 2022-05-07 23:54:33 -04:00
Adam Talbot 08515b0e88 New and improved version of dark mode 2022-03-27 19:12:47 -04:00
Adam Talbot 3ff5f305cd Mobile support, dark mode, and refactoring, oh my! 2022-03-12 19:19:14 -05:00
Adam Talbot 58cee6d0b2 Set legacy to false, update css to handle 2022-02-26 16:37:23 -05:00
Ian Merryweather 4310415b68 feat: Adds level tracker to hybrid characters 2021-07-17 19:24:15 +01:00
Ian Merryweather ecc42d8513 fix: Ensured effectiveness row is hidden
- Added the effectiveness-roll parameter to the quick roll move template values
2021-07-01 14:42:08 +01:00
Ian Merryweather 319c37b44f chore: Updates config option descriptions
- Corrects the initiative tie breaker config description, as the attribute is now used by the sheet
- Provides cleaner wording, and an example, for the skill modifier selection
- Allows hiding the accuracy field when building a customised move roll template
2021-06-22 02:44:26 +01:00
Adam Talbot 739f9ccecc PTA3 Update README 2021-04-11 17:53:28 -04:00
Adam Talbot 124dcaec21 PTA3 - Autoinitiative, status boxes, and more 2021-03-21 16:34:10 -04:00
Adam Talbot 32aafd1d2b PTA3 - Massive stat overhaul and auto-calc some more things 2021-03-07 22:12:09 -05:00
Ian Merryweather dcc681dedd chore: Adding more to-do entries
- Adds missing sheet-worker script for repeating features options flag management
2021-02-24 10:54:16 +00:00
Ian Merryweather f26ba7d841 feature: Makes class features collapsible
- Updates text area and number input backgrounds to use the type-variable text background colour
- Updates number inputs to use bold font weight for consistency across the character sheet
- Adds collapsing to class features
- Corrects the assignment of relative position for the origin feature div
2021-02-23 19:25:24 +00:00
Ian Merryweather b996696032 feature: Collapsing origin feature
- Added the capability to collapse the Origin Feature to save scroll time
- Added the capability to send the Origin Feature to the chat log in a neat and colour-coded format
2021-02-23 18:15:56 +00:00
Ian Merryweather ad623d6276 feature: Improved capture pokemon appearance
- removes the feature bonus configuration option as it was unnecessary and made the sheet worker bloated
- updated the styling of various capture pokemon skill sub-elements
- added more descriptive titles to the capture pokemon skill sub-elements
- updated the README
2021-02-18 13:06:11 +00:00
Ian Merryweather 698063ee9d fix: Resolves minor display issue with open move fields
- Updates Changelog with previous addition
- Corrects the move field open/close button display value based on the field state
2021-02-11 18:05:49 +00:00
Ian Merryweather 884a4103c6 fix: Restores css rules for the multi hit roll template 2021-02-06 21:40:08 +00:00
Ian Merryweather 16e295e1fb chore: Updated the readme
- shunted the To-Do list to the top of the readme, so that it is easier for readers to find
- added adding skills to the to-do list
- updated changelog for this change
2021-02-05 17:47:40 +00:00
Ian Merryweather 57ad24a3a3 fix: Resolves issues with hiding empty damage fields
- ensures single-hit roll template doesn't show the damage row when total damage is less than or equal to 0
- ensures dual- and multi-hit roll templates - used for scatter moves - always show damage to ensure the roll template table isn't left incomplete
- adds fix to readme, and corrects dates therein
2021-01-23 13:34:43 +00:00
Ian Merryweather 4b5ffb59ef feature: Adds the capability of changing which ability modifier is added to skill totals
- Adds a new option to the configuration page which allows swapping the associated ability for each skill - _and the capture pokémon meta-skill_
- Updates CSS to allow for attribute-based colouring of each skill field
- Updates sheet workers to allow for double-dipping into getting attributes, and slightly refactors them to be more generic! Woo!
2021-01-08 03:13:38 +00:00
Ian Merryweather adf6cc9e5f feature: Adds tooltip information to the inline roller buttons
- Updates README with relevant changes from this branch
2021-01-07 19:37:28 +00:00
Ian Merryweather 1aae253c31 feature: Updates the README 2020-12-12 11:25:32 +00:00
Ian Merryweather 0a7e42cd8c feature: Added initiative tie breaker attribute 2020-12-07 12:30:22 +00:00
Ian Merryweather 349e90799e chore: Ran code through linter
- Installed the Prettifier linter to ensure the code is presented in a "standard" format
  - Helps to catch any errors missed _(such as missing semi-colons, of which there were a few!)_
- Added task to the to-do concerning the cascading sheet workers
2020-12-07 00:49:01 +00:00
Ian Merryweather 88f56bf531 feature: Added generic stat checks
- Changes the readonly input field for stat modifiers to be buttons with attribute-backed span titles to allow for making them rollable
- Added dice rolls for generic stat checks to the new dice modifier buttons
  - This means Pokémon character sheets don't have checks for DEF and SPDEF, as those mods aren't used for Pokémon; this may change in the future
2020-12-07 00:44:24 +00:00
Ian Merryweather dbb1b30eed feature: Added a pokemon capture skill
- Adds a new skill to the end of the skill list - placement intentionally breaking alphabetical order for fast location, and because the format doesn't match the rest of the table
2020-12-07 00:41:19 +00:00
Ian Merryweather a851e9c3ab feature: Refactors skill talents
- Changes the header of the talent checkboxes to Talent to make it easier for users to identify their purpose
- Sets value of each checkbox to 2 to eliminate the need to select talent in a particular order
- Updates the skill total sheet workers to add the extra +1 if both checkboxes are on
- Updates the skill total sheet workers to encapsulate some repeated code into a function to make the scripts section neater
- Updates skill total *(and other)* sheet workers to react to attribute mods, which ensures attribute changes have time to propagate to the mod before being used
- Updates the README

feature: Calculates stat modifiers using temporary bonuses

- Adds labelling to the sheet workers
- Removes superfluous comments
2020-11-29 15:21:42 +00:00
Adam Talbot a053ce801c PTA3 - Bluff and Deception use SPDMODEF 2020-11-25 23:39:19 -05:00
Ian Merryweather 02961f75a1 feature: Adds better instructions
- Fleshes out the instructions shown in the game settings page
- Updates the preview image
- Updates the readme
2020-11-08 10:54:23 +00:00