Commit Graph
40 Commits
Author SHA1 Message Date
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 a3f68c7970 fix: Resolves issues with the instructions markdown
- Changes Pokémon to Pokemon to prevent weird encoding changing the characters
2020-11-11 13:30:50 +00:00
Ian Merryweather f2994b67f3 feature: Use skill total in skill roll
- Replaces fetching the various skill total components with just using the calculated skill total for adding to the dice in skill rolls via the template
2020-11-09 12:29:36 +00: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
Ian Merryweather 4d5ac70c7f feature: Adds skill total sheet workers
- Adds sheet workers to calculate the total modifier for a skill based on stat, talents, and manually assigned bonuses
  - Workers run on sheet open, and when any of the relevant stats are changed
- Updated the readme to tick off one of our tasks
2020-11-08 08:31:55 +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 6b67ec02b3 chore: Updates To-Do list 2020-10-31 19:25:46 +00:00
Ian Merryweather 495b899702 chore: Allows 0 effect threshold 2020-10-31 18:51:58 +00:00
Ian Merryweather 652538965f fix: Deault move colouration
* Marks the checkbox relating to normal move-type selection checked by default
2020-10-29 21:18:14 +00:00
Ian Merryweather 285a745ac2 chore: Update readme 2020-10-29 00:21:14 +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 ae645a2219 Update README.md 2020-10-24 20:24:16 +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 e270d1b6b8 chore: Added change notes to README 2020-10-22 22:51:16 +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 55e4a40c54 Added move defenses attribute
* Uses a hidden text field and updates it when the move category is updated and the sheet is opened
* Corrects the `move_category` value for the _"Category"_ selection so that no modifier is selected with attacks
2020-10-21 23:48:53 +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 7cfac5affa PTA3 - Add README, improve usage tracking, more 2020-10-14 22:53:02 -04:00
Adam Talbot bd49f67e09 Merge remote-tracking branch 'upstream/master' into pta3-colors-and-moves 2020-10-03 22:26:16 -04:00
Adam Talbot 14e7d22dae PTA3 - Accidentally left in a test input 2020-10-03 22:20:57 -04:00
Adam Talbot 6950efe316 PTA3 - New move layout, new automatic backgrounds 2020-10-03 22:07:53 -04:00
Adam Talbot 75c396b953 PTA3 - Special Defense for Pokemon is missing a line break 2020-09-22 22:42:12 -04:00
Adam Talbot 42a77f0c6e PTA3 - Incorrect logo image was used, causing elements to be blocked 2020-09-22 22:04:32 -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