-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Refactor and update to weapon rolling system (#69) * adding nationalization strings and changes to support new weapon chat message * Changed sheet scripts to treat characterweapons and starshipweapons the same as regular items and call on actor.js rollGenericItem. Changed Actor.js to correctly use characterweapon items with roll.js performWeaponRoll(). Heavily overhauled roll.js. Created new helper functions to simplify repeated code, including generating strings from challenge dice, which is now down in multiple places. performWeaponRoll() now generates a nice weapon block for chat using the genericItemTemplate, and also generates the damage roll to append to it. I think it looks quite slick. The genericItemTemplate() now takes an itemId string and appends it to an html element as an attribute named data-item-id to enable functions from the Maestro module. i18n strings had to be changed for this new weapon roll display, this was done in a previous commmit. Damage for weapon rolls is computed directly at roll time from the weapon's base damage stat and the owner's security stat rather than scraping the number off the character sheet HTML. All rolls are now asynchronous, to match the upcoming changes in FoundryVTT. This will prevent depreciation warnings in the console, and breaking change headaches when the new version of FVTT comes out. All files have been fixed to pass eslint. This commit addresses outstanding bug/issues #36, #67, and #68 Co-authored-by: Mike Schoen <mkscho63@gmail.com> * V10 update (#77) * Dealing with all deprecation warnings, and abstracting the default image. * More v10 corrections. * Changed 'name' to 'id' in the system json * Removed unnecessary leading slash from defaultImage * Replace sidebar LCARS deco with hard gradient (#63) * Replace sidebar LCARS deco with hard gradient * Use overlayed gradients to fix background * Fixing issue with build and tracker swapped to hiding at the bottom * Fixing more v10 compatibility issues * pt_BR Translation for this module (#76) * Patch fr.json (#73) * Update fr.json Hello, it's just for a French translation or spelling * Update fr.json * v1.1.7 * fixing a couple minor issues before releasing 1.1.7 Co-authored-by: Ada <hiddenkrypt@gmail.com> Co-authored-by: IHaveThatPower <mcc@mcc3d.com> Co-authored-by: Sophia Pearson <codergal89@gmail.com> Co-authored-by: André S Nascimento <45982225+andre-s-nascimento@users.noreply.github.com> Co-authored-by: LaPatte <bearsurfeur@gmail.com>
- Loading branch information
1 parent
263084f
commit 1f73a28
Showing
46 changed files
with
2,728 additions
and
1,620 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,5 +26,5 @@ | |
"prettier": "^2.2.1", | ||
"yargs": "^16.2.0" | ||
}, | ||
"version": "1.1.6" | ||
"version": "1.1.7" | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.