Commit Graph
182 Commits
Author SHA1 Message Date
TheLastScrub 29ef62608f V12 compatibility
Fixes #115
2024-06-04 07:49:15 -07:00
jalensailin 277d8ab702 sort skills by row or column (depending on user input) 2024-03-03 14:17:00 -05:00
jalensailin 441cf3bfaf Move default Typed Skill translation code to preCreateActor hook 2024-01-26 11:43:27 -05:00
jalensailin 55ef95aa5e slightly refactor how rolls get their info;
by splitting out repeated code into utility function;
2023-12-09 18:29:12 -05:00
jalensailin 6330fc1ec3 special training custom roll logic implemented 2023-12-09 18:29:12 -05:00
jalensailin 8210ba8ae7 fix vehicle display 2023-12-09 18:29:12 -05:00
jalensailin 046bfc8ede align skills and special trainings;
change actor sheet height
2023-12-09 18:29:12 -05:00
jalensailin 32125aa83e add functionality for rolls 2023-12-09 18:29:12 -05:00
jalensailin 16da26febb change skill to attribute 2023-12-09 18:29:12 -05:00
jalensailin 31894a844f improve display of Special Training attributes 2023-12-09 18:29:12 -05:00
jalensailin 9538e44570 dropdown for skills 2023-12-09 18:29:12 -05:00
jalensailin a6512e0fa1 add Edit Special Training logic 2023-12-09 18:29:12 -05:00
jalensailin 5bad511925 add Create Special Training logic 2023-12-09 18:29:12 -05:00
jalensailin 07ae7025e8 template for creating/editing special training 2023-12-09 18:29:12 -05:00
jalensailin 872afd9b23 handle deletion of special training 2023-12-09 18:29:12 -05:00
jalensailin 0aadf4f927 split out repeated html into hbs partial 2023-12-09 18:29:12 -05:00
jalensailin a941bda83f fix eslint error 2023-12-05 12:46:27 -05:00
TheLastScrub 74290dcd7f changed SAN to reflect breaking point being hit 2023-10-07 16:51:32 -07:00
TheLastScrub 6afabfc9cc trigger refresh on settings that require it 2023-10-07 16:34:39 -07:00
TheLastScrub 979dbf1df4 change damage roll label 2023-10-01 15:50:41 -07:00
TheLastScrub 4a34dac082 re-add right-click handler for rolls 2023-10-01 15:09:11 -07:00
jalensailin 87fb530035 Fix conditionals for private san rolls 2023-10-01 14:48:47 -04:00
jalensailin a892e30143 break out handlebars helpers into own file;
remove commented out hook;
2023-09-28 23:07:59 -04:00
jalensailin 3c0ea55af3 break macro logic into its own file 2023-09-28 23:07:59 -04:00
jalensailin 2754781efd manually fix most of remaining ESLint errors;
everything still works in my testing
2023-09-28 23:07:53 -04:00
jalensailin 5d95aeb98b fix autofixable ESLint errors and format js files 2023-09-28 22:54:24 -04:00
jalensailin ed9daba359 localize headers / add skills header to other sheets;
convert hide untrained skills checkbox into eye glyph;
2023-09-21 16:36:53 -04:00
jalensailin a8257069e7 simplify damage and sanity damage 2023-09-21 15:34:19 -04:00
jalensailin 76e86f3fff display %modifier in rolls if applicable 2023-09-21 12:27:48 -04:00
jalensailin ee84cbd0fc restyle rolls for consistency 2023-09-20 18:32:58 -04:00
jalensailin cc00d8c71a all unnatural rolls work 2023-09-20 16:28:41 -04:00
jalensailin eb2b60c16f fix macro rolling 2023-09-20 13:29:53 -04:00
jalensailin 504b9d609c take into account internal weapon mod;
add some comments
2023-09-20 12:38:31 -04:00
jalensailin 0422f8d587 sanity damage rolls now work 2023-09-20 12:31:05 -04:00
jalensailin 0448e4a19b damage dialog now works 2023-09-20 00:32:10 -04:00
jalensailin 27673dd326 stop converting the roll formula to upper case;
fix inhuman modified stat rolls;
fix typedSkill localized key;
2023-09-20 00:04:31 -04:00
jalensailin b1fb4f0139 regular damage rolls now work (no dialog);
create a parent class DGRolls that abstracts some functionality;
all custom roll classes should extend that class
2023-09-19 23:35:50 -04:00
jalensailin 1ffb29eed8 break out repeated code into its own function 2023-09-19 23:35:50 -04:00
jalensailin ba129ad6c2 Re-enable roll mode override in dialog 2023-09-19 23:35:50 -04:00
jalensailin 0679373ddc luck rolls now function;
localize test name in modify % dialog
2023-09-19 23:35:50 -04:00
jalensailin b816c2363f lethality rolls work (new class);
onRoll logic improved and simplified;
reorganize code in roll.js;
2023-09-19 23:35:16 -04:00
jalensailin 2b8c6abeea custom roll parameters are now passed as properties of the options parameter object;
this seems to be how other systems do it
2023-09-19 16:25:02 -04:00
jalensailin 939cf54a1b weapon rolls work;
getting an error that may require a slight refactor
2023-09-19 13:33:04 -04:00
jalensailin 23b148263c move functions to methods of DGPercentileRoll cls;
remove unused functions and imports;
sanity rolls should work now
2023-09-18 19:28:38 -04:00
jalensailin 94287fef38 sanity tests work;
remove unused function
2023-09-18 18:15:34 -04:00
jalensailin 835866233b refactor % roll into separate class;
skills and stats function, other rolls need work
2023-09-18 18:04:10 -04:00
jalensailin 350c212cfa stat and skill rolls are working under refactor;
fix some ESLint issues (mostly non declared globals)
2023-09-18 13:12:41 -04:00
jalensailin 952c9f09d0 begin refactoring 2023-09-18 13:12:21 -04:00
TheLastScrub 13fcb24a57 added modifier message back to skills 2023-09-18 09:31:27 -07:00
TheLastScrub ea9c84d787 fix broken rolls 2023-09-17 21:30:43 -07:00