Commit Graph
192 Commits
Author SHA1 Message Date
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
jalensailin e11ef6dee8 use Foundry's toMessage function over our own custom method 2024-06-08 00:20:45 -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 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