142 Commits
Author SHA1 Message Date
Ian Merryweather 33ceb52843 fix: Adds parameter to display generic stat checks
- Adds a skillCheckDisplay parameter to the generic stat checks
  - Ensures redesigned style displays the result of the stat check
2025-11-15 22:06:30 +00:00
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 5bcc97f3e2 chore: Adds collapsing sections for all areas of the sheet 2024-11-17 18:27:09 +00:00
Ian Merryweather c3178ad06d feat: Adds transitions for the collapsable sections 2024-11-17 18:27:09 +00:00
Ian Merryweather bcc99bfbe8 feat: Adds new inline skill roll template
- Adds a new roll template for skill rolls with a more streamlined design
- Adds a template toggle button to allow switching between new-style and old-style skill rolls
2024-11-17 18:24:55 +00:00
LukeMc b20d783150 Retrigger full upload 2024-06-03 13:15:14 -04:00
LukeMc 46edad2122 New line added to all html to trigger full reload of all sheets 2024-05-24 13:16:24 -04: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
Adam Talbot 2d58b1f33a Add images to repo, make notes appear 2023-02-22 21:19:21 -05:00
Adam Talbot 2222744a3c Make it look really cool when you transform 2023-02-18 23:27:43 -05:00
Adam Talbot 32dccaf234 Cleanup of form change section 2023-02-18 20:37:26 -05:00
Adam Talbot dc58a09ca1 Form changes with stats plus display 2023-02-18 19:02:03 -05:00
Adam Talbot ddf83c29fb Display type on main page 2023-02-18 16:13:35 -05:00
Adam Talbot 9fb917035e Change types when form change happens 2023-02-18 00:32:46 -05:00
Adam Talbot 04150ae21b New form options, new buttons to enable forms 2023-02-17 22:11:39 -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 ff67662a08 fix: Supplies default values and negates sheet worker
- Adds default values for `attr_attack_rolls` and `attr_quick_attack_rolls` to ensure they continue to work for players rolling moves without opening the sheet
- Reverts `quintuple-hit` name change from `multi-hit` and removes the sheet worker to migrate the change to prevent Roll20 import failing
- Updates `dectuple-hit` move roll to `ten-hit` to make the name a bit easier to understand
2023-02-14 11:44:41 +00:00
Ian Merryweather c2892e8cbe fix: Corrects bad coding
- Adds the dectuple roll template
- Correctly uses quick_attack_roll attributes
2023-02-10 21:37:57 +00:00
Ian Merryweather f9fc7d9a3a fix: Resolves extra dice thrown
- Resolves issue where every attack type throws out five sets of attack and damgae dice instead of only the number required
- Adds `attack_rolls` and `quick_attack_rolls` attributes to the repeating moves fieldset to house the accuracy and damage checks for normal rolls - asking for modifiers - and quick rolls - asking for no modifiers
- Updates the scatter type selection field values
- Adds support for updating sheets to use this new value
- Adds support for Population Bomb by adding an "Up to 10 Hits" option for the scatter type
2023-02-10 21:25:13 +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 af00cb53d0 chore: Small clean-up of unused code 2022-08-11 12:45:45 +01:00
Ian Merryweather 22435ee852 fix: Resolves mobile sheets incorrectly colouring select fields
- Ensures the colour desired for foreground fields is set in the CSS so that the mobile app default values are not used
2022-08-11 12:45:45 +01:00
Ian Merryweather dc5d632a42 feat: Adds color selection to the class and origin feature boxes
- Adds a select field to allow the user to choose the color of class and origin features individually
- Adds attributes and inputs to ensure this selection is preserved and can be referenced properly by CSS
- Updates the class and origin feature divs to use a more correct class name of `class-feature` instead of `pokemon-move`
2022-08-11 12:45:45 +01:00
Ian Merryweather 400791b936 feat: Refactors background image selection into variable system
- Changes the background image assignment to update a variable which holds the correct colour for the background image which is then used elsewhere
2022-08-11 12:45:45 +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 87fbb6d3a7 fix: Resolves issue with initiative roll 2022-05-24 14:47:04 +01:00
Ian Merryweather 0c789cbe33 feat: Adds a toggle button for rolling publicly or to the gm
- Adds a button with an attribute-backed-span along with some inputs to hold the attribute
- Adds a sheet worker to toggle the publicity values when the button is pressed
- Updates all roll buttons to utilise the `publicity_roll` attribute when sending rolls to chat
2022-05-24 10:18:06 +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 dea6914926 PTA3 - Remove extra log statement 2022-05-07 23:59:19 -04:00
Adam Talbot 34bad49723 PTA3 - VTTES support 2022-05-07 23:54:33 -04:00
Ian Merryweather a23d3a23d4 chore: Font corrections
- Restored bold weighting to the inline rolls but set them to the same size as the surrounding text
2022-04-10 18:51:44 +01:00
Ian Merryweather b302bf0be2 feat: Squashes some inline roll results
- Ensures inline roll results embedded within notes fields do not have any border or padding, so text around them is not covered by their border
- Adjusts inline roll results styling to ensure the text matches the rest of the notes fields
2022-04-10 14:38:55 +01:00
Adam Talbot 08515b0e88 New and improved version of dark mode 2022-03-27 19:12:47 -04:00
Adam Talbot 89e5be4274 Fix mistaken color changes 2022-03-24 00:48:19 -04:00