Commit Graph
79 Commits
Author SHA1 Message Date
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 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 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
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
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 04150ae21b New form options, new buttons to enable forms 2023-02-17 22:11:39 -05: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 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 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 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
Adam Talbot c73d06695d Use real image url 2022-03-18 19:19:36 -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
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 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 9ab9cca46a fix: Small css fix for ball section
- improves appearance at the standard width of character sheets
- ensures transparency is correctly set for text background colours
2021-02-22 23:00:39 +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 a83531d282 feature: Adds capture roll modifiers
- refactors the capture pokemon skill section to allow for more information and more extensive modifiers
- adds two new options to the configuration page to further modify the capture pokemon skill
2021-02-18 00:19:26 +00:00
Ian Merryweather 11aa851f05 feature: Adds typeless as a type option
- Adds an option for type that is intended to represent the many type-less artefacts in-game
- Updates the default type selection for new characters to be typeless
2021-02-10 20:03:18 +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 9770ade24a feature: Adds support for triple hit scatter moves
- Adds Triple Hit to the scatter type options
- Adds a roll template for Triple Hit moves
- Adds CSS to the new roll template
2021-02-05 16:30:47 +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 fb15f6b9e6 feature: Added support for scatter-type moves
- Adds a move configuration option for Scatter typing
- Adds new roll templates that support the additional attacks that scatter moves come with
2021-01-07 18:31:25 +00:00
Ian Merryweather 8c9f88ad08 feature: Adds quick roll options to moves
- Adds an extra inline move roller to the top segment of both move display types to allow for quickly rolling a move without configuring it with effectiveness and temporary modifiers
2021-01-07 03:30:11 +00:00
Ian Merryweather 8eb34d130f feature: Streamlines combat moves
- Makes the pokemon-move repeating section fields collapsible to hide the clutter of the roll customisation options
  - Adds an inline roll command for the move to make using it easier
2021-01-07 00:59:13 +00:00
Ian Merryweather c3fc6aab33 feature: Adds attribute-revealing titles to each relevant element
- Adds a title to allow hover-inspection of attribute names
- Alphabetises element attributes for a consistent order
- Increased the line length for Prettier to 160 because it was annoying me again, lol (sorry)
- Capitalises the hybrid character's nature field
- Renamed the nature select drop-down attribute as there was a clash with the nature bonus attribute
  - Added a sheet worker to migrate this change over
2020-12-12 15:17:33 +00:00
Ian Merryweather 1c57b400fa feature: Adds pages
- Adds Character and Configuration buttons, which change the "page" of the character sheet to the relevant information
- Indented all of the previous character sheet code that isn't needed for the configuration page, so sorry about that diff
- Adds a new "type-background" color which is the normal color for that type adjusted up the same way the shaded color is adjusted down, and given a 50% alpha channel
- Added a few configuration items to the configuration page
2020-12-11 23:06:49 +00:00
Ian Merryweather 9c2ee28ab0 feature: Refactored character type to use dropdown
- Uses a select and paired hidden input sharing attribute name in preparation for moving the selector to a configuration tab
- Adds a sheet worker to update old character sheets to maintain the same type and style colouring
2020-12-11 17:29:18 +00:00
Ian Merryweather bf43ae7956 feature: Refactored move color setting
- Utilises a single hidden input sharing an attribute and default value with the move type selection dropdown
2020-12-10 17:34:30 +00:00
Ian Merryweather f2394ddade feature: Refactored sheet color setting
- Utilises a single hidden input sharing an attribute and default value with the first type selection dropdown
2020-12-10 17:33:57 +00:00