Commit graph

72 commits

Author SHA1 Message Date
Jacob Lucas
92bf020cdf General Cleanup
CSS
 - Removed unnecessary units on 0 values
 - Replaced invalid css values (such as line-height default) with valid equivalents
Templates
 - Added missing closing tags
 - Fixed incorrect closing tags
 - Removed unnecessary closing tags
2021-06-04 22:20:48 +01:00
Jacob Lucas
b0c928c691 Patched issue that prevented the old actor sheet from opening 2021-06-04 22:20:48 +01:00
Jacob Lucas
c454c035a3 Fixed new character sheet's send language to chat function
- Cleaned up unused variables
 - Updated _id get to 0.8 standard
 - Patched fetching languages failing
 - Patched blind and gm chat option not doing anything while simultaneously calling a non existent function and dying
 - Patched self chat option still sending to everyone
2021-06-04 22:20:48 +01:00
Jacob Lucas
f839166082 Added changes from DND5e 1.3.3 2021-06-04 22:20:48 +01:00
Jacob Lucas
6295de9fd6 Cleaned up actor 2021-06-04 22:20:48 +01:00
Jacob Lucas
2a7e1c419e Updated to DND5e 1.3.2
Things unfinished:
 - Migration
 - The update adds new sections to the class sheet to allow some light customisation, this hasn't been included, but could be extended for the sake of dynamic classes with automatic class features and more
 - The French
 - The packs have not yet been updated, meaning due to the addition of a progression field to the class item, classes now don't set force or tech points
 - I updated the function calls in starships, but I didn't update it very thoroughly, it'll need checking
 - I only did a little testing
 - There has since been updates to DND5e that hasn't made it to release that patch bugs, those should be implemented
Things changed from base 5e:
 - Short rests and long rests were merged into one function, this needed some rewrites to account for force and tech points, and for printing the correct message
Extra Comments:
 - Unfinished code exists for automatic spell scrolls, this could be extended for single use force or tech powers
 - Weapon proficiencies probably need revising
 - Elven accuracy, halfling lucky, and reliable talent are present in the roll logic, this probably needs revising for sw5e
 - SW5e has a variant rule that permits force powers of any alignment to use either charisma or wisdom, that could be implemented
 - SW5e's version of gritty realism, [Longer Rests](https://sw5e.com/rules/variantRules/Longer%20Rests) differs from base dnd, this could be implemented
 - Extra ideas I've had while looking through the code can be found in Todos next to the ideas relevant context
2021-06-04 22:20:48 +01:00
supervj
0607152f51 Revert back to hp instead of hull/shld for compatibility
Left the dice separated out since hit die are controlled by character level.
2021-05-05 01:37:44 -04:00
supervj
692538f0c2 Test for the Prof
Here are my changes, not sure if it will help.
2021-04-29 16:56:30 -04:00
CK
90a45dab55
Merge branch 'Develop' into professorbunbury-sw5e 2021-04-20 23:41:51 -04:00
Professor Bunbury
14f4e06788 SotG Update #1.2
+ Adds Starship Features compendium
^ Adds major updates to Starship sheet and related item compendia
^ Adds Mechanist Technique to Archetypes compendium
2021-04-17 13:26:13 -04:00
supervj
fa7b03109f Add Skills to Starships
Added skills to the starship sheets and made them rollable.

Sorry about the direct commit to Develop, but I forgot to branch it off...
2021-04-13 23:01:03 -04:00
Professor Bunbury
f393670528 SotG Update #1.1 (Quick Fixes)
^ Updates entity.js and starship.js to fix drag-and-drop and NaN errors and prepare for Starship Features.
^ Updates en.json, config.js, sw5e.js, and template.json to prepare for Starship Features.
2021-04-07 14:10:56 -04:00
Professor Bunbury
c793949b37 SotG Update #1
+ Adds compendia for Deployments, Deployment Features, Starship Armor, Starship Equipment, Starship Weapons, and Ventures and associated artwork
+ Adds Starship actor sheet (very, very rough draft, somewhat unpredictable, not fully functional)
+ Adds function to Character sheet to collapse/expand Feature tab rows (major assist from Cyr)
+ Adds function to Character sheet to increment/decrement class levels directly from character sheet (another major assist from Cyr)
2021-04-06 16:03:48 -04:00
supervj
4d67bef903 Update default values of temp data
Update defaults to null from 0 to allow descriptor of fields to show

Noted by Bacalla:
8206774843

I followed suit from the HP model, need to test to make sure this doesn't break anything.  All the code appears to default to 0 if it is null.
2021-03-16 12:24:29 -04:00
supervj
7b71009fd7 Fix NPC power points
Ignore power point calculation for NPCs which are hardcoded in.
2021-02-18 10:14:06 -05:00
TJ
d716d514df Fix add buttons on powers sheet 2021-02-16 14:40:06 -06:00
supervj
7fc983b042 Update to help NPCs work better
This requires all the monsters to be updated with force powers, powerForce/TechLevels, and powercasting "classes"
2021-02-16 02:15:39 -05:00
TJ
58a4033bf1 Merge branch 'Develop-VJ' into cyr-power-point-ui 2021-02-15 14:01:39 -06:00
TJ
74414e2257 Fixes for NPC display 2021-02-15 14:01:08 -06:00
supervj
e73c04b9f5 Update entity.js
whoops again :)
2021-02-15 14:05:45 -05:00
supervj
a893212b22 Change to Fix migration power lockdown
I think this will migrate every value over to have 1000 casts, which will then get reset to the lower of the value or character max once the actor is loaded.  Essentially pushing a long rest for power casting limits upon migration.
2021-02-15 09:15:36 -05:00
TJ
55f084592c Smaller font size 2021-02-14 21:59:51 -06:00
TJ
b56e652192 Merge branch 'Develop-VJ' into cyr-power-point-ui 2021-02-11 16:01:45 -06:00
supervj
c82a4331a5 Calculate Powers Known
added ability to calculate how many force/tech powers are known
2021-02-11 10:29:35 -05:00
supervj
54d04f0642 Fix Long Rest to split force and tech powers
Updated  long rest functionality to handle the force tech split
2021-02-11 07:04:13 -05:00
TJ
1ce2e92ccd Fully split force and tech powers into their own sheets 2021-02-10 18:39:36 -06:00
supervj
fb73cdfc08 Split Force and Tech Power Limits
Split force and tech power limits.  Didn't test, may be broken.

Needs separate tab for force vs tech.  Still need to tally number of powers known
2021-02-10 15:41:02 -05:00
supervj
ad50d1549f Powercasting works based on school of power
Updated power items to automatically change mod used when set to powercasting
2021-02-09 23:47:32 -05:00
supervj
b5ecde7f0c Added short and long rest and Temp points
Updated Force and Tech Points on Short and Long Rests along with Temporary points.

Also added class powercasting to migration
2021-02-09 02:14:10 -05:00
supervj
932c96ba4a Update Actor Entity
minor bug fixes and add points and powers known
2021-02-02 23:46:11 -05:00
supervj
ac198745f1 Fix for Power DC's
beginning attempt at storing power DC's
2021-02-01 12:33:51 -05:00
supervj
e5df96b9b6 Power overhaul part 2
I think this will calculate the level limits for single and multiclassed characters in _computePowercastingProgression of module\actor\entity.js
2021-01-30 18:05:01 -05:00
supervj
6b239d5d6b Partial update to entity.js
pushing a partial code section for feedback so far
2021-01-27 01:35:50 -05:00
supervj
7f75ffc195 Core Update 1.2.3
Core update with 1.2.3 and Recent Dev changes integrated... I hope :)
2021-01-19 22:52:02 -05:00
supervj
184e916811 Reset 2021-01-19 21:47:38 -05:00
TJ
f42fae640b Fix for sheet losing scroll position 2021-01-19 16:34:47 -06:00
supervj
9c6bd3873e Update Core 1.2.2
Update core to 1.2.2.  Sheets are broken
2021-01-18 23:49:04 -05:00
TJ
f070d2725c Added new handling for resources/rolling 2021-01-18 16:13:32 -06:00
TJ
e4e755fd68 More fixes to allow further testing 2021-01-04 22:16:56 -06:00
TJ
a597964bc4 Enable display of character sheet 2021-01-04 17:56:28 -06:00
CK
db5c5f4810
Update npc.js
added ..base.js
2021-01-04 17:42:45 -05:00
CK
fb99bfeff6
Merge branch 'Develop' into Develop-VJ 2021-01-04 16:16:01 -05:00
supervj
e6bff40e1b Update Core to 1.2
Update Core to 1.2, pulled from dev 12/10/2020
2021-01-04 15:23:30 -05:00
Professor Bunbury
707a765906
Updates to newSheet character.js 2020-12-11 14:12:53 -05:00
CK
b383a5a382
Merge branch 'Develop' into professorbunbury-sw5e 2020-12-11 13:40:18 -05:00
Professor Bunbury
14e9b0c341 Updates to DAE, Archetypes, Backgrounds, Classes, Species, CSS/LESS, etc.
What the subject line said.
2020-12-11 13:23:21 -05:00
TJ
24f904d9ce Minor whitespace fix 2020-12-05 17:08:43 -06:00
TJ
aa38f26d2e Added section for fighting styles to new character sheet 2020-12-05 17:05:36 -06:00
Nathanael Phillips
601cbd1a69 fixed inventory and favorites dragging to macro bar 2020-12-02 07:18:08 -07:00
Nathanael Phillips
27a53a9361 completed NPC sheet 2020-11-30 09:06:27 -07:00