Commit Graph
70 Commits
Author SHA1 Message Date
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
Ian Merryweather af1e32002a chore: Reapplied formatter
- Set Prettier line length limit to a more sensible 140 to prevent the horrendous formatting that caused so many elements to be broken into multiple lines
2020-12-10 17:19:35 +00:00
Ian Merryweather fefba39f2f feature: Restored the dice preview icon for stat rollers
- Restored the content to the before tag for the stat roller buttons to make it more obvious that there's a button there
- Moved the roll-type button css rules around to put them in alphabetical order for better readability
2020-12-07 12:32:37 +00:00
Ian Merryweather b0c29f9fa2 feature: Added a separator between skills and capture pokemon 2020-12-07 12:30:06 +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
Ian Merryweather a24d25c829 feature: Moves skill roller button to the skill name
- Combines the roll button with the name label to make it into a single control
- Adds styling to the button to make it display the same colour as the relevant stat field when hovered over
- Prepares the stat display box for use as the skill total
- Adds new `skillname_total` attributes
2020-11-08 08:26:54 +00:00
Miguel Peres b2b471ad01 Merge pull request #7609 from mrianmerry/pta/critical-hit-adjustments
[PokemonTabletopAdventures_v3] Improves the Move roll template
2020-11-02 17:13:13 -03:00