Commit Graph
140 Commits
Author SHA1 Message Date
TheLastScrub 21753ee142 added getting armor and attacks to stat parser 2024-07-13 15:11:13 -07:00
TheLastScrub e94bb7cdfd adjust/fix/disable some prettier warnings 2024-06-28 19:31:24 -07:00
TheLastScrub 352dae9708 remove alert and just do a console log when having a translation problem for luck 2024-06-27 14:51:59 -07:00
jalensailin 968968245c move eslint global variable ignores to eslint config file 2024-06-08 12:36:28 -04:00
jalensailin b72276fdf8 deleting special training works again 2024-06-08 02:27:20 -04:00
jalensailin f8f61d49e3 replace randomID with foundry.utils.randomID 2024-06-08 02:20:44 -04:00
jalensailin 5cb76539b8 fix data to system in several locations 2024-06-08 02:20:07 -04:00
jalensailin 6cd71b5a5f fix lethality toggle (data. to system.) 2024-06-08 02:15:36 -04:00
jalensailin ed5d6aa895 remove final { async: true } in roll.evaluate 2024-06-08 02:10:16 -04:00
jalensailin eb54770356 skill improvement application works again;
simultaneously stops two deprecation warnings
2024-06-08 02:09:07 -04:00
jalensailin 2fde78f278 replace duplicate with foundry.utils.duplicate 2024-06-08 02:08:26 -04:00
jalensailin a889943efc replace mergeObject with foundry.utils.mergeObject 2024-06-08 01:54:17 -04:00
jalensailin 9e6ef3919f replace deprecated {{#select}} helper with createSelectInput method 2024-06-08 01:46:38 -04:00
jalensailin 3bf67b6efc move from DG.ItemTypes to Foundry-compatible TYPES.Item for localization 2024-06-08 01:23:04 -04:00
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 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 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 4a34dac082 re-add right-click handler for rolls 2023-10-01 15:09:11 -07: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 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 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 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