-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
V10 update #77
Merged
mkscho63
merged 4 commits into
mkscho63:v10develop-merge
from
IHaveThatPower:v10-update
Oct 11, 2022
Merged
V10 update #77
mkscho63
merged 4 commits into
mkscho63:v10develop-merge
from
IHaveThatPower:v10-update
Oct 11, 2022
Conversation
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
mkscho63
approved these changes
Oct 11, 2022
mkscho63
added a commit
that referenced
this pull request
Oct 12, 2022
* 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>
mkscho63
added a commit
that referenced
this pull request
Apr 19, 2023
* Merging in for 1.1.7 release (#78) * 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> * v1.1.8 * Pushing 1.1.8 package * v1.1.9 * renaming package file * Update fr.json After many games it's more accurate translation :) * Update package.json Version update will be done by release automation --------- Co-authored-by: Mike Schoen <mkscho63@gmail.com> 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>
mkscho63
added a commit
that referenced
this pull request
Apr 19, 2023
* Merging in for 1.1.7 release (#78) * 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> * v1.1.8 * Pushing 1.1.8 package * v1.1.9 * renaming package file * Add check for tag in actor name to allow attributes less than 7 Resolves #80 --------- Co-authored-by: Mike Schoen <mkscho63@gmail.com> 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>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Cherry-picked over changes from my own fork. Should deal with most/all of the v10 deprecation warnings.