Commit Graph
32 Commits
Author SHA1 Message Date
Peter Bjerg Lidegaard 4554253dff Fixed the final parser error 2021-07-15 17:31:41 +02:00
Peter Bjerg Lidegaard d09c9c6ceb Removed null coalescing from the sheetworkers to allow APIs to work 2021-07-15 17:19:40 +02:00
Peter Bjerg Lidegaard d58ab14946 - Added early returns for removing a field that is essentially 0 (0, -0, "0", "-0", "", undefined, null)
- Added early returns for overwriting a field that is essentially 0 (0, -0, "0", "-0", "", undefined, null) with another value that is also essentially 0
2021-06-20 13:24:36 +02:00
Peter Bjerg Lidegaard c747ed2d87 - Ensured that error message field is non interactable and read only
- Greatly optimized the sheet workers, by checking if a removed value is 0, and therefore no calculation is needed
2021-06-19 01:07:12 +02:00
Peter Bjerg Lidegaard 988c09026d Added reset button for powers 2021-06-18 22:16:12 +02:00
Peter Bjerg Lidegaard 5ed1985e2d - Lowercased weapon lookup to make it case insensitive.
- Added the correct case name for weapons for completionist sake
2021-06-18 21:35:00 +02:00
Peter Bjerg Lidegaard c9c330fd87 - Changed @{wizard-level} to @{level-wizard} to fix spell syntax errors in wizard spells: Flame arrow, Gust of wind, Illusionary script, Melf's minute meteors, Tongues
- Changed @{priest-level} to @{level-priest} to fix spell syntax errors in priest spells: Animate dead, Hold Animal, Prayer, Commune
- Improved reading the bonus value of weapons
- Added spell slots reset button for Wizard and priest
2021-06-18 10:48:10 +02:00
Peter Bjerg Lidegaard 6838d00616 - Cleaned up Melf's acid arrow
- Updated change log
2021-06-08 22:30:11 +02:00
Peter Bjerg Lidegaard 5ea722bade Added initial rest buttons to the sheet 2021-06-06 11:48:08 +02:00
Peter Bjerg Lidegaard 500c013976 - Generalized parameters for combine
- Added button for all priest spell levels to add spells to the sheet
- Flip the if cases on some sheetworkers
2021-06-04 19:34:21 +02:00
Peter Bjerg Lidegaard 055330f60c Initial sphere work for priest spells 2021-06-03 16:18:55 +02:00
Peter Bjerg Lidegaard 986344f0e4 Removed logging 2021-04-19 10:22:25 +02:00
Peter Bjerg Lidegaard 429540348c - Added Sheetworker logic for handling simple magical weapons 2021-04-19 10:19:42 +02:00
Peter Bjerg Lidegaard e4478c6c61 - Added rogue skills armor modifier auto fill
- Updated changelog
- Fixed a bad spell level scaling
- lowercased weapons table
2021-03-28 14:07:44 +02:00
Peter Bjerg Lidegaard b7ca1b3664 - Added Races and Weapons datalists to followers
- Added weapons data auto fil
2021-03-22 09:10:05 +01:00
Peter Bjerg Lidegaard adecdb4e1a - Fixed sheet workers for melee and ranged weapons. Now correctly casts undefined to empty string
- Fixed melee weapons sheet worker. Now correctly sets weapon types
- Updated sanitizeFiles.ps1 to only overwrite file if there is changes.
- Started works on priest spells leve 5
2021-03-15 09:13:47 +01:00
Peter Bjerg Mogensen d9b9d507d0 - Removed hidden spell-table field
- Added spell table to effects field in javascript
- Moved spell table to be part of the effect <td> element
- Returned sheetworker to old functionality
- Updated all wizard spells to use the new table format, except heat metal
- Finished going through all wizard level 4 spells
2021-02-13 23:42:30 +01:00
Peter Bjerg Mogensen 4126c7d902 - Added spell table field to wizard and priest spell templates
- Added generic table insert for roll template 2e spell
- Added styling for the table
- Converted Wizard level 1-3 tables into new table format
- Fixed a few spelling errors in wizard spells
2021-02-11 09:28:01 +01:00
Peter Bjerg Mogensen 5393d29a3f - Inserted weapons.js
- Changed styling for nonproficient weapon penalty
- Added default value 1 for attacks per round with melee and ranged weapons
- Added auto fill sheet worker for melee and ranged weapon hit and damage. Also added knockdown for players options. Also added if STR is appliable for ranged weapons
- Cleaned up weapons.js double colon for type property.
2021-02-07 21:09:59 +01:00
Peter Bjerg Mogensen 7cd6690cb9 - Restyled weapon penalty to be two different tables. Looks cleaner
- Added knockdown to all the weapons that could be found in the book
2021-02-07 19:24:37 +01:00
Peter Bjerg Mogensen 0bf6022ebe Added non nonweapon-proficiencies.js and auto fill in sheetWorkers.js 2021-02-07 10:58:09 +01:00
Peter Bjerg Mogensen 32c0a3fd62 Updated spell auto fill to use check name instead of dropdown select. No longer updates name. 2021-02-07 10:03:22 +01:00
Peter Bjerg Mogensen f725d4453b Removed old redundant checks. This makes the sheetworker only run once instead of 3 times 2021-02-02 14:22:31 +01:00
Peter Bjerg Mogensen 3938ecae4f Changed nonproficient pentalty and related weapons to be numbers only to avoid having to deal with strings
- Updated sheetworker to only update on player changes
- Removed unnecessary '?? 0' as it doesnt work as expected
2021-02-02 12:51:21 +01:00
Peter Bjerg Mogensen 73ccfbe8a5 Added Wizard level 3 spells. 2021-01-20 09:26:50 +01:00
Peter Bjerg Mogensen 01d71d5410 - Cleaned up Weapontype vs armortype. Now actually works!
- Removed 3x duplicate code
- Added sheet worker for handling nonweapon-prof penalty and familiarity penalty.
2021-01-17 18:06:32 +01:00
Peter Bjerg Mogensen 16838b4383 Exceptional strength now also matches on parenthesis aswell as square brackets 2020-12-30 19:04:57 +01:00
Peter Bjerg Mogensen 4fd0dad912 - Removed static fields and moved data to repeating fields. Bug with ghost rows still present on weapons and gear carried sections. Following sections has been updated
- Weapons
- weapons damage
- ranged weapons
- ammo damage
- magic resistance
- gear carried
- gear stored
2020-12-29 16:38:30 +01:00
Peter Bjerg Mogensen 461483641b - Set Image load to Https
- Removed static fields for Weapon prof, nonweapon prof and languages to allow macros to work when calling buttons
- Moved old static values to new repeating fields
2020-12-19 21:45:37 +01:00
Peter Bjerg Mogensen 0ac1ff76bc - Added version.js to handle updates between versions
- Removed static fields for weapon profs, nonweapon profs and languages
- Added function to move the values to repeating fields, and reset the static fields
2020-12-17 19:21:04 +01:00
Peter Bjerg Mogensen 338a58ae4b - Updated TheAaronSheet to version 2.5
- Fixed errors and missing elements in javascript files
- Added build file and raw file to automate inserts from javascript files into the final sheet
2020-12-13 19:35:41 +01:00
Peter Bjerg Mogensen 30ee3940c4 - Renamed javascript folder
- Added raw HTML for future automatic inserts
2020-12-13 16:46:46 +01:00