Commit Graph
50 Commits
Author SHA1 Message Date
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
Ian Merryweather 28f4165d04 feature: Adds title properties for tooltip assistance
* Adds fields to the spans containing the Critical Threshold and the first Effect Threshold and Effect Drop-Down fields in each move
* Attaches a title to these new tooltip fields
* Styles fields appropriately to look like a tooltip
2020-11-01 13:50:22 +00:00
Ian Merryweather 658a980394 fix: Accuracy checks targeted defense
* Removes undesired margins
* Reduces font size for clarity
2020-10-28 23:12:07 +00:00
Ian Merryweather 45db332de7 feature: Accuracy roll total
* Clarifies intent of the total damage field
* Adds field for indicating the accuracy roll in the same manner as the damage roll field
* Changes display for total damage field to show the base damage roll
* Corrects previous misnamed attribute in total damage sheet worker
2020-10-28 22:58:03 +00:00
Ian Merryweather ee09df7110 feature: Adds effect handling to moves
* Adds options for setting thresholds for achieving additional effects such as status afflictions or greater critical hit ranges to the move information header
* Adds the display of additional effect success to the move roll template
* Configures the move roll template to take into account the different critical hit format when moves have a specific critical hit range
* Configures the move roll template to hide the damage field if the move would deal zero damage, saving real estate in the chat log
* Updates the move roll template verbiage to better resemble the pokemon video games
2020-10-28 17:58:37 +00:00
Ian Merryweather da471fa608 feature: Adds total damage bonus field
* Adds new readonly field - populated with a sheet worker - to the move section
* Re-arranges the second info header of moves so that critical threshold is next to accuracy modifier, and the damage bonus fields are together
* Updates the Readme
* Updates the previews... again.
2020-10-25 22:10:12 +00:00
Ian Merryweather d04201c496 feature: Colours checkboxes
* uses the `mix-blend-mode` CSS rule to colour the checkboxes similar to the background - incompatible with Safari and IE, so sorry to the peeps who use that.
* Updates the character sheet preview image
* Adds some helpful information to the instructions.
* Adds my ID and name to the authors
2020-10-25 00:09:36 +01:00
Ian Merryweather 030966979b feature: Colorisation of non-user-entry fields
* Labels and placeholder text has been made to match the colour of the character sheet or move field
* User-entered text will be a dark grey such that it pops out of the page to highlight that this is in fact not placeholdered text
* Makes the skill labels bold
2020-10-24 17:52:06 +01:00
Ian Merryweather 34cc8de345 fix: Makes stat and mod labels less squashed 2020-10-24 14:01:35 +01:00
Ian Merryweather 7de722608a feature: Move roller button colors based on move type
* Wraps the darker move-related colors in variables
* Colors the move-roller button the shaded move-type color
* Renames the button class
2020-10-24 12:08:01 +01:00
Ian Merryweather 0b17e6dbc9 feature: Redesigns the attack roller button
* Utilises the funky dice fonts to draw a d20 on-screen for the dice object
* Adds a circular border and shadow to make it stand out as not just an art asset.
2020-10-23 18:26:17 +01:00
Ian Merryweather fdd8e64d9b feature: Adds skill-roll roll template
* Adds new roll template and utilises it for the skill rolls
* Updates CSS to use similar colours to the skill fields
* Resolves issue with label width sometimes not being consistent
* Renames move-roll roll template table from result to mvoe-template
2020-10-22 18:58:41 +01:00
Ian Merryweather daa966ae72 chore: Wraps stat colours in variables 2020-10-22 18:56:46 +01:00
Ian Merryweather 74e550ca25 chore: Standardise roll template naming conventions
* Commit, heh, to using hyphens instead of underscores
2020-10-22 02:15:32 +01:00
Ian Merryweather d5ce86f769 feature: Adds roll button to character sheet
* Adds buttton next to the additional notes text area for rolling a move using the new template
* Aligns margins for the move header info, and the notes text area and button
* Removes the old attack rollers
2020-10-22 01:40:10 +01:00
Ian Merryweather f5e9ff457d feature: Adds move_roll roll template
* Adds a roll template to be used for showing pokemon moves in the chat log in a prettier format than the raw dice rolls
2020-10-21 23:59:00 +01:00
Ian Merryweather 358c5da9c8 Renamed hidden element class
* Changed `color-setting` to `hidden-setting` as it's more descriptive of the role these elements take, and how they're styled
2020-10-21 23:45:00 +01:00
Ian Merryweather eff8e3c3c0 chore: Made colour variables
* Pulled the colours for pokemon types out into variables for easier re-use and maintenance
2020-10-21 23:43:40 +01:00
Adam Talbot be8fdb0220 PTA3 - Change Nature selection to a dropdown 2020-10-14 23:50:26 -04:00
Adam Talbot 6950efe316 PTA3 - New move layout, new automatic backgrounds 2020-10-03 22:07:53 -04:00
Adam Talbot 071736623c Pokemon Tabletop Adventures version 3 (#7394)
* Initial commit of Pokemon Tabletop Adventures version 3

* PTA3 - Reference the roll20 github directly for images

* PTA3 - Replace all visible uses of Pokemon so they have the accent
2020-09-21 12:59:48 -04:00