Commit Graph
109 Commits
Author SHA1 Message Date
Peter Bjerg Lidegaard 8985c10420 Added datalist and logic for temporary psionic modifiers. 2023-03-08 08:16:18 +01:00
Peter Bjerg Lidegaard e8d3bb9f3e Added calculation of the psionic ability score fields 2023-03-07 16:59:21 +01:00
Peter Bjerg Lidegaard 2962c35052 Updated the design af potions and dusts to match that of scrolls 2023-03-05 11:11:19 +01:00
Peter Bjerg Lidegaard 24f3402e0a Swapped functionality to make it easier for end users to make a roll secret. 2023-03-04 14:20:58 +01:00
Peter Bjerg Lidegaard 3ca431d612 removed trim 2023-02-28 07:21:50 +01:00
Peter Bjerg Lidegaard f5e0eaf1fc Trimmed roll expression 2023-02-28 07:18:58 +01:00
Peter Bjerg Lidegaard fbac0c0b1a Fixed bug where calculation might not read from the field 2023-02-28 07:14:39 +01:00
Peter Bjerg Lidegaard 9ef1c83cf9 Renamed variable to not clash with const function 2023-02-27 20:42:32 +01:00
Peter Bjerg Lidegaard ae4bfce919 Made calculate formula a little more generic so that it can also handle cases where we just need to check the class level. This could be split differently, but it is good enough as it is 2023-02-27 20:10:42 +01:00
Peter Bjerg Lidegaard 5ea0f62a53 - Added class check to rogue skill points
- Simplified the class check code to just return the roll expression and not return a async function
2023-02-26 20:35:25 +01:00
Peter Bjerg Lidegaard aea1b13ac6 Removed "the" 2023-02-19 14:47:56 +01:00
Peter Bjerg Lidegaard 72f110dce7 final clean up 2023-02-18 15:15:43 +01:00
Peter Bjerg Lidegaard a49c28a7bd capitalized some const in the javascript 2023-02-17 14:01:02 +01:00
Peter Bjerg Lidegaard 5dc88696bf Simplified the nonprof handling and removed the migration as it is so insignificant that it does not matter 2023-02-17 13:40:09 +01:00
Peter Bjerg Lidegaard 7624068b46 - Added logic for bonus spell points based on wisdom to priests
- Updated change log
2023-02-17 09:07:35 +01:00
Peter Bjerg Lidegaard 28fde39607 - Updated change log
- Added checkbox and logic for automatically updating spell points from intelligence
2023-02-16 19:29:45 +01:00
Peter Bjerg Lidegaard 88559404f9 Only add bonus spells if you are actually a priest 2023-02-16 13:20:34 +01:00
Peter Bjerg Lidegaard 48a388d2e0 - Fold now only targets specific children marked with the "sheet-fold" class
- Fold button extracted to its own file
2023-02-16 09:08:04 +01:00
Peter Bjerg Lidegaard 4a4fcd1456 - Added support for autofill winds
- Now reads bonus spells from string instead of relying on two strings matching
2023-02-15 23:46:15 +01:00
Peter Bjerg Lidegaard 2e506c5989 Remove logic, html, css for hiding the default add spell row button 2023-02-15 20:51:51 +01:00
Peter Bjerg Lidegaard 11fb0f23a0 Updated change log 2023-02-15 14:24:05 +01:00
Peter Bjerg Lidegaard fe1fe0a8eb Initial work for show hiding slots, points and arcs 2023-02-15 11:23:06 +01:00
Peter Bjerg Lidegaard 82350feab5 Added the new pug logic to the old files. Still need to handle the failure check and interpolated strings 2023-02-09 13:12:38 +01:00
Peter Bjerg Lidegaard ae9cff87f0 Tweaked design for single line spells 2023-02-09 10:10:49 +01:00
Peter Bjerg Lidegaard 3c7618bcaf Removed level function as a parameter, and just references it directly instead 2023-01-23 08:31:42 +01:00
Peter Bjerg Lidegaard b62d3c3541 - Added actual fields to slim spells
- Added button logic for show hide
- Testing design for layout of fields
2023-01-22 22:03:53 +01:00
Peter Bjerg Lidegaard 5b031185f3 Fixed magic weapons not updating if the bonus is in the middle of the name 2023-01-09 22:00:28 +01:00
Peter Bjerg Lidegaard 4406bfd775 - Removed scatter diagram image 9 and 10 and used 8 instead as it is all the same
- Simplified the helper functions for grenade calculated as rollTotal can be used and is easier to read than negated rollBetween
- Added crit on distance roll of 1, and fumble max
2022-12-20 20:43:16 +01:00
Peter Bjerg Lidegaard b45f546ae5 - Added generic failure text to psionic powers
- Carries fail and success over to the check buttons for psionic powers
2022-12-07 21:52:30 +01:00
Peter Bjerg Lidegaard d39d56d182 Added button for rolling secretly as a DM for psionic powers 2022-12-07 21:39:05 +01:00
Peter Bjerg Lidegaard f4f63d4d80 Added success / failure descriptions for sub ability scores 2022-12-07 20:32:03 +01:00
Peter Bjerg Lidegaard 3749eb78e8 - Removed duplicate spells from firefox spell list as it cannot show context
- Added a bit of styling to slim down scroll fields
- Added scroll name to popup boxes
2022-12-07 19:41:03 +01:00
Peter Bjerg Lidegaard cd95fa006d - Changed casting time to reading time when handling scrolls
- Added title to scroll spell failure field
- Renamed monster THAC0 button to use a capitalized H
- Combined DisplayLevel function to one function used for both wizard and priest
2022-12-06 08:31:26 +01:00
Peter Bjerg Lidegaard d214318467 Updated strength regex to be a single regex 2022-12-01 07:38:53 +01:00
Peter Bjerg Lidegaard 4929a1daf6 - Added styling for checks for spells
- Updated CSS to group check styling together
- Added spell support for scrolls
2022-12-01 07:16:48 +01:00
Peter Bjerg Lidegaard 43a23fe295 Added priest spells to datalist for for firefox 2022-11-30 21:06:23 +01:00
Peter Bjerg Lidegaard 0c32dfba71 First draft at logic for doing spell scrolls 2022-11-30 11:07:15 +01:00
Peter Bjerg Lidegaard bb3b26e1e7 Added template builder to open doors logic 2022-11-29 15:11:51 +01:00
Peter Bjerg Lidegaard 9e95e1807a Added template builder to po crits 2022-11-29 15:05:58 +01:00
Peter Bjerg Lidegaard f91526a513 Added template builder to psionic macros 2022-11-29 14:37:42 +01:00
Peter Bjerg Lidegaard df72b9c233 Added roll template builder 2022-11-29 13:51:35 +01:00
Peter Bjerg Lidegaard 983b08aeb0 Corrected a lot of psionic powers 2022-10-19 07:22:29 +02:00
Peter Bjerg Lidegaard 68ad7eb2c2 Fixed a few more powers and added "rounds" to prep time 2022-09-18 20:38:57 +02:00
Peter Bjerg Lidegaard bce237e06a - Reverted back the logic for adding the context modifiers. Now it is visible in the macro again, and the input fields have clean values.
- Added regex to fetch. the needed parts to form a check roll. If nothing is found, fallback is used instead
2022-09-16 10:41:09 +02:00
Peter Bjerg Lidegaard 50161c60b5 Made the power check button use the same logic as the macro button 2022-09-14 22:13:54 +02:00
Peter Bjerg Lidegaard 7b1f5088c0 - Added logic for enhanced power scores
- Added roll template layout for enhanced power scores
- Added insert / remove logic for enhanced power scores
2022-09-08 09:06:12 +02:00
Peter Bjerg Lidegaard e387ffaac2 Fixed the replacement logic for psionic armor penalty 2022-09-07 10:50:59 +02:00
Peter Bjerg Lidegaard 14acafbe2b Added metal armor penalty. Also removed it form the rolled macro in case it is empty 2022-09-06 10:11:41 +02:00
Peter Bjerg Lidegaard db4ee78094 Added logic for psionic proficiencies autofill and counting of slots 2022-09-05 12:46:22 +02:00
Peter Bjerg Lidegaard 9e3712acd8 Updated the psionic proficiencies to use the same design as the proficiency page 2022-09-04 20:47:57 +02:00